MusicKit
0.0.0
|
Copies input streams to output streams, allowing audio processing to be applied to it. . More...
#import <SndStreamInput.h>
Public Member Functions | |
(id) | - init |
Initialises the receiver. | |
(BOOL) | - startReceivingInput |
Begins recording. This method may be overriden in subclasses to initialise the destination of the recording. | |
(void) | - stopReceivingInput |
Manually stops recording. Immediately stops recording. Other methods can be used to stop recording after a given amount of time. | |
(BOOL) | - isReceivingInput |
Returns whether the receiver is currently receiving audio samples. | |
(float) | - averageLatencyForOutput: |
Returns the average latency for either the input or output processing in samples. | |
(id) | - init |
Initialises the receiver. | |
(BOOL) | - startReceivingInput |
Begins recording. This method may be overriden in subclasses to initialise the destination of the recording. | |
(void) | - stopReceivingInput |
Manually stops recording. Immediately stops recording. Other methods can be used to stop recording after a given amount of time. | |
(BOOL) | - isReceivingInput |
Returns whether the receiver is currently receiving audio samples. | |
(float) | - averageLatencyForOutput: |
Returns the average latency for either the input or output processing in samples. |
Copies input streams to output streams, allowing audio processing to be applied to it. .
ATTENTION!!! Presumptions made to get this class off the ground quickly: The incoming stream is made of 32-bit floats, and the saved file is made of 16-bit ints!
- (float) averageLatencyForOutput: | (BOOL) | forOutput |
Returns the average latency for either the input or output processing in samples.
averageLatencyForOutput: The average is computed over a maximum of the last MAX_LATENCY_TIMES processing.
forOutput | YES to return the latency for the output buffering, NO to return the latency for the input buffering. |
- (float) averageLatencyForOutput: | (BOOL) | forOutput |
Returns the average latency for either the input or output processing in samples.
averageLatencyForOutput: The average is computed over a maximum of the last MAX_LATENCY_TIMES processing.
forOutput | YES to return the latency for the output buffering, NO to return the latency for the input buffering. |
- (id) init |
Initialises the receiver.
init
- (id) init |
Initialises the receiver.
init
- (BOOL) isReceivingInput |
Returns whether the receiver is currently receiving audio samples.
isReceivingInput
- (BOOL) isReceivingInput |
Returns whether the receiver is currently receiving audio samples.
isReceivingInput
- (BOOL) startReceivingInput |
Begins recording. This method may be overriden in subclasses to initialise the destination of the recording.
startReceivingInput
- (BOOL) startReceivingInput |
Begins recording. This method may be overriden in subclasses to initialise the destination of the recording.
startReceivingInput
- (void) stopReceivingInput |
Manually stops recording. Immediately stops recording. Other methods can be used to stop recording after a given amount of time.
stopReceivingInput
- (void) stopReceivingInput |
Manually stops recording. Immediately stops recording. Other methods can be used to stop recording after a given amount of time.
stopReceivingInput