From: Thomas Fjellstrom <tfjellstrom@shaw.ca>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: rawmidi problem (was Re: ALSA homepage redesign)
Date: Tue, 23 Apr 2002 17:43:43 -0600 [thread overview]
Message-ID: <0GV100DRBOG2ST@l-daemon> (raw)
In-Reply-To: <s5h662iod14.wl@alsa2.suse.de>
On April 23, 2002 05:44 am, you wrote:
> At Tue, 23 Apr 2002 12:14:42 +0200,
>
> I wrote:
> > At Mon, 22 Apr 2002 13:50:27 -0600,
> >
> > Thomas Fjellstrom wrote:
> > > I don't hear any sound when playing midi using the rawmidi interface
> > > (using my SBLive! Value), I tried, some code written by me, and the
> > > rawmidi.c source demo that is included with the driver package. (A
> > > sound font is loaded, and midis play fine with sound, using the pmidi
> > > program.)
> >
> > hmm it looks like a bug was introduced in virmidi or in a combination
> > of virmidi and rawmidi. i think the rawmidi itself works fine.
> > this problem appears only on emu10k1's virmidi.
> >
> > i'll take a further look at this problem.
>
> now fixed on cvs. actually it was a bug on virmidi.
>
> thanks for your notice.
>
No problem, except now I've noticed a few things :)
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.)
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)
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.
(now I've got to reboot... because I can't think of another way to turn off
the midi notes that were left on... :)
--
Thomas Fjellstrom
tfjellstrom@shaw.ca
http://strangesoft.net
next prev parent reply other threads:[~2002-04-23 23:43 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-21 10:24 ALSA homepage redesign Patrick Shirkey
2002-04-22 11:10 ` Jaroslav Kysela
2002-04-22 13:49 ` Thomas Fjellstrom
2002-04-22 14:12 ` Paul Davis
2002-04-22 16:07 ` rawmidi problem (was Re: ALSA homepage redesign) Takashi Iwai
2002-04-22 17:12 ` Juan Linietsky
2002-04-23 10:12 ` Takashi Iwai
2002-04-22 19:50 ` Thomas Fjellstrom
2002-04-22 21:27 ` Ville Syrjälä
2002-04-22 21:35 ` Thomas Fjellstrom
2002-04-22 21:55 ` Ville Syrjälä
2002-04-22 22:54 ` Thomas Fjellstrom
2002-04-22 23:33 ` Ville Syrjälä
2002-04-22 23:43 ` Thomas Fjellstrom
2002-04-23 6:54 ` mdeboer
2002-04-23 7:54 ` Thomas Fjellstrom
2002-04-23 10:14 ` Takashi Iwai
2002-04-23 11:44 ` Takashi Iwai
2002-04-23 16:39 ` Thomas Fjellstrom
2002-04-23 23:43 ` Thomas Fjellstrom [this message]
2002-04-24 8:52 ` Takashi Iwai
2002-04-24 9:06 ` Thomas Fjellstrom
2002-04-24 9:13 ` Takashi Iwai
2002-04-24 9:13 ` Thomas Fjellstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0GV100DRBOG2ST@l-daemon \
--to=tfjellstrom@shaw.ca \
--cc=alsa-devel@lists.sourceforge.net \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.