ALSA Library Reference Manual
DECLARATION
typedef struct snd_pcm_format
{
int interleave:1; /* data are interleaved */
int format; /* SND_PCM_SFMT_XXXX */
int rate; /* rate in Hz */
int voices; /* voices */
int special; /* special (custom) description of format */
char reserved[16]; /* must be filled with zero */
}
snd_pcm_format_t;
REFERENCE
- int snd_pcm_loopback_format (snd_pcm_loopback_t * handle, snd_pcm_format_t * format);
- int snd_pcm_plugin_build_adpcm (snd_pcm_format_t * src_format, snd_pcm_format_t * dst_format, snd_pcm_plugin_t ** r_plugin);
- int snd_pcm_plugin_build_alaw (snd_pcm_format_t * src_format, snd_pcm_format_t * dst_format, snd_pcm_plugin_t ** r_plugin);
- int snd_pcm_plugin_build_interleave (snd_pcm_format_t * src_format, snd_pcm_format_t * dst_format, snd_pcm_plugin_t ** r_plugin);
- int snd_pcm_plugin_build_linear (snd_pcm_format_t * src_format, snd_pcm_format_t * dst_format, snd_pcm_plugin_t ** r_plugin);
- int snd_pcm_plugin_build_mulaw (snd_pcm_format_t * src_format, snd_pcm_format_t * dst_format, snd_pcm_plugin_t ** r_plugin);
- int snd_pcm_plugin_build_rate (snd_pcm_format_t * src_format, snd_pcm_format_t * dst_format, snd_pcm_plugin_t ** r_plugin);
- int snd_pcm_plugin_build_voices (snd_pcm_format_t * src_format, snd_pcm_format_t * dst_format, snd_pcm_plugin_t ** r_plugin);
- int snd_pcm_plugin_build_volbal (snd_pcm_format_t * src_format, snd_pcm_format_t * dst_format, int *ttable, snd_pcm_plugin_t ** r_plugin);