echoudio midi
PATCH 1/1 echoudio midi
- write_midi() cleanup.
- Do not try to deliver new data to the DSP every 1ms when the output buffer is full anymore. Instead, it waits until half of the queued data is send.
- Use mod_timer() in place of add_timer() because the .trigger() callback may be called when the timer is already running.
pci/echoaudio/echoaudio.h +1 -0
@@ -373,6 +373,7 @@#endif struct timer_list timer;char tinuse;/* Timer in use */ +char midi_full;/* MIDI output buffer is full */ char can_set_rate;char rate_set;
pci/echoaudio/midi.c +24 -25
91 lines not on this page · raw message
--
Giuliano.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Takashi Iwai
AppliedAt Tue, 22 Feb 2005 22:46:36 +0100,
Quoted 6 lines · Giuliano Pochini
-
write_midi()cleanup.- Do not try to deliver new data to the DSP every 1ms when the output buffer is full anymore. Instead, it waits until half of the queued data is send.
Quoted 6 lines
- Use
mod_timer()in place ofadd_timer()because the .trigger() callback may be called when the timer is already running.Signed-off-by Giuliano Pochini <[email protected]>
Applied to CVS.
Thanks.
Takashi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click