MusicKit  0.0.0
Public Member Functions
SndStreamInput Class Reference

Copies input streams to output streams, allowing audio processing to be applied to it. . More...

#import <SndStreamInput.h>

Inheritance diagram for SndStreamInput:
SndStreamClient SndStreamClient

List of all members.

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.

Detailed Description

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!


Member Function Documentation

- (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.

Parameters:
forOutputYES 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.

Parameters:
forOutputYES to return the latency for the output buffering, NO to return the latency for the input buffering.
- (id) init

Initialises the receiver.

init

Returns:
Returns the initialised instance.
- (id) init

Initialises the receiver.

init

Returns:
Returns the initialised instance.
- (BOOL) isReceivingInput

Returns whether the receiver is currently receiving audio samples.

isReceivingInput

- (BOOL) isReceivingInput

Returns whether the receiver is currently receiving audio samples.

isReceivingInput

Begins recording. This method may be overriden in subclasses to initialise the destination of the recording.

startReceivingInput

Returns:
Returns YES if able to start recording.

Begins recording. This method may be overriden in subclasses to initialise the destination of the recording.

startReceivingInput

Returns:
Returns YES if able to start recording.

Manually stops recording. Immediately stops recording. Other methods can be used to stop recording after a given amount of time.

stopReceivingInput

Manually stops recording. Immediately stops recording. Other methods can be used to stop recording after a given amount of time.

stopReceivingInput


The documentation for this class was generated from the following files: