Echoaudio, remove useless code
PATCH 2/2 Echoaudio, remove useless code
- The whole comm page was zeroed a few lines above.
Signed-off-by Giuliano Pochini <[email protected]>
pci/echoaudio/echoaudio_dsp.c +0 -2
@@ -1000,8 +1000,6 @@ static int init_dsp_comm_page(echoaudio_ chip->comm_page->midi_out_free_count =__constant_cpu_to_le32 (DSP_MIDI_OUT_FIFO_SIZE ); chip->comm_page->sample_rate =__constant_cpu_to_le32 (44100 ); chip->sample_rate =44100 ; -for (i =0 ; i <DSP_MAXAUDIOINPUTS ; i++) - chip->comm_page->line_in_level[i] =0 ;/* Set line levels so we don't blast any inputs on startup */ memset (chip->comm_page->monitors,ECHOGAIN_MUTED ,MONITOR_ARRAY_SIZE );
--
Giuliano.
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
At Sat, 8 Oct 2005 12:47:10 +0000,
Quoted 6 lines · Giuliano Pochini
- The whole comm page was zeroed a few lines above.
Signed-off-by Giuliano Pochini <[email protected]>
Thanks, both are applied to CVS now.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl