Skip to contentSkip to conversation

cmipci random noise + Makefile patch

PATCH Markus Schoder 1 participant 1 message May 25, 2002

lore
Share & tools
lore
#0 lore raw

When playing .wav files with aplay sometimes random noise is appended to the actual sample. It does not happen with e.g. playwave which uses OSS emulation. I think this never worked correctly with the cmipci driver.

Another problem I see is that with the current CVS alsa drivers (2002-05-25) I get the following message when doing a depmod -ae

depmod: *** Unresolved symbols in /lib/modules/2.4.19-pre8-ac5/kernel/drivers/sound/alsa/snd-seq-midi.o

depmod:         snd_midi_event_decode
depmod:         snd_midi_event_free
depmod:         snd_midi_event_new
depmod:         snd_midi_event_encode
depmod:         snd_midi_event_reset_decode

The following patch solved it for me

alsa-kernel/core/seq/Makefile renamed from alsa-kernel/core/seq/Makefile.old +3 -1
@@ -34,7 +34,9 @@
 snd-seq-virmidi-objs := seq_virmidi.o
 
 obj-$(CONFIG_SND_SEQUENCER) += snd-seq.o snd-seq-device.o
-obj-$(CONFIG_SND_SEQUENCER_OSS) += snd-seq-midi-event.o
+ifeq ($(CONFIG_SND_SEQUENCER_OSS),y)
+obj-$(CONFIG_SND_SEQUENCER) += snd-seq-midi-event.o
+endif
 obj-$(CONFIG_SND_SEQ_DUMMY) += snd-seq-dummy.o
 
 # Toplevel Module Dependency

--
Markus

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm