From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: rawmidi problem (was Re: ALSA homepage redesign) Date: Wed, 24 Apr 2002 10:52:54 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <0GV100DRBOG2ST@l-daemon> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <0GV100DRBOG2ST@l-daemon> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Thomas Fjellstrom Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hi Thomas, At Tue, 23 Apr 2002 17:43:43 -0600, Thomas Fjellstrom wrote: > > One: SND_RAWMIDI_SYNC isn't a valid flag for snd_rawmidi_open. > ( rawmidi_hw.c:221: snd_rawmidi_hw_open: Assertion `!(mode & > ~(0x0001|0x0002))' failed.) fixed. > Two: using SND_RAWMIDI_APPEND on snd_rawmidi_open causes an assert then a > segfault.. A '0' for flags is fine... (see Three) > rawmidi.c:963: snd_rawmidi_write: Assertion `rawmidi' failed. > (this error is printed thousands of times... before a segfault) hmm, i couldn't find the point. could you send me your program or a test code? > Three: after a while, about a minute or so of playing a midi, the midi starts > getting slower and slower.. and CPU usage goes to 0... I'm sure Its not the > midi player, as I've tried it's 'DIGIMID' driver (which uses a converted > soundfont to play through the digital pcm interface) and it doens't have this > problem. do you use emu10k1 virmidi or another device? i suspect the bug might still be in virmidi code.. Takashi