ChangeSet 1.2181.25.5, 2005/03/22 08:57:02+01:00, [EMAIL PROTECTED]

        [ALSA] emu10k1 - Silence the 'BUG (or not enough voices)' message
        
        EMU10K1/EMU10K2 driver
        Silence the 'BUG (or not enough voices)' message. This does not in fact
        represent a bug; it's a normal ocurrence when the wavetable synth is in 
use.
        
        Signed-off-by: Lee Revell <[EMAIL PROTECTED]>
        Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>



 voice.c |    6 +-----
 1 files changed, 1 insertion(+), 5 deletions(-)


diff -Nru a/sound/pci/emu10k1/voice.c b/sound/pci/emu10k1/voice.c
--- a/sound/pci/emu10k1/voice.c 2005-03-30 16:10:01 -08:00
+++ b/sound/pci/emu10k1/voice.c 2005-03-30 16:10:01 -08:00
@@ -81,12 +81,8 @@
                }
        }
        
-       if (first_voice == last_voice) {
-               printk("BUG (or not enough voices), number %d, next free %d!\n",
-                               number,
-                               emu->next_free_voice);
+       if (first_voice == last_voice)
                return -ENOMEM;
-       }       
        
        for (i=0; i < number; i++) {
                voice = &emu->voices[(first_voice + i) % NUM_G];
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to