mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
propery calculate min_avail in frames instead of bytes. don't use device_id= parameter in alsa modules if parameter wasn't specified
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2218 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
064aa1243c
commit
b9c10f2c56
4 changed files with 49 additions and 24 deletions
|
|
@ -979,7 +979,7 @@ int pa__init(pa_module*m) {
|
|||
|
||||
if (pa_alsa_prepare_mixer(u->mixer_handle, u->device_name) >= 0)
|
||||
found = TRUE;
|
||||
else {
|
||||
else if (dev_id) {
|
||||
char *md = pa_sprintf_malloc("hw:%s", dev_id);
|
||||
|
||||
if (strcmp(u->device_name, md))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue