summaryrefslogtreecommitdiff
path: root/seq/aseqnet
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2000-11-20 20:11:13 +0000
committerJaroslav Kysela <perex@perex.cz>2000-11-20 20:11:13 +0000
commit25b794332186481f82c3ce87d83b3684fb2c3c51 (patch)
tree5189880b722973a97281d0ad803d041f508537ba /seq/aseqnet
parentcfce590e41bce3b9f79d0ebff0af34baf5cf675d (diff)
downloadalsa-utils-25b794332186481f82c3ce87d83b3684fb2c3c51.tar.gz
Merged pcmfinal branch.
Diffstat (limited to 'seq/aseqnet')
-rw-r--r--seq/aseqnet/aseqnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/seq/aseqnet/aseqnet.c b/seq/aseqnet/aseqnet.c
index ad4efdb..f4a4b4b 100644
--- a/seq/aseqnet/aseqnet.c
+++ b/seq/aseqnet/aseqnet.c
@@ -233,12 +233,12 @@ static void init_seq(char *source, char *dest)
{
snd_seq_addr_t addr;
- if (snd_seq_open(&handle, SND_SEQ_OPEN) < 0) {
+ if (snd_seq_open(&handle, "hw", SND_SEQ_OPEN_DUPLEX, 0) < 0) {
perror("snd_seq_open");
exit(1);
}
seqfd = snd_seq_poll_descriptor(handle);
- snd_seq_block_mode(handle, 0);
+ snd_seq_nonblock(handle, 0);
/* set client info */
if (server_mode)