Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-14 Thread Andoru Ekkusu
> Did you tried simply something like (from my /etc/asound.conf) :
>
> pcm.!default {
>  type plug
>  slave.pcm "dmix"
> }
> ctl.!default {
>  type hw
>  card 0
> }
>
> Also before change asound.conf, you can test dmix with command $aplay
> file.wav -Dplug:dmix
>
> Regards,
> VV
>

I now changed that from "card 0" to 1, and now sound comes through the
analog jack instead of HDMI, but now when I try to run aplay, I get the same
message as before, both when I use -Dplug:dmix, and when I don't:

ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
aplay: main:722: audio open error: No such file or directory


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-06 Thread Andoru Ekkusu
> 
> This older thread might help you, Philip Rhoades had a similar problem.
> 
> https://www.mail-archive.com/alsa-user 
lists.sourceforge.net/msg31403.html
> 

Sorry for the late reply and thanks for your suggestion! Unfortunately
though, with that configuration it still only one program can use the
soundcard at once...



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-06 Thread Andoru Ekkusu
Thanks for the answer, Vincent.

> Did you tried simply something like (from my /etc/asound.conf) :
> 
> pcm.!default {
>  type plug
>  slave.pcm "dmix"
> }
> ctl.!default {
>  type hw
>  card 0
> }

Yes, that causes ALSA to use the HDMI port (at least it's what I assume it
does, I can't hear anything through the headphone jack output).


> Also before change asound.conf, you can test dmix with command $aplay 
> file.wav -Dplug:dmix

$ aplay 01\ -\ Town.wav -Dplug:dmix
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
aplay: main:722: audio open error: No such file or directory

Playing the file without -Dplug:dmix plays the file as expected.


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-04 Thread Andoru Ekkusu

> Don't redefine pcm.default.  Put this into /etc/asound.conf or ~/.asoundrc:
> 
> defaults.pcm.card PCH
> defaults.ctl.card PCH
> 
> Regards,
> Clemens
> 

Thanks for the suggestion, however that causes sound to no longer work...

+
_
-


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-04 Thread Vincent Vanbesien (DIEHCO)

>> Don't redefine pcm.default.  Put this into /etc/asound.conf or ~/.asoundrc:
>>
>> defaults.pcm.card PCH
>> defaults.ctl.card PCH
>>
>> Regards,
>> Clemens
>>
> Thanks for the suggestion, however that causes sound to no longer work...
>
> +
Did you tried simply something like (from my /etc/asound.conf) :

pcm.!default {
 type plug
 slave.pcm "dmix"
}
ctl.!default {
 type hw
 card 0
}

Also before change asound.conf, you can test dmix with command $aplay 
file.wav -Dplug:dmix

Regards,
VV

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-02 Thread Andoru Ekkusu
> Run pavucontrol, and set the B85 as the default.
> 
> Please note that PulseAudio saves the last used card for each application.

Thanks for the reply. I forgot to mention in the original message that I'm
not using PulseAudio, so it's just ALSA to set up. Any way to set the
default soundcard, and not cause it to disable dmix?


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-02 Thread Clemens Ladisch
Andoru Ekkusu wrote:
> I'm not using PulseAudio, so it's just ALSA to set up. Any way to set
> the default soundcard, and not cause it to disable dmix?

Don't redefine pcm.default.  Put this into /etc/asound.conf or ~/.asoundrc:

defaults.pcm.card PCH
defaults.ctl.card PCH


Regards,
Clemens

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-02 Thread Paolo Bolzoni
This older thread might help you, Philip Rhoades had a similar problem.

https://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg31403.html

On Wed, Feb 3, 2016 at 5:16 AM, Andoru Ekkusu  wrote:
>> Run pavucontrol, and set the B85 as the default.
>>
>> Please note that PulseAudio saves the last used card for each application.
>
> Thanks for the reply. I forgot to mention in the original message that I'm
> not using PulseAudio, so it's just ALSA to set up. Any way to set the
> default soundcard, and not cause it to disable dmix?
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-02 Thread Clemens Ladisch
Andoru Ekkusu wrote:
> So I've been trying to fix this problem for a while now, but I can't seem to
> set up ALSA in a way to enable multiple sound sources at once (2 or more
> apps/programs to use the soundcard simultaneously).

Dmix is enabled by default.

> pcm.!default {
> type hw
> card PCH
> }

This disables dmix.

> I'm using an integrated soundcard (that's on a Intel B85 chipset), and
> I've set it to use the jack plug output instead of the HDMI one.

Run pavucontrol, and set the B85 as the default.

Please note that PulseAudio saves the last used card for each application.


Regards,
Clemens

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] dmix/software mixing doesn't work

2016-02-01 Thread Andoru Ekkusu
So I've been trying to fix this problem for a while now, but I can't seem to
set up ALSA in a way to enable multiple sound sources at once (2 or more
apps/programs to use the soundcard simultaneously). Despite having a dmix
entry in /etc/asound.conf, it still refuses to work the way I intend it to.
And speaking of which, here's how my asound.conf looks like:

_

pcm.!default {
type hw
card PCH
}

ctl.!default {
type hw
card PCH
}


pcm.dsp {
type plug
slave.pcm "dmix"
}

defaults.pcm.rate_converter "speexrate_medium"




And here's what 'aplay -l' gives me:



 List of PLAYBACK Hardware Devices 
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0



As you probably guessed, I'm using an integrated soundcard (that's on a
Intel B85 chipset), and I've set it to use the jack plug output instead of
the HDMI one.

Another issue that I'm having is that the sounds/music/etc that are supposed
to be outputted by Firefox, don't get played at all (like for example
add-ons that notify me when I get an e-mail, or HTML5 audio and/or video
players, or other such stuff). Curiously the flash player seems to be
unaffected by this issue, probably because it's stand-alone to the browser
itself.

Does anyone know a potential fix for this? 

Somebody over on the Debian forums (which is my distro of choice) said that
I should remove the dmix section from the config file since he/she doesn't
need it and he/she can play sounds from multiple sources. I tried that but
it hasn't changed anything...


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user