projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
alsa: pass SND_PCM_NONBLOCK when opening device during unsuspend, the same way we...
[profile/ivi/pulseaudio-panda.git]
/
src
/
modules
/
alsa
/
alsa-source.c
diff --git
a/src/modules/alsa/alsa-source.c
b/src/modules/alsa/alsa-source.c
index
5f89d88
..
a7f2a01
100644
(file)
--- a/
src/modules/alsa/alsa-source.c
+++ b/
src/modules/alsa/alsa-source.c
@@
-897,7
+897,7
@@
static int unsuspend(struct userdata *u) {
pa_log_info("Trying resume...");
if ((err = snd_pcm_open(&u->pcm_handle, u->device_name, SND_PCM_STREAM_CAPTURE,
- /*SND_PCM_NONBLOCK|*/
+ SND_PCM_NONBLOCK|
SND_PCM_NO_AUTO_RESAMPLE|
SND_PCM_NO_AUTO_CHANNELS|
SND_PCM_NO_AUTO_FORMAT)) < 0) {