remvoe a bit of duplicate code

This commit is contained in:
Lennart Poettering 2009-01-16 22:01:45 +01:00
parent 5793f93350
commit b2b2eb1ee7
4 changed files with 29 additions and 54 deletions

View file

@ -78,7 +78,8 @@ snd_pcm_t *pa_alsa_open_by_device_string(
snd_pcm_uframes_t *period_size,
snd_pcm_uframes_t tsched_size,
pa_bool_t *use_mmap,
pa_bool_t *use_tsched);
pa_bool_t *use_tsched,
pa_bool_t require_exact_channel_number);
int pa_alsa_calc_mixer_map(snd_mixer_elem_t *elem, const pa_channel_map *channel_map, snd_mixer_selem_channel_id_t mixer_map[], pa_bool_t playback);