Re: [Alsa-user] Help to set up a simple sound card
2018-02-10 12:07 GMT+01:00 Robert Bielik: > Hmm... I was a bit too fast there... Indeed. >> aplay -L >> null >> Discard all samples (playback) or generate zero samples (capture) >> pulse >> PulseAudio Sound Server > > Can you try playing through pulseaudio with: > > aplay -D pulse test.wav ? > > Regards > /R I find here: https://alsa.opensrc.org/DmixPlugin this setup for ~/.asoundrc # cat ~/.asoundrc: pcm.dsp0 { type plug slave.pcm "hw:0" } # or: # pcm.dsp0 pcm.default # if "default" hasn't been redefined ctl.mixer0 { type hw card 0 } and it works now. I can heare sounds from multiple applications at once. Thank you very much, Robert! Örülök, hogy segítettél. :) -- Best, Pali -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Help to set up a simple sound card
Hmm... I was a bit too fast there... > aplay -L > null > Discard all samples (playback) or generate zero samples (capture) > pulse > PulseAudio Sound Server Can you try playing through pulseaudio with: aplay -D pulse test.wav ? Regards /R -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Help to set up a simple sound card
Yó napot kivánok! Take a look at https://alsa.opensrc.org/Dmix , dmix is the ALSA plugin you should use for this. Regards /Robert > -Original Message- > From: Csányi Pál [mailto:csanyi...@gmail.com] > Sent: den 10 februari 2018 12:02 > To: Alsa User> Subject: [Alsa-user] Help to set up a simple sound card > > Hi, > > I am on Gentoo Linux system. > > I am trying to set up my soundcard so I can listen sound from multiple > application at once. > > aplay -L > null > Discard all samples (playback) or generate zero samples (capture) > pulse > PulseAudio Sound Server > sysdefault:CARD=PCH > HDA Intel PCH, ALC269VB Analog > Default Audio Device > front:CARD=PCH,DEV=0 > HDA Intel PCH, ALC269VB Analog > Front speakers > surround21:CARD=PCH,DEV=0 > HDA Intel PCH, ALC269VB Analog > 2.1 Surround output to Front and Subwoofer speakers > surround40:CARD=PCH,DEV=0 > HDA Intel PCH, ALC269VB Analog > 4.0 Surround output to Front and Rear speakers > surround41:CARD=PCH,DEV=0 > HDA Intel PCH, ALC269VB Analog > 4.1 Surround output to Front, Rear and Subwoofer speakers > surround50:CARD=PCH,DEV=0 > HDA Intel PCH, ALC269VB Analog > 5.0 Surround output to Front, Center and Rear speakers > surround51:CARD=PCH,DEV=0 > HDA Intel PCH, ALC269VB Analog > 5.1 Surround output to Front, Center, Rear and Subwoofer speakers > surround71:CARD=PCH,DEV=0 > HDA Intel PCH, ALC269VB Analog > 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers > hdmi:CARD=PCH,DEV=0 > HDA Intel PCH, HDMI 0 > HDMI Audio Output > > aplay --list-devices > List of PLAYBACK Hardware Devices > card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog] > Subdevices: 0/1 > Subdevice #0: subdevice #0 > card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > > I am running always Firefox web browser which uses pulseaudio: > "Since version 52, Firefox has made PulseAudio a hard requirement and > dropped support for direct output to ALSA. To enable sound in these > versions of Firefox enable the pulseaudio USE flag." > > So when eg. I try to run this: > aplay -D hw:0,0 test.wav > I get this: > aplay: main:786: audio open error: Device or resource busy > > How to solve this problem? > > In this case what should I put into ~/.asoundrc to can listen sound > from multiple application at once? > > -- > Best, Pali > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Alsa-user mailing list > Alsa-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/alsa-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] Help to set up a simple sound card
Hi, I am on Gentoo Linux system. I am trying to set up my soundcard so I can listen sound from multiple application at once. aplay -L null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server sysdefault:CARD=PCH HDA Intel PCH, ALC269VB Analog Default Audio Device front:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog Front speakers surround21:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers hdmi:CARD=PCH,DEV=0 HDA Intel PCH, HDMI 0 HDMI Audio Output aplay --list-devices List of PLAYBACK Hardware Devices card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 I am running always Firefox web browser which uses pulseaudio: "Since version 52, Firefox has made PulseAudio a hard requirement and dropped support for direct output to ALSA. To enable sound in these versions of Firefox enable the pulseaudio USE flag." So when eg. I try to run this: aplay -D hw:0,0 test.wav I get this: aplay: main:786: audio open error: Device or resource busy How to solve this problem? In this case what should I put into ~/.asoundrc to can listen sound from multiple application at once? -- Best, Pali -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user