com.badlogic.gdx.backends.iosrobovm.objectal.ALSource Maven / Gradle / Ivy
/*DO NOT EDIT THIS FILE - it is machine generated*/
package com.badlogic.gdx.backends.iosrobovm.objectal;
import org.robovm.apple.foundation.NSObject;
import org.robovm.objc.ObjCRuntime;
import org.robovm.objc.annotation.Method;
import org.robovm.objc.annotation.NativeClass;
import org.robovm.objc.annotation.Property;
import org.robovm.rt.bro.annotation.Library;
/** DO NOT EDIT THIS FILE - it is machine generated
* @author Niklas Therning */
@Library(Library.INTERNAL)
@NativeClass
public class ALSource extends NSObject {
static {
ObjCRuntime.bind(ALSource.class);
}
@Property(selector = "sourceId")
public native int getSourceId ();
@Property(selector = "state")
public native int getState ();
@Method(selector = "stop")
public native void stop ();
@Property(selector = "paused")
public native boolean isPaused ();
@Property(selector = "setPaused:")
public native void setPaused (boolean paused);
@Method(selector = "setVolume:")
public native void setVolume (float volume);
@Method(selector = "setPitch:")
public native void setPitch (float pitch);
@Method(selector = "setPan:")
public native void setPan (float pan);
@Method(selector = "setLooping:")
public native void setLooping (boolean shouldLoop);
@Method(selector = "buffersProcessed")
public native int buffersProcessed ();
@Method(selector = "unqueueBuffer:")
public native boolean unqueueBuffer (ALBuffer buffer);
@Method(selector = "queueBuffer:")
public native boolean queueBuffer (ALBuffer buffer);
@Method(selector = "playing")
public native boolean playing ();
@Method(selector = "play")
public native int play ();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy