openshot-audio
0.1.5
|
Public Attributes | |
int | minBufferSizeOut |
int | minBufferSizeIn |
Additional Inherited Members | |
![]() | |
typedef void * | ThreadID |
![]() | |
static bool | setCurrentThreadPriority (int priority) |
static void JUCE_CALLTYPE | setCurrentThreadAffinityMask (uint32 affinityMask) |
static void JUCE_CALLTYPE | sleep (int milliseconds) |
static void JUCE_CALLTYPE | yield () |
static ThreadID JUCE_CALLTYPE | getCurrentThreadId () |
static Thread *JUCE_CALLTYPE | getCurrentThread () |
static void JUCE_CALLTYPE | setCurrentThreadName (const String &newThreadName) |
![]() | |
AudioIODevice (const String &deviceName, const String &typeName) | |
![]() | |
String | name |
String | typeName |
|
inline |
|
inline |
|
inlineoverridevirtual |
Closes and releases the device if it's open.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns a mask showing which of the available input channels are currently enabled.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns a mask showing which of the available output channels are currently enabled.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns the set of buffer sizes that are available.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns the set of sample-rates this device supports.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns the device's current physical bit-depth.
If the device isn't actually open, this value doesn't really mean much.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns the buffer size that the device is currently using.
If the device isn't actually open, this value doesn't really mean much.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns the sample rate that the device is currently using.
If the device isn't actually open, this value doesn't really mean much.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns the default buffer-size to use.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns the names of all the available input channels on this device. To find out which of these are currently in use, call getActiveInputChannels().
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns the device's input latency.
This is the delay in samples between some audio actually arriving at the soundcard, and the callback getting passed this block of data.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns the last error that happened if anything went wrong.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns the names of all the available output channels on this device. To find out which of these are currently in use, call getActiveOutputChannels().
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns the device's output latency.
This is the delay in samples between a callback getting a block of data, and that data actually getting played.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns true if the device is still open.
A device might spontaneously close itself if something goes wrong, so this checks if it's still open.
Implements AudioIODevice.
|
inlineoverridevirtual |
Returns true if the device is still calling back.
The device might mysteriously stop, so this checks whether it's still playing.
Implements AudioIODevice.
|
inlineoverridevirtual |
Tries to open the device ready to play.
inputChannels | a BigInteger in which a set bit indicates that the corresponding input channel should be enabled |
outputChannels | a BigInteger in which a set bit indicates that the corresponding output channel should be enabled |
sampleRate | the sample rate to try to use - to find out which rates are available, see getAvailableSampleRates() |
bufferSizeSamples | the size of i/o buffer to use - to find out the available buffer sizes, see getAvailableBufferSizes() |
Implements AudioIODevice.
|
inlineoverridevirtual |
Must be implemented to perform the thread's actual code.
Remember that the thread must regularly check the threadShouldExit() method whilst running, and if this returns true it should return from the run() method as soon as possible to avoid being forcibly killed.
Implements Thread.
|
inlineoverridevirtual |
Starts the device actually playing.
This must be called after the device has been opened.
callback | the callback to use for streaming the data. |
Implements AudioIODevice.
|
inlineoverridevirtual |
Stops the device playing.
Once a device has been started, this will stop it. Any pending calls to the callback class will be flushed before this method returns.
Implements AudioIODevice.
int AndroidAudioIODevice::minBufferSizeIn |
int AndroidAudioIODevice::minBufferSizeOut |