Class Oboe
java.lang.Object
com.exxothermic.audioeverywheresdk.business.utils.Oboe
Class that holds the logic for a circular buffer.
This class will act as a intermediate to a native layer interface
- Since:
- 11/12/14
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Method that will destroy the queue for the audio, freeing the necessary memory of the audio.static void
initializeOboeEngine
(boolean streamOnStereo) Method that will intialize the queue for the audio, allocating the necessary memory for the audio.static void
Method that will detect when the headset is disconnected.static void
Method that will stop the playback for the audio, freeing the necessary memory.
-
Constructor Details
-
Oboe
public Oboe()
-
-
Method Details
-
initializeOboeEngine
public static void initializeOboeEngine(boolean streamOnStereo) Method that will intialize the queue for the audio, allocating the necessary memory for the audio. Implementers must call this before use the queue to write or read the -
destroyQueue
public static void destroyQueue()Method that will destroy the queue for the audio, freeing the necessary memory of the audio. Implementers must call this before use the queue to write or read the -
stopPlaybackFromCurrentQueue
public static void stopPlaybackFromCurrentQueue()Method that will stop the playback for the audio, freeing the necessary memory. Implementers must call this before use the queue to write or read the -
setHeadsetDisconnected
public static void setHeadsetDisconnected()Method that will detect when the headset is disconnected.
-