Update of /cvsroot/alsa/alsa-kernel/core/seq/oss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11024/core/seq/oss
Modified Files: seq_oss_midi.c seq_oss_synth.c Log Message: - fixed the behavior of SNDCTL_SEQ_IOCTL. (don't close the device). Index: seq_oss_midi.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/seq/oss/seq_oss_midi.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- seq_oss_midi.c 30 May 2003 12:28:34 -0000 1.13 +++ seq_oss_midi.c 16 Feb 2004 16:41:32 -0000 1.14 @@ -491,7 +491,7 @@ } } } - snd_seq_oss_midi_close(dp, dev); + // snd_seq_oss_midi_close(dp, dev); snd_use_lock_free(&mdev->use_lock); } Index: seq_oss_synth.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/seq/oss/seq_oss_synth.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- seq_oss_synth.c 30 May 2003 12:28:34 -0000 1.14 +++ seq_oss_synth.c 16 Feb 2004 16:41:32 -0000 1.15 @@ -410,6 +410,8 @@ if (midi_synth_dev.opened <= 0) return; snd_seq_oss_midi_reset(dp, info->midi_mapped); + /* reopen the device */ + snd_seq_oss_midi_close(dp, dev); if (snd_seq_oss_midi_open(dp, info->midi_mapped, dp->file_mode) < 0) { midi_synth_dev.opened--; ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog