SSAD64x Class Reference

The SSAD64x class is a DSPSerialPortDevice subclass that corresponds to the Singular Solutions AD64x ADC & DAT interface. More...

#import <DSPSerialPortDevice.h>

Inheritance diagram for SSAD64x:

DSPSerialPortDevice

List of all members.

Public Member Functions

(id) - setProfessional:
 Sets the professional instance variable to yesOrNo. Then, when setUpSerialPort: is invoked, the AD64x will be set to professional (AES/EBU) or consumer (SPDIF) mode, according to the value of professional..
(int) - hardwareSupportedSamplingRates:
 Returns 3 and sets *rates to a malloc'ed array containing 48000, 44100, and 32000.
(id) - setUpSerialPort:
 This is invoked by Orchestra open to set up the serial port.
(int) - inputSampleSkip
 Returns skip for sound input (i.e.
(int) - outputSampleSkip
 Returns skip for sound output (i.e.
(id) - unMuteSerialPort:
 Unmutes device.
(id) - closeDownSerialPort:
 Mutes device to prevent buzzing.


Detailed Description

The SSAD64x class is a DSPSerialPortDevice subclass that corresponds to the Singular Solutions AD64x ADC & DAT interface.

Member Function Documentation

- (id) setProfessional: (BOOL)  yesOrNo  

Sets the professional instance variable to yesOrNo. Then, when setUpSerialPort: is invoked, the AD64x will be set to professional (AES/EBU) or consumer (SPDIF) mode, according to the value of professional..

Parameters:
yesOrNo is a BOOL.
Returns:
Returns an id.

- (int) hardwareSupportedSamplingRates: (double **)  rates  

Returns 3 and sets *rates to a malloc'ed array containing 48000, 44100, and 32000.

Parameters:
rates is a double **.
Returns:
Returns an int.

Reimplemented from DSPSerialPortDevice.

- (id) setUpSerialPort: (id)  orchestra  

This is invoked by Orchestra open to set up the serial port.

Parameters:
orchestra is an id.
Returns:
Returns an id. Sends the appropriate values for the AD64x. If sendsSettings is YES, it sets the device to the proper sampling rate and professional/consumer mode setting.

Reimplemented from DSPSerialPortDevice.

- (int) inputSampleSkip  

Returns skip for sound input (i.e.

Returns:
Returns an int. sound entering the DSP via the serial port.) Since the AD64x requires a zero before each sample, this method returns 1.

Reimplemented from DSPSerialPortDevice.

- (int) outputSampleSkip  

Returns skip for sound output (i.e.

Returns:
Returns an int. sound exiting the DSP via the serial port.) Since the AD64x requires a zero before each sample, this method returns 1.

Reimplemented from DSPSerialPortDevice.

- (id) unMuteSerialPort: (id)  orchestra  

Unmutes device.

Parameters:
orchestra is an id.
Returns:
Returns an id.

Reimplemented from DSPSerialPortDevice.

- (id) closeDownSerialPort: (id)  orchestra  

Mutes device to prevent buzzing.

Parameters:
orchestra is an id.
Returns:
Returns an id.

Reimplemented from DSPSerialPortDevice.


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

Generated on Sat Dec 5 17:01:17 2009 for MusicKit by  doxygen 1.5.6