Skip to contentSkip to conversation

echoudio midi

PATCH Applied Giuliano Pochini 2 participants 2 messages Feb 22, 2005 – Feb 23, 2005

lore
Share & tools
lore
#0 lore raw

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
diff -du alsa-driver_orig/pci/echoaudio/echoaudio.h alsa-driver/pci/echoaudio/echoaudio.h
@@ -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

Applied
#1 lore raw

At 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 of add_timer() because the .trigger() callback may be called when the timer is already running.

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