[ltp] T40 and ALSA, but no multi channel mixing
Alex Deucher
linux-thinkpad@linux-thinkpad.org
Fri, 20 Aug 2004 09:22:52 -0400
On Fri, 20 Aug 2004 10:53:31 +0200, Roman Joost <roman@bromeco.de> wrote:
> I think, this story is really old, but I didn't get managed to it. I'm
> running Debian unstable on my T40 and can use only one sound output a
> time (eg. playing mp3s in XMMS but no sound for mozilla).
>
> So, I was browsing the net and found the solution: asoundrc. I created
> one, which looks like this:
>
> *****************
> pcm.amix {
> type dmix
> ipc_key 50557
> slave {
> pcm "hw:0,0"
> period_time 0
> period_size 1024
> buffer_size 8192
> }
> bindings {
> 0 0
> 1 1
> }
> }
> pcm.!default { # route ALSA software through pcm.amix
> type plug
> slave.pcm "amix"
> }
> pcm.dsp0 { # oss software as well
> type plug
> slave.pcm "amix"
> }
>
> ctl.mixer0 {
> type hw
> card 0
> }
> *****************
>
> Unfortunately, same problem; no multi channel mixing (or however you
> want to call it). Another curiosity is, that if I try to play two mp3's
> with mplayer and alsa output, it only works for the first one. The
> second mplayer waits for the device to become free. I thought, that this
> should work for ALSA?
I'm not really an expert when it comes to sound, but it's my
understanding that to mix multiple streams you either need a sound
daemon like esd or a sound chip that supports multiple streams in
hardware like the SB live! or audigy cards.
Alex
>
> Maybe someone of you guys can point me to the right direction. I'll also
> post my loaded modules here:
>
> *****************
> Module Size Used by
> af_packet 22600 2
> ipv6 256736 15
> pcmcia_core 57868 0
> parport_pc 34880 1
> lp 10856 0
> parport 41928 2 parport_pc,lp
> binfmt_misc 10504 1
> thermal 12752 0
> fan 4044 0
> button 6360 0
> ac 4876 0
> battery 9484 0
> aes 32704 1
> airo 73560 0
> slamr 375844 2
> 8250_pci 18112 0
> 8250 22112 1 8250_pci
> serial_core 23744 1 8250
> usbhid 33728 0
> uhci_hcd 32976 0
> shpchp 102572 0
> intel_agp 19932 1
> joydev 9728 0
> ehci_hcd 31876 0
> usbmouse 5824 0
> pciehp 99756 0
> ppp_deflate 6400 0
> ppp_async 12416 0
> ppp_synctty 9344 0
> ppp_generic 29908 3 ppp_deflate,ppp_async,ppp_synctty
> slhc 7552 1 ppp_generic
> snd_rtctimer 3280 0
> snd_seq_oss 34752 0
> snd_seq_midi_event 7744 1 snd_seq_oss
> snd_seq 54288 4 snd_seq_oss,snd_seq_midi_event
> non_fatal 2116 0 [permanent]
> cpufreq_powersave 1792 1
> cpufreq_userspace 7384 0
> firmware_class 10304 0
> pci_hotplug 12292 2 shpchp,pciehp
> ide_cd 43104 0
> cdrom 40412 1 ide_cd
> ntfs 125676 0
> rtc 12856 1 snd_rtctimer
> nvram 9352 0
> irda 197632 0
> wacom 12928 0
> usbcore 114336 7 usbhid,uhci_hcd,ehci_hcd,usbmouse,wacom
> evdev 9536 2
> speedstep_centrino 7956 0
> freq_table 4356 1 speedstep_centrino
> processor 18544 2 thermal,speedstep_centrino
> snd_intel8x0 35528 0
> snd_pcm_oss 55144 0
> snd_pcm 98888 2 snd_intel8x0,snd_pcm_oss
> snd_timer 25860 3 snd_rtctimer,snd_seq,snd_pcm
> snd_page_alloc 11848 2 snd_intel8x0,snd_pcm
> snd_mpu401_uart 8064 1 snd_intel8x0
> snd_rawmidi 25252 1 snd_mpu401_uart
> snd_seq_device 8264 3 snd_seq_oss,snd_seq,snd_rawmidi
> snd_ac97_codec 70212 1 snd_intel8x0
> snd_mixer_oss 20224 1 snd_pcm_oss
> snd 55076 12 snd_seq_oss,snd_seq_midi_event,snd_seq,snd_intel8x0,snd_pcm_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_mixer_oss
> soundcore 10080 1 snd
> e1000 85892 0
> msr 2880 0
> cpuid 2560 0
> unix 28916 202
> ************************
>
> Thanks!
> --
> Roman Joost
> www: http://www.romanofski.de
> email: roman@bromeco.com
>
>
>