mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
use default alsa channel map for alsa devices
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@851 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
afdec0532f
commit
b6812029ba
4 changed files with 74 additions and 2 deletions
|
|
@ -27,6 +27,8 @@
|
|||
#include <polyp/sample.h>
|
||||
#include <polyp/mainloop-api.h>
|
||||
|
||||
#include <polyp/channelmap.h>
|
||||
|
||||
struct pa_alsa_fdlist;
|
||||
|
||||
struct pa_alsa_fdlist *pa_alsa_fdlist_new(void);
|
||||
|
|
@ -40,4 +42,6 @@ int pa_alsa_set_hw_params(snd_pcm_t *pcm_handle, const pa_sample_spec *ss, uint3
|
|||
int pa_alsa_prepare_mixer(snd_mixer_t *mixer, const char *dev);
|
||||
snd_mixer_elem_t *pa_alsa_find_elem(snd_mixer_t *mixer, const char *name);
|
||||
|
||||
pa_channel_map* pa_alsa_channel_map_init_auto(pa_channel_map *m, unsigned channels);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue