ALSA project - the C library reference
Functions
Debug Functions
Collaboration diagram for Debug Functions:

Functions

int snd_pcm_dump (snd_pcm_t *pcm, snd_output_t *out)
 Dump PCM info. More...
 
int snd_pcm_dump_hw_setup (snd_pcm_t *pcm, snd_output_t *out)
 Dump current hardware setup for PCM. More...
 
int snd_pcm_dump_sw_setup (snd_pcm_t *pcm, snd_output_t *out)
 Dump current software setup for PCM. More...
 
int snd_pcm_dump_setup (snd_pcm_t *pcm, snd_output_t *out)
 Dump current setup (hardware and software) for PCM. More...
 
int snd_pcm_hw_params_dump (snd_pcm_hw_params_t *params, snd_output_t *out)
 Dump a PCM hardware configuration space. More...
 
int snd_pcm_sw_params_dump (snd_pcm_sw_params_t *params, snd_output_t *out)
 Dump a software configuration. More...
 
int snd_pcm_status_dump (snd_pcm_status_t *status, snd_output_t *out)
 Dump status. More...
 

Detailed Description

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

Function Documentation

◆ snd_pcm_dump()

int snd_pcm_dump ( snd_pcm_t pcm,
snd_output_t out 
)

Dump PCM info.

Parameters
pcmPCM handle
outOutput handle
Returns
0 on success otherwise a negative error code
Examples
/test/latency.c, and /test/pcm.c.

◆ snd_pcm_dump_hw_setup()

int snd_pcm_dump_hw_setup ( snd_pcm_t pcm,
snd_output_t out 
)

Dump current hardware setup for PCM.

Parameters
pcmPCM handle
outOutput handle
Returns
0 on success otherwise a negative error code

◆ snd_pcm_dump_setup()

int snd_pcm_dump_setup ( snd_pcm_t pcm,
snd_output_t out 
)

Dump current setup (hardware and software) for PCM.

Parameters
pcmPCM handle
outOutput handle
Returns
0 on success otherwise a negative error code

◆ snd_pcm_dump_sw_setup()

int snd_pcm_dump_sw_setup ( snd_pcm_t pcm,
snd_output_t out 
)

Dump current software setup for PCM.

Parameters
pcmPCM handle
outOutput handle
Returns
0 on success otherwise a negative error code

◆ snd_pcm_hw_params_dump()

int snd_pcm_hw_params_dump ( snd_pcm_hw_params_t params,
snd_output_t out 
)

Dump a PCM hardware configuration space.

Parameters
paramsConfiguration space
outOutput handle
Returns
0 on success otherwise a negative error code

◆ snd_pcm_status_dump()

int snd_pcm_status_dump ( snd_pcm_status_t status,
snd_output_t out 
)

Dump status.

Parameters
statusStatus container
outOutput handle
Returns
0 on success otherwise a negative error code
Examples
/test/latency.c.

◆ snd_pcm_sw_params_dump()

int snd_pcm_sw_params_dump ( snd_pcm_sw_params_t params,
snd_output_t out 
)

Dump a software configuration.

Parameters
paramsSoftware configuration container
outOutput handle
Returns
0 on success otherwise a negative error code