mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
alsa: Try to support non-standard rates in alsa-sink/source
We inadvertantly stopped supporting non-standard rates when the passthrough work was done. This makes sure that if no standard rates are supported, we try to fallback to whatever ALSA gives us.
This commit is contained in:
parent
5a791f8a16
commit
2a48c2d66f
4 changed files with 22 additions and 12 deletions
|
|
@ -133,7 +133,7 @@ char *pa_alsa_get_driver_name_by_pcm(snd_pcm_t *pcm);
|
|||
|
||||
char *pa_alsa_get_reserve_name(const char *device);
|
||||
|
||||
unsigned int *pa_alsa_get_supported_rates(snd_pcm_t *pcm);
|
||||
unsigned int *pa_alsa_get_supported_rates(snd_pcm_t *pcm, unsigned int fallback_rate);
|
||||
|
||||
pa_bool_t pa_alsa_pcm_is_hw(snd_pcm_t *pcm);
|
||||
pa_bool_t pa_alsa_pcm_is_modem(snd_pcm_t *pcm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue