ALSA project - the C library reference
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Description Functions
PCM Interface

Functions

const char * snd_pcm_type_name (snd_pcm_type_t type)
 get name of PCM type
const char * snd_pcm_stream_name (const snd_pcm_stream_t stream)
 get name of PCM stream type
const char * snd_pcm_access_name (const snd_pcm_access_t _access)
 get name of PCM access type
const char * snd_pcm_format_name (const snd_pcm_format_t format)
 get name of PCM sample format
const char * snd_pcm_format_description (const snd_pcm_format_t format)
 get description of PCM sample format
const char * snd_pcm_subformat_name (const snd_pcm_subformat_t subformat)
 get name of PCM sample subformat
const char * snd_pcm_subformat_description (const snd_pcm_subformat_t subformat)
 get description of PCM sample subformat
snd_pcm_format_t snd_pcm_format_value (const char *name)
 get PCM sample format from name
const char * snd_pcm_tstamp_mode_name (const snd_pcm_tstamp_t mode)
 get name of PCM tstamp mode setting
const char * snd_pcm_state_name (const snd_pcm_state_t state)
 get name of PCM state

Detailed Description

See the PCM (digital audio) interface page for more details.


Function Documentation

const char* snd_pcm_access_name ( snd_pcm_access_t  acc)

get name of PCM access type

Parameters:
accPCM access type
Returns:
ascii name of PCM access type
const char* snd_pcm_format_description ( snd_pcm_format_t  format)

get description of PCM sample format

Parameters:
formatPCM sample format
Returns:
ascii description of PCM sample format
const char* snd_pcm_format_name ( snd_pcm_format_t  format)

get name of PCM sample format

Parameters:
formatPCM sample format
Returns:
ascii name of PCM sample format
Examples:
/test/latency.c, and /test/pcm.c.
snd_pcm_format_t snd_pcm_format_value ( const char *  name)

get PCM sample format from name

Parameters:
namePCM sample format name (case insensitive)
Returns:
PCM sample format
Examples:
/test/latency.c.
const char* snd_pcm_state_name ( snd_pcm_state_t  state)

get name of PCM state

Parameters:
statePCM state
Returns:
ascii name of PCM state
const char* snd_pcm_stream_name ( snd_pcm_stream_t  stream)

get name of PCM stream type

Parameters:
streamPCM stream type
Returns:
ascii name of PCM stream type
const char* snd_pcm_subformat_description ( snd_pcm_subformat_t  subformat)

get description of PCM sample subformat

Parameters:
subformatPCM sample subformat
Returns:
ascii description of PCM sample subformat
const char* snd_pcm_subformat_name ( snd_pcm_subformat_t  subformat)

get name of PCM sample subformat

Parameters:
subformatPCM sample subformat
Returns:
ascii name of PCM sample subformat
const char* snd_pcm_tstamp_mode_name ( snd_pcm_tstamp_t  mode)

get name of PCM tstamp mode setting

Parameters:
modePCM tstamp mode
Returns:
ascii name of PCM tstamp mode setting
const char* snd_pcm_type_name ( snd_pcm_type_t  type)

get name of PCM type

Parameters:
typePCM type
Returns:
ascii name of PCM type