mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
alsa: allow placing device id in alsa device strings at arbitrary positions
This commit is contained in:
parent
31575f7766
commit
334325efd7
4 changed files with 22 additions and 22 deletions
|
|
@ -84,7 +84,7 @@ snd_pcm_t *pa_alsa_open_by_device_id_mapping(
|
|||
|
||||
/* Opens the explicit ALSA device */
|
||||
snd_pcm_t *pa_alsa_open_by_device_string(
|
||||
const char *device,
|
||||
const char *dir,
|
||||
char **dev, /* modified at return */
|
||||
pa_sample_spec *ss, /* modified at return */
|
||||
pa_channel_map* map, /* modified at return */
|
||||
|
|
@ -97,8 +97,8 @@ snd_pcm_t *pa_alsa_open_by_device_string(
|
|||
pa_bool_t require_exact_channel_number);
|
||||
|
||||
/* Opens the explicit ALSA device with a fallback list */
|
||||
snd_pcm_t *pa_alsa_open_by_device_string_strv(
|
||||
char **device,
|
||||
snd_pcm_t *pa_alsa_open_by_template(
|
||||
char **template,
|
||||
const char *dev_id,
|
||||
char **dev, /* modified at return */
|
||||
pa_sample_spec *ss, /* modified at return */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue