pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
Public Member Functions | Properties
PLAudioHost Class Reference

An Objective-C audio host for the iOS platform. More...

List of all members.

Public Member Functions

(void) - startHost
 Start the host running.
(void) - stopHost
 Stop the host running.
(void) - pauseHost
 Pause the host.
(void) - resumeHost
 Resume the host.

Properties

id delegate
 The delegate that contains the constructGraph method.
NSString * hostName
 The host name - always "iOS".
NSString * nativeHostName
 The native host name - currently always "RemoteIO".
NSString * inputName
 The name of the input device. May be "Default Input" on the simulator.
NSString * outputName
 The name of the output device. May be "Default Output" on the simulator.
double cpuUsage
 The current CPU usage of the DSP loop.
BOOL isRunning
 Is the host running?
BOOL isPaused
 Is the host paused?
BOOL wasInterrupted
 Was the host interrupted?
Dynamic outputUnit
 The output unit of the host.
int numInputs
 The number of audio inputs, only set this BEFORE sending the startHost message.
int numOutputs
 The number of audio outputs, only set this BEFORE sending the startHost message.
int preferredHostBlockSize
 The preferred host block size, only set this BEFORE sending the startHost message.
int preferredGraphBlockSize
 The preferred graph block size, only set this BEFORE sending the startHost message.
double preferredHostSampleRate
 The preferred sample rate, only set this BEFORE sending the startHost message.

Detailed Description

An Objective-C audio host for the iOS platform.

This is simply an adapter for the C++ IOSAudioHost. You need to set an object that implements the PLAudioGraph protocol in the init method of your derived class.

When running in the simulator the preferred sample rate and block size properties may be ignored and default to the hardware settings of the Mac hosting the simulator.

See also:
PLAudioGraph

Member Function Documentation

- (void) pauseHost

Pause the host.

- (void) resumeHost

Resume the host.

- (void) startHost

Start the host running.

- (void) stopHost

Stop the host running.


The documentation for this class was generated from the following file:
 All Classes Functions Typedefs Enumerations Enumerator Properties