Sound_Attrs Struct Reference
[Sound]

Attributes used to create a Sound device driver instance. More...

#include <Sound.h>


Data Fields

Int32 sampleRate
 Sample rate of the sound device.
Int channels
 Number of channels (1 for mono or 2 for stereo supported).
Int32 leftGain
 Gain between 0-100 of the left channel.
Int32 rightGain
 Gain between 0-100 of the right channel.
Sound_Mode mode
 Sound device driver opened for input, output or both.
Sound_Input soundInput
 Select which input to use.
Sound_Std soundStd
 Device driver standard to use. (see Sound_Std).
Int bufSize
 Maximum input and (or) output buffer size.

Detailed Description

Attributes used to create a Sound device driver instance.

See also:
Sound_Attrs_STEREO_DEFAULT

Sound_Attrs_MONO_DEFAULT


Field Documentation

Sample rate of the sound device.

Number of channels (1 for mono or 2 for stereo supported).

Gain between 0-100 of the left channel.

Gain between 0-100 of the right channel.

Sound device driver opened for input, output or both.

Select which input to use.

Device driver standard to use. (see Sound_Std).

Remarks:
Only applicable on Linux.

Maximum input and (or) output buffer size.

Remarks:
Only applicable for ALSA.


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

Copyright 2011, Texas Instruments Incorporated