player_audiodsp_config Struct Reference

#include <player.h>

List of all members.

Detailed Description

Request/reply : Get/set audio properties.

Send a null PLAYER_AUDIODSP_GET_CONFIG request to receive the audiodsp configuration. Send a full PLAYER_AUDIODSP_SET_CONFIG request to modify the configuration (and receive a null response).

The sample format is defined in sys/soundcard.h, and defines the byte size and endian format for each sample.

The sample rate defines the Hertz at which to sample.

Mono or stereo sampling is defined in the channels parameter where 1==mono and 2==stereo.

Public Attributes

int32_t format
 Format with which to sample.
float frequency
 Sample rate [Hz].
uint32_t channels
 Number of channels to use.

Member Data Documentation

uint32_t player_audiodsp_config::channels

Number of channels to use.

1=mono, 2=stereo

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

Last updated 12 September 2005 21:38:45