A clock used to raise audio data in appropriate intervals. More...
Instance Methods | |
| (int) | - blockAlign | 
| Gets the BlockAlign.  More... | |
| (int) | - channelCount | 
| Gets the audio's channel count.  More... | |
| (int) | - clockRate | 
| Gets the audio's clock rate.  More... | |
| (instancetype) | - initWithClockRate:channelCount:blockAlign:raiseCallback: | 
| Creates a new AudioClock.  More... | |
| (instancetype) | - initWithClockRate:channelCount:blockAlign:raiseCallbackBlock: | 
| Creates a new AudioClock.  More... | |
| (instancetype) | - initWithClockRate:channelCount:raiseCallback: | 
| Creates a new AudioClock.  More... | |
| (instancetype) | - initWithClockRate:channelCount:raiseCallbackBlock: | 
| Creates a new AudioClock.  More... | |
| (bool) | - running | 
| Gets whether the clock is running.  More... | |
| (void) | - setStrictDuration: | 
| Sets the strict duration, in milliseconds.  More... | |
| (void) | - start | 
| Starts the audio clock.  More... | |
| (void) | - stop | 
| Stops the audio clock.  More... | |
| (int) | - strictDuration | 
| Gets the strict duration, in milliseconds.  More... | |
Class Methods | |
| (FMLiveSwitchAudioClock *) | + audioClockWithClockRate:channelCount:blockAlign:raiseCallback: | 
| Creates a new AudioClock.  More... | |
| (FMLiveSwitchAudioClock *) | + audioClockWithClockRate:channelCount:blockAlign:raiseCallbackBlock: | 
| Creates a new AudioClock.  More... | |
| (FMLiveSwitchAudioClock *) | + audioClockWithClockRate:channelCount:raiseCallback: | 
| Creates a new AudioClock.  More... | |
| (FMLiveSwitchAudioClock *) | + audioClockWithClockRate:channelCount:raiseCallbackBlock: | 
| Creates a new AudioClock.  More... | |
A clock used to raise audio data in appropriate intervals.
| + (FMLiveSwitchAudioClock*) audioClockWithClockRate: | (int) | clockRate | |
| channelCount: | (int) | channelCount | |
| blockAlign: | (int) | blockAlign | |
| raiseCallback: | (FMLiveSwitchAction2< id, id > *) | raiseCallback | |
Creates a new AudioClock.
| clockRate | The clock rate to use. | 
| channelCount | How many channels the audio will have. | 
| blockAlign | The block align of the source data. | 
| raiseCallback | The callback that will be invoked when data is needed. | 
| + (FMLiveSwitchAudioClock*) audioClockWithClockRate: | (int) | clockRate | |
| channelCount: | (int) | channelCount | |
| blockAlign: | (int) | blockAlign | |
| raiseCallbackBlock: | (void(^)(int, int)) | raiseCallbackBlock | |
Creates a new AudioClock.
| clockRate | The clock rate to use. | 
| channelCount | How many channels the audio will have. | 
| blockAlign | The block align of the source data. | 
| raiseCallbackBlock | The callback that will be invoked when data is needed. | 
| + (FMLiveSwitchAudioClock*) audioClockWithClockRate: | (int) | clockRate | |
| channelCount: | (int) | channelCount | |
| raiseCallback: | (FMLiveSwitchAction2< id, id > *) | raiseCallback | |
Creates a new AudioClock.
| clockRate | The clock rate to use. | 
| channelCount | How many channels the audio will have. | 
| raiseCallback | The callback that will be invoked when data is needed. | 
| + (FMLiveSwitchAudioClock*) audioClockWithClockRate: | (int) | clockRate | |
| channelCount: | (int) | channelCount | |
| raiseCallbackBlock: | (void(^)(int, int)) | raiseCallbackBlock | |
Creates a new AudioClock.
| clockRate | The clock rate to use. | 
| channelCount | How many channels the audio will have. | 
| raiseCallbackBlock | The callback that will be invoked when data is needed. | 
| - (int) blockAlign | 
Gets the BlockAlign.
| - (int) channelCount | 
Gets the audio's channel count.
| - (int) clockRate | 
Gets the audio's clock rate.
| - (instancetype) initWithClockRate: | (int) | clockRate | |
| channelCount: | (int) | channelCount | |
| blockAlign: | (int) | blockAlign | |
| raiseCallback: | (FMLiveSwitchAction2< id, id > *) | raiseCallback | |
Creates a new AudioClock.
| clockRate | The clock rate to use. | 
| channelCount | How many channels the audio will have. | 
| blockAlign | The block align of the source data. | 
| raiseCallback | The callback that will be invoked when data is needed. | 
| - (instancetype) initWithClockRate: | (int) | clockRate | |
| channelCount: | (int) | channelCount | |
| blockAlign: | (int) | blockAlign | |
| raiseCallbackBlock: | (void(^)(int, int)) | raiseCallbackBlock | |
Creates a new AudioClock.
| clockRate | The clock rate to use. | 
| channelCount | How many channels the audio will have. | 
| blockAlign | The block align of the source data. | 
| raiseCallbackBlock | The callback that will be invoked when data is needed. | 
| - (instancetype) initWithClockRate: | (int) | clockRate | |
| channelCount: | (int) | channelCount | |
| raiseCallback: | (FMLiveSwitchAction2< id, id > *) | raiseCallback | |
Creates a new AudioClock.
| clockRate | The clock rate to use. | 
| channelCount | How many channels the audio will have. | 
| raiseCallback | The callback that will be invoked when data is needed. | 
| - (instancetype) initWithClockRate: | (int) | clockRate | |
| channelCount: | (int) | channelCount | |
| raiseCallbackBlock: | (void(^)(int, int)) | raiseCallbackBlock | |
Creates a new AudioClock.
| clockRate | The clock rate to use. | 
| channelCount | How many channels the audio will have. | 
| raiseCallbackBlock | The callback that will be invoked when data is needed. | 
| - (bool) running | 
Gets whether the clock is running.
| - (void) setStrictDuration: | (int) | value | 
Sets the strict duration, in milliseconds.
If 0, then variable duration is used. If greater than zero, then the clock will only raise frames of that duration.
| - (void) start | 
Starts the audio clock.
| - (void) stop | 
Stops the audio clock.
| - (int) strictDuration | 
Gets the strict duration, in milliseconds.
If 0, then variable duration is used. If greater than zero, then the clock will only raise frames of that duration.