SoundService class documentation
MKSoundDevice <NSObject>Default
- - (BOOL) recordSample: (void*)bytes count: (int)count
Records a sample from an input device. Returns true if the read succeeded.
- - (int) setFormat: (int)format
Sets the current sample format. See the OSS documentation for valid formats.
Note that this should be called before any calls setting the number of channels or the sample rate.
- - (int) setChannels: (int)channels
Sets the number of channels to use on this device.
Note that this must be called before any calls setting the sampling rate and after any setting the sample format.
- - (BOOL) setVolumeLeft: (int)left right: (int)right
Sets the volume for the left and right channels. Valid values are from 0 to 100. Behaviour on other values is undefined.
