diff options
author | James Courtier-Dutton <James@superbug.co.uk> | 2006-10-01 05:48:04 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 02:59:59 -0500 |
commit | 9f4bd5dde81b5cb94e4f52f2f05825aa0422f1ff (patch) | |
tree | 884d0016c361a555ab1bc95287e64a6c109a0609 /sound/pci/emu10k1/voice.c | |
parent | 5986a2ec35836a878350c54af4bd91b1de6abc59 (diff) |
[ALSA] snd-emu10k1: Added support for emu1010, including E-Mu 1212m and E-Mu 1820m
Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/emu10k1/voice.c')
-rw-r--r-- | sound/pci/emu10k1/voice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/voice.c b/sound/pci/emu10k1/voice.c index 94eca82dd4fc..1db50fe61475 100644 --- a/sound/pci/emu10k1/voice.c +++ b/sound/pci/emu10k1/voice.c | |||
@@ -83,7 +83,7 @@ static int voice_alloc(struct snd_emu10k1 *emu, int type, int number, | |||
83 | if (first_voice == last_voice) | 83 | if (first_voice == last_voice) |
84 | return -ENOMEM; | 84 | return -ENOMEM; |
85 | 85 | ||
86 | for (i=0; i < number; i++) { | 86 | for (i = 0; i < number; i++) { |
87 | voice = &emu->voices[(first_voice + i) % NUM_G]; | 87 | voice = &emu->voices[(first_voice + i) % NUM_G]; |
88 | // printk("voice alloc - %i, %i of %i\n", voice->number, idx-first_voice+1, number); | 88 | // printk("voice alloc - %i, %i of %i\n", voice->number, idx-first_voice+1, number); |
89 | voice->use = 1; | 89 | voice->use = 1; |