- emu10k1 external tram size
PATCH 1/1 - emu10k1 external tram size
Hi,
This patch fixes wrong size reported by driver for external tram. It reports size in bytes and should report it in samples as for internal tram.
Signed off: Peter Zubaj <[email protected]>
alsa-kernel/pci/emu10k1/emufx.c +1 -1
@@ -2064,7 +2064,7 @@memset (info,0 ,sizeof (info)); info->card = emu->card_type; info->internal_tram_size = emu->fx8010.itram_size; - info->external_tram_size = emu->fx8010.etram_pages.bytes; + info->external_tram_size = emu->fx8010.etram_pages.bytes /2 ; fxbus = fxbuses; extin = emu->audigy ? audigy_ins : creative_ins; extout = emu->audigy ? audigy_outs : creative_outs;
alsa-kernel/pci/emu10k1/emuproc.c +1 -1
@@ -184,7 +184,7 @@snd_iprintf (buffer,"Card : %s\n" , emu->audigy ?"Audigy" : (emu->APS ?"EMU APS" :"Creative" ));snd_iprintf (buffer,"Internal TRAM (words) : 0x%x\n" , emu->fx8010.itram_size); -snd_iprintf (buffer,"External TRAM (words) : 0x%x\n" , (int )emu->fx8010.etram_pages.bytes); +snd_iprintf (buffer,"External TRAM (words) : 0x%x\n" , (int )emu->fx8010.etram_pages.bytes /2 );snd_iprintf (buffer,"\n" );snd_iprintf (buffer,"Effect Send Routing :\n" );for (idx =0 ; idx <NUM_G ; idx++) {
Takashi Iwai
AppliedAt Sun, 20 Mar 2005 20:41:24 +0100,
Quoted 7 lines · Peter Zubaj
Hi,
This patch fixes wrong size reported by driver for external tram. It reports size in bytes and should report it in samples as for internal tram.
Signed off: Peter Zubaj <[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