#include <stdio.h>
#include <alsa/asoundlib.h>
Go to the source code of this file.
Functions |
void | gri_alsa_dump_hw_params (snd_pcm_t *pcm, snd_pcm_hw_params_t *hwparams, FILE *fp) |
bool | gri_alsa_pick_acceptable_format (snd_pcm_t *pcm, snd_pcm_hw_params_t *hwparams, snd_pcm_format_t acceptable_formats[], unsigned nacceptable_formats, snd_pcm_format_t *selected_format, const char *error_msg_tag, bool verbose) |
Function Documentation
void gri_alsa_dump_hw_params |
( |
snd_pcm_t * |
pcm, |
|
|
snd_pcm_hw_params_t * |
hwparams, |
|
|
FILE * |
fp |
|
) |
| |
bool gri_alsa_pick_acceptable_format |
( |
snd_pcm_t * |
pcm, |
|
|
snd_pcm_hw_params_t * |
hwparams, |
|
|
snd_pcm_format_t |
acceptable_formats[], |
|
|
unsigned |
nacceptable_formats, |
|
|
snd_pcm_format_t * |
selected_format, |
|
|
const char * |
error_msg_tag, |
|
|
bool |
verbose |
|
) |
| |