* [PATCH] emu10k1: don't bother to invalidate cache for the extra voice
@ 2004-08-27 5:26 Lee Revell
0 siblings, 0 replies; only message in thread
From: Lee Revell @ 2004-08-27 5:26 UTC (permalink / raw)
To: alsa-devel
Since the extra voice is only used to generate the period interrupts and
is always silent, I don't see why we need to invalidate its cache.
Apparently the author of the driver felt the same way. Latency tracing
shows that this can shave 20 usecs off the 120 usecs required for
startup and xrun recovery.
Lee
--- alsa-kernel/pci/emu10k1/emupcm.c~ 2004-07-14 12:14:54.000000000 -0400
+++ alsa-kernel/pci/emu10k1/emupcm.c 2004-08-27 01:20:05.000000000 -0400
@@ -574,7 +574,6 @@
spin_lock(&emu->reg_lock);
switch (cmd) {
case SNDRV_PCM_TRIGGER_START:
- snd_emu10k1_playback_invalidate_cache(emu, epcm->extra); /* do we need this? */
snd_emu10k1_playback_invalidate_cache(emu, epcm->voices[0]);
/* follow thru */
case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-27 5:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-27 5:26 [PATCH] emu10k1: don't bother to invalidate cache for the extra voice Lee Revell
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.