projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8cec3d1
)
alsa_writer: use non-blocking open mode.
author
Andre
<maan@p133.(none)>
Wed, 31 May 2006 21:01:08 +0000
(23:01 +0200)
committer
Andre
<maan@p133.(none)>
Wed, 31 May 2006 21:01:08 +0000
(23:01 +0200)
fixes hangs in para_audiod.
alsa_writer.c
patch
|
blob
|
history
diff --git
a/alsa_writer.c
b/alsa_writer.c
index 5c3290731dd3aff35ddc9b4a9929236e9b0df36e..466f1e8d5cbfa53ed124f1a8a89d30808ed27d56 100644
(file)
--- a/
alsa_writer.c
+++ b/
alsa_writer.c
@@
-83,7
+83,7
@@
static int alsa_open(struct writer_node *w)
w->private_data = pad;
snd_pcm_info_alloca(&info);
err = snd_pcm_open(&pad->handle, conf->device_arg,
- SND_PCM_STREAM_PLAYBACK,
0
);
+ SND_PCM_STREAM_PLAYBACK,
SND_PCM_NONBLOCK
);
if (err < 0)
return -E_PCM_OPEN;
if ((err = snd_pcm_info(pad->handle, info)) < 0)