Re: no pulse audio- so now new sound trouble

2015-08-25 Thread Nicolas George
Le septidi 7 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
 recording doesn't work,

Dos your Audioengine 2+ device even have recording capabilities?

 and there is not mixer in set-up.

I do not understand what it means.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: no pulse audio- so now new sound trouble

2015-08-25 Thread briand
On Tue, 25 Aug 2015 10:57:25 +0200
Nicolas George geo...@nsup.org wrote:

 Le septidi 7 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
  recording doesn't work,
 
 Dos your Audioengine 2+ device even have recording capabilities?
 
and there is not mixer in set-up.
 
 I do not understand what it means.
 

oh, right. ignore the recording error. 

however, i don't believe there is a mixer set-up because i can only play audio 
from one source at a time.


Brian



Re: no pulse audio- so now new sound trouble

2015-08-24 Thread briand
On Sun, 23 Aug 2015 18:44:01 +0200
Nicolas George geo...@nsup.org wrote:

 Le sextidi 6 fructidor, an CCXXIII, Anthony Maples a écrit :
  In that case, you probably need the dmix plugin.  I have it setup on my
  laptop like this in /etc/asound.conf:
 
 No, no, no! Why do people not leave the default config alone?!?
 
 The default config already has all the plugins anyone needs for normal use,
 including dmix for sharing between applications and plug to convert any
 input format to a format supported by the hardware.
 
 Only ever write a .asoundrc file if you REALLY know what you are doing.
 
 For reference, your configuration breaks recording, you can observe that
 with:
 
 arecord /tmp/dummy.wav
 

you mean like this :

ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:722: audio open error: No such file or directory


There's just one problem.  I do NOT have a .asoundrc file, nor do i have an 
/etc/asound.conf

echo $ALSA_CARD
A2

recording doesn't work, and there is not mixer in set-up.


Brian



Re: no pulse audio- so now new sound trouble

2015-08-23 Thread Nicolas George
Le sextidi 6 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
 i've also seen that i can't play sound from more than one source at a
 time, this may have contributed to the doesn't play in iceweasel symptom
 since i'm almost always playing something on audacious in the background.

If you do not disable plugins with a ill-thought ~/.asoundrc, the default
configuration adds a dmix plugin that allows several applications to share
the device.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: no pulse audio- so now new sound trouble

2015-08-23 Thread Nicolas George
Le sextidi 6 fructidor, an CCXXIII, Anthony Maples a écrit :
 Then how do you specify the default card?

It was mentioned in this very thread:

1. If your preferred sound controller is internal, you can control the order
of the devices using modules options:

To select the order of the drivers:

options snd slots=snd-hda-intel,snd-ens1371

To select the order of the devices for one particular device (your case):

options snd-hda-intel index=1,0

2. If you need a more dynamic setup, for example to use a removable
controller by default, use the ALSA_CARD environment variable.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: no pulse audio- so now new sound trouble

2015-08-23 Thread briand
On Sun, 23 Aug 2015 18:34:55 +0200
Nicolas George geo...@nsup.org wrote:

 Le sextidi 6 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
  i've also seen that i can't play sound from more than one source at a
  time, this may have contributed to the doesn't play in iceweasel symptom
  since i'm almost always playing something on audacious in the background.
 
 If you do not disable plugins with a ill-thought ~/.asoundrc, the default
 configuration adds a dmix plugin that allows several applications to share
 the device.
 
 Regards,
 

how do i check what the configuration is to know that this has been done ?

Brian



Re: no pulse audio- so now new sound trouble

2015-08-23 Thread Anthony Maples
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/23/2015 12:32 PM, bri...@aracnet.com wrote:
 On Sun, 23 Aug 2015 10:10:44 +0200
 Nicolas George geo...@nsup.org wrote:
 
 Le quintidi 5 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
 cat .asoundrc
 ctl.!default {
 type hw
 card A2
 }

 So you are killing all the plugins: back to square one. This is not t
he
 correct solution.

 The default configuration already uses the ALSA_CARD to select the de
fault
 card.

 
 except my ALSA_CARD variable was not set. It is now.
 
 i've also seen that i can't play sound from more than one source at a 
time, this may have contributed to the doesn't play in iceweasel sympt
om since i'm almost always playing something on audacious in the backgro
und.
 
 
 
 Brian
 

In that case, you probably need the dmix plugin.  I have it setup on my
laptop like this in /etc/asound.conf:

pcm.internal {
type hw
card 1
}
ctl.internal {
type hw
card 1
}

pcm.internalDmix {
type dmix
slave {
pcm internal
}
}


pcm.!default {
type plug
slave {
pcm internalDmix
}
}

ctl.!default {
type hw
card 1
}

Just change the card number to match your system, and (hopefully) you
should be good to go.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJV2fbfAAoJEKsIo3dIjvw7+dcH/j1MW2pBB5urpl5ml54VoT6Y
FPydidKnwz4nyJOKt0KwDQx1vUzPnL7q+bdSYFwMhKZKEFNRuTkylvTUTE2i8Vx8
vdOwpYH9opG+0E2yQynYejPmlwdjU8xUPFyW+dFhVUFnvconeVMwHuFCyKqs4JGk
BH6qxnJDK5E1FNNHR2GB8wEIHApNGvdyKYqHwTGe3RlPt3NllFZvUUT7LmildyOq
rAtOuxKaGrKtGy/HYiaJEloaaqQ4pBDbvoW3LPLwlLq3UVsADlEJaLmmaiHc0tEw
39ogtVJcVGyJOiBmEfAVPM/HAyCucFfZ8SQXzyXo5g96rmpU+yNlAucuTL6fLBs=
=2U3n
-END PGP SIGNATURE-



Re: no pulse audio- so now new sound trouble

2015-08-23 Thread Anthony Maples
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/23/2015 12:44 PM, Nicolas George wrote:
 Le sextidi 6 fructidor, an CCXXIII, Anthony Maples a écrit :
 In that case, you probably need the dmix plugin.  I have it setup on 
my
 laptop like this in /etc/asound.conf:
 
 No, no, no! Why do people not leave the default config alone?!?
 
 The default config already has all the plugins anyone needs for normal
 use,
 including dmix for sharing between applications and plug to convert an
y
 input format to a format supported by the hardware.
 
 Only ever write a .asoundrc file if you REALLY know what you are doing
.
 
 For reference, your configuration breaks recording, you can observe th
at
 with:
 
 arecord /tmp/dummy.wav
 
 Regards,
 

Then how do you specify the default card?  This laptop has a HDMI port
as well as the standard internal audio and headphone jack.  If I'm
understanding this correctly, it views them as two separate sound cards:

[anthony@newerLaptop ~]$ aplay -l
 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: ALC3223 Analog [ALC3223 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
[anthony@newerLaptop ~]$

With no /etc/asound.conf or ~/.asoundrc, it doesn't play anything out of
the internal speakers or the headphone jack, and alsamixer shows the
HDMI out as the default audio device.  I've never had a chance to test
this, but I'd bet that when I try to play something it goes out the HDMI
audio, which I don't use 99% of the time.  Since I very rarely use my
microphone, I've never noticed if it worked or not, though your test
proved that it didn't work.

So what would your solution be?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJV2ftcAAoJEKsIo3dIjvw7aBYIALpDsMcbPI6b31yAlanFvC7Z
uM7i0ZokoZBTkmZAixts2JJgPrLA4qbLe0iTpVb1FTE8xRCLzq54b5SBKIaYijsE
I3GZAjH95evNXUEs9pQ0pI1g3olxgkMjETVnJIo1nEdp85RBF2Q5+SlYIrW/fjo5
agOr5zwrnNQL0NFVYhpedmAUqrEQmXk8bw4BJMxwZU7QRt7uxK6no6uI0q4Nytqr
540D8/FlkDBIQ08dltKpFlrdgnw6ZbYlpl20pojOgnbO0D4ZE4ue8MMJ6EHSTrBo
a7bWDY+FhNRY7quXPt7dbgSFWdm2UYsBLzlSM7+FXvLqiARrnxiT/0li+2zBiWw=
=1zKC
-END PGP SIGNATURE-



Re: no pulse audio- so now new sound trouble

2015-08-23 Thread Nicolas George
Le sextidi 6 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
 how do i check what the configuration is to know that this has been done ?

You try to read /usr/share/alsa/, and observe it is quite complex.

Or you just try, getting rid of all bogus ~/.asoundrc and pulseaudio, just
setting $ALSA_CARD or the order of the modules, and observe it just works,
including playing strange formats, playing several sounds at once and
recording.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: no pulse audio- so now new sound trouble

2015-08-23 Thread Nicolas George
Le quintidi 5 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
 cat .asoundrc
 ctl.!default {
 type hw
 card A2
 }

So you are killing all the plugins: back to square one. This is not the
correct solution.

The default configuration already uses the ALSA_CARD to select the default
card.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: no pulse audio- so now new sound trouble

2015-08-23 Thread briand
On Sun, 23 Aug 2015 10:10:44 +0200
Nicolas George geo...@nsup.org wrote:

 Le quintidi 5 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
  cat .asoundrc
  ctl.!default {
  type hw
  card A2
  }
 
 So you are killing all the plugins: back to square one. This is not the
 correct solution.
 
 The default configuration already uses the ALSA_CARD to select the default
 card.
 

except my ALSA_CARD variable was not set. It is now.

i've also seen that i can't play sound from more than one source at a time, 
this may have contributed to the doesn't play in iceweasel symptom since i'm 
almost always playing something on audacious in the background.



Brian



Re: no pulse audio- so now new sound trouble

2015-08-23 Thread Nicolas George
Le sextidi 6 fructidor, an CCXXIII, Anthony Maples a écrit :
 In that case, you probably need the dmix plugin.  I have it setup on my
 laptop like this in /etc/asound.conf:

No, no, no! Why do people not leave the default config alone?!?

The default config already has all the plugins anyone needs for normal use,
including dmix for sharing between applications and plug to convert any
input format to a format supported by the hardware.

Only ever write a .asoundrc file if you REALLY know what you are doing.

For reference, your configuration breaks recording, you can observe that
with:

arecord /tmp/dummy.wav

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: no pulse audio- so now new sound trouble

2015-08-23 Thread Anthony Maples
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/23/2015 01:06 PM, Nicolas George wrote:
 Le sextidi 6 fructidor, an CCXXIII, Anthony Maples a écrit :
 Then how do you specify the default card?
 
 It was mentioned in this very thread:
 
 1. If your preferred sound controller is internal, you can control
 the order of the devices using modules options:
 
 To select the order of the drivers:
 
 options snd slots=snd-hda-intel,snd-ens1371
 
 To select the order of the devices for one particular device (your
 case):
 
 options snd-hda-intel index=1,0
 
 2. If you need a more dynamic setup, for example to use a
 removable controller by default, use the ALSA_CARD environment
 variable.
 
 Regards,
 

OK, now I feel stupid.  That worked perfectly.  Thanks. :D
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJV2gC2AAoJEKsIo3dIjvw7I10H/i6TX7Rd+3hnWjemTxXiXM3w
pz4hAK7C6zPJ+eaFWSipBFwWiDiwrMFA8hSECWkNPKQE29e0MYmFR1wauCof5yH3
CDDKNFPIo91dYAcoppRTAAaEaqVZJIu8u2w443HNtvoR7ShmFxde1n1Jn3d/goZo
3yuijBJ3kpANcGxs64sjuf/Mzt1Y7jFDyGetUNE58HvHPG7GF66b+ZYHYuyRmtkQ
6cNyKIiXBipbvx8AlHN/dQ8GDgp8UTn1Ud7OwbQJTX157vzGAbYtJVsP74BqL/Jf
7SKAWcqtFMmitWeOkJpfjQU3ZkXprAW/L5j1TEVxFaNCfOutkqWCXzSGV8uLkDk=
=kRMS
-END PGP SIGNATURE-



Re: no pulse audio- so now new sound trouble

2015-08-22 Thread Nicolas George
Le quintidi 5 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
 ok. now i get it .  i was confused by the link to the web-page you posted.
 it seemed to indicate that you could get aplay to perform the conversion
 by specifying the format with the -f option. clearly it can't do that.

The -f option specifies what format to assume from the file if it is not
specified by the header. WAVE files have a header that specify the format;
obviously, /dev/urandom (although if you are really lucky you could get
Citizen Kane in Matroska/Daala/Opus from it; and Daala 1.0's source code).

 this is very interesting, because if aplay can't convert the file format,
 how is it getting converted ??

ALSA does the conversion, more precisely the plugin called plug. Adding
the -D hw:0 option to aplay instructs it not to use any plugin. When
things work, plugins help them working smoothly; when things do not work,
plugins make it harder to understand.

 also, i forgot to mention that I also put the following in  
 /etc/modprobe.d/alsa/base.conf
 
 options snd slots=snd_usb_audio,snd_hda_intel,snd_hda_intel
 options snd_usb_audio index=0 vid=0x08bb pid=0x2704
 
 My understanding is that this will cause the modules to be loaded in a
 fixed order which would make the HW designations consistent.

If possible, although I suspect it will have trouble working reliably with
an USB device.

 I believe now that's unnecessary since i'm now using card A2 in my
 .asoundrc file.

You should show the resulting .asoundrc file, because it is very easy to
break things in it.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: no pulse audio- so now new sound trouble

2015-08-22 Thread briand
On Sat, 22 Aug 2015 19:10:48 +0200
Nicolas George geo...@nsup.org wrote:

 Le quintidi 5 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
  yes i did. and the post is still in my inbox.
 
 So not in this particular mail, yet you quoted the request for information.
 You have to realize that this thread may be the most important for you in
 the mailing list, but not for others.

as you previously stated :

 Can you post the output of aplay -l and the contents of
 /etc/asound.conf and ~/.asoundrc?
   

which i then followed up with a post that had the information.
then you said:

 Do you realize you did not provide the requested information that would help
 troubleshooting your problem?

so i posted it again.

then, apparently you're now upset that i did that.

regardless, we seem to have gotten past that.

 
  Warning: format is changed to U8
 
  lol. i specify the format it's telling me is available and it tells me the 
  format is not available.
 
 Read the error messages.

ok. now i get it .  i was confused by the link to the web-page you posted. it 
seemed to indicate that you could get aplay to perform the conversion by 
specifying the format with the -f option. clearly it can't do that.

 
 WAVE files have a built-in type, you can not override it. Use a raw file,
 for example /dev/urandom.

very helpful. i didn't know you could do that.  i guess aplay just plays the 
bytes.

 
  .asoundrc
  
  pcm.!default {
  type hw
  card 2
  }
 
 Get rid of that.
 

Interesting.  I absolutely tried that before, as per the instructions in your 
previous post, and it didn't help in iceweasel. I suspect i forgot to restart 
iceweasel.

so now that _does_ fix  the aplay problem, both on the command line and in 
iceweasel !

excellent !!

this is very interesting, because if aplay can't convert the file format, how 
is it getting converted ??

also, i forgot to mention that I also put the following in  
/etc/modprobe.d/alsa/base.conf

options snd slots=snd_usb_audio,snd_hda_intel,snd_hda_intel
options snd_usb_audio index=0 vid=0x08bb pid=0x2704


My understanding is that this will cause the modules to be loaded in a fixed 
order which would make the HW designations consistent.  I believe now that's 
unnecessary since i'm now using card A2 in my .asoundrc file.

Thank you,

Brian



Re: no pulse audio- so now new sound trouble

2015-08-22 Thread briand
On Sun, 23 Aug 2015 00:36:04 +0200
Nicolas George geo...@nsup.org wrote:

 Le quintidi 5 fructidor, an CCXXIII, bri...@aracnet.com a écrit :

  I believe now that's unnecessary since i'm now using card A2 in my
  .asoundrc file.
 
 You should show the resulting .asoundrc file, because it is very easy to
 break things in it.
 

cat .asoundrc
ctl.!default {
type hw
card A2
}


Brian



Re: no pulse audio- so now new sound trouble

2015-08-22 Thread briand
On Sat, 22 Aug 2015 17:33:28 +0200
Nicolas George geo...@nsup.org wrote:

 Le quintidi 5 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
   Can you post the output of aplay -l and the contents of
   /etc/asound.conf and ~/.asoundrc?
 
 Do you realize you did not provide the requested information that would help
 troubleshooting your problem?

yes i did. and the post is still in my inbox.  i've attached it again to the 
end of this email.


 
  I was trying to play something in the browser and noticed that it was 
  invoking aplay.
 
 That is rather surprising from the browser, but trying aplay is the right
 thing to do.
 
  so i downloaded the audiofile and tried to play it on the command line and 
  got this :
  
  Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
  aplay: set_params:1233: Sample format non available
  Available formats:
  - S16_LE
  
  another one of those problems that shows up all over the place, but no one 
  seems to be able to fix.
 
 I have given information on how to use aplay to investigate sound trouble in
 this mail:
 
 https://lists.debian.org/debian-user/2015/07/msg00648.html

aplay -f S16_LE -c 2 -r 48000 test.wav
Warning: format is changed to U8
Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
aplay: set_params:1233: Sample format non available
Available formats:
- S16_LE

lol. i specify the format it's telling me is available and it tells me the 
format is not available.

 
 You also could have searched sample format in the man page for aplay(1).

sure, transcoding the file on the command line is no problem.

the problem is that iceweasel won't know how to transcode.

interestingly _some_ audio links DO play in iceweasel, but most don't.

youtube in particular does NOT work, and i am NOT using flash.

Thanks for your help,

Brian


i have no /etc/asound.conf because I am under the impression that if i had a 
~/.asoundrc i didn't need it.

.asoundrc

pcm.!default {
type hw
card 2
}

ctl.!default {
type hw   
card 2
}

 List of PLAYBACK Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: A2 [Audioengine 2+], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0



Re: no pulse audio- so now new sound trouble

2015-08-22 Thread Nicolas George
Le quintidi 5 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
 yes i did. and the post is still in my inbox.

So not in this particular mail, yet you quoted the request for information.
You have to realize that this thread may be the most important for you in
the mailing list, but not for others.

 Warning: format is changed to U8

 lol. i specify the format it's telling me is available and it tells me the 
 format is not available.

Read the error messages.

WAVE files have a built-in type, you can not override it. Use a raw file,
for example /dev/urandom.

 .asoundrc
 
 pcm.!default {
   type hw
   card 2
 }

Get rid of that.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: no pulse audio- so now new sound trouble

2015-08-22 Thread Nicolas George
Le quintidi 5 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
  Can you post the output of aplay -l and the contents of
  /etc/asound.conf and ~/.asoundrc?

Do you realize you did not provide the requested information that would help
troubleshooting your problem?

 I was trying to play something in the browser and noticed that it was 
 invoking aplay.

That is rather surprising from the browser, but trying aplay is the right
thing to do.

 so i downloaded the audiofile and tried to play it on the command line and 
 got this :
 
 Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
 aplay: set_params:1233: Sample format non available
 Available formats:
 - S16_LE
 
 another one of those problems that shows up all over the place, but no one 
 seems to be able to fix.

I have given information on how to use aplay to investigate sound trouble in
this mail:

https://lists.debian.org/debian-user/2015/07/msg00648.html

You also could have searched sample format in the man page for aplay(1).

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: no pulse audio- so now new sound trouble

2015-08-22 Thread briand
On Wed, 19 Aug 2015 20:00:01 -0400
Anthony Maples anthonym7...@gmail.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 On 08/19/2015 12:13 AM, bri...@aracnet.com wrote:
  
  Audacious works because it allows me to select the audio device.
  
  However playing audio in iceweasel does not work.
  
  Why not ?
  
  Who the heck knows.
  
  Humorously i think that's the reason i installed pulse-audio in
  the first place.
  
  Been going through the usual sources- nothing works so far.
  
  Any ideas ?
  
  
  Brian
  
 
 Can you post the output of aplay -l and the contents of
 /etc/asound.conf and ~/.asoundrc?
 
 My thought is that you have multiple sound cards and ALSA by default is
 selecting the wrong one.  Are other programs (ones that don't let you
 select the sound card/audio device) having the same issue?

I was trying to play something in the browser and noticed that it was invoking 
aplay.

so i downloaded the audiofile and tried to play it on the command line and got 
this :

Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
aplay: set_params:1233: Sample format non available
Available formats:
- S16_LE

another one of those problems that shows up all over the place, but no one 
seems to be able to fix.

(and yes the answer is to invoke some sort of resampling, but that's not very 
useful if iceweasel doesn't know that)

Brian



Re: no pulse audio- so now new sound trouble

2015-08-20 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Aug 19, 2015 at 11:07:11PM -0700, bri...@aracnet.com wrote:
 On Thu, 20 Aug 2015 07:34:30 +0200

[...]

 i'll give it a try.
 again notice that this is a problem report from 3 years ago.
 
 this is a persistent problem, and almost certainly the reason i probably 
 installed pulse audio.

Perhaps I should try to get some sound out of my browser, just
to check this...

regards
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlXVfU8ACgkQBcgs9XrR2kZ2HACfUa1jrS2IJSN2WacegKlUg8JD
xJIAniNjC/0KI/Ryg643MKfhLgZ3vowy
=jrRh
-END PGP SIGNATURE-



Re: no pulse audio- so now new sound trouble

2015-08-20 Thread briand
On Thu, 20 Aug 2015 07:34:30 +0200
to...@tuxteam.de wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Wed, Aug 19, 2015 at 07:06:50PM -0700, bri...@aracnet.com wrote:
  On Wed, 19 Aug 2015 07:25:09 +0200
  to...@tuxteam.de wrote:
  
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1
   
   On Tue, Aug 18, 2015 at 09:13:20PM -0700, bri...@aracnet.com wrote:

Audacious works because it allows me to select the audio device.

However playing audio in iceweasel does not work.
   
   Have you tried to select the sound card with alsamixer?
   
  
  i forgot to say, the correct audio output comes up as default device in 
  alsamixer.
 
 This sounds bizarre. The only hit I find in the intratubes matching
 what you describe is here:
 
   http://crunchbang.org/forums/viewtopic.php?id=20271
 
 which might be interpreted as the browser is using slot 0, regardless
 of what the user chooses. I still can't quite believe that, but it
 might something to try.

i'll give it a try.
again notice that this is a problem report from 3 years ago.

this is a persistent problem, and almost certainly the reason i probably 
installed pulse audio.

Brian



Re: no pulse audio- so now new sound trouble

2015-08-20 Thread briand
On Thu, 20 Aug 2015 10:08:40 +0200
Nicolas George geo...@nsup.org wrote:

 Le duodi 2 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
  .asoundrc
  
  pcm.!default {
  type hw
  card 2
  }
 
 With this, you are bypassing all the ALSA plugin infrastructure. In
 particular, you are bypassing the dmix plugin that allows to share the sound
 device between several processes without a server. If some process happens
 to keep the sound device open, it blocks any other process from playing
 sound.
 
 You also are bypassing the plug plugin responsible for converting the input
 into a format acceptable by the hardware.
 

ok.

i deleted that from my file.

it was no help.

Brian



Re: no pulse audio- so now new sound trouble

2015-08-20 Thread Nicolas George
Le duodi 2 fructidor, an CCXXIII, bri...@aracnet.com a écrit :
 .asoundrc
 
 pcm.!default {
   type hw
   card 2
 }

With this, you are bypassing all the ALSA plugin infrastructure. In
particular, you are bypassing the dmix plugin that allows to share the sound
device between several processes without a server. If some process happens
to keep the sound device open, it blocks any other process from playing
sound.

You also are bypassing the plug plugin responsible for converting the input
into a format acceptable by the hardware.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: no pulse audio- so now new sound trouble

2015-08-19 Thread briand
On Wed, 19 Aug 2015 20:00:01 -0400
Anthony Maples anthonym7...@gmail.com wrote:


 Can you post the output of aplay -l and the contents of
 /etc/asound.conf and ~/.asoundrc?
 

I sure can:

i have no /etc/asound.conf because I am under the impression that if i had a 
~/.asoundrc i didn't need it.

.asoundrc

pcm.!default {
type hw
card 2
}

ctl.!default {
type hw   
card 2
}

 List of PLAYBACK Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: A2 [Audioengine 2+], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Brian



Re: no pulse audio- so now new sound trouble

2015-08-19 Thread briand
On Wed, 19 Aug 2015 07:25:09 +0200
to...@tuxteam.de wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Tue, Aug 18, 2015 at 09:13:20PM -0700, bri...@aracnet.com wrote:
  
  Audacious works because it allows me to select the audio device.
  
  However playing audio in iceweasel does not work.
 
 Have you tried to select the sound card with alsamixer?
 

i forgot to say, the correct audio output comes up as default device in 
alsamixer.



Re: no pulse audio- so now new sound trouble

2015-08-19 Thread Anthony Maples
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/19/2015 12:13 AM, bri...@aracnet.com wrote:
 
 Audacious works because it allows me to select the audio device.
 
 However playing audio in iceweasel does not work.
 
 Why not ?
 
 Who the heck knows.
 
 Humorously i think that's the reason i installed pulse-audio in
 the first place.
 
 Been going through the usual sources- nothing works so far.
 
 Any ideas ?
 
 
 Brian
 

Can you post the output of aplay -l and the contents of
/etc/asound.conf and ~/.asoundrc?

My thought is that you have multiple sound cards and ALSA by default is
selecting the wrong one.  Are other programs (ones that don't let you
select the sound card/audio device) having the same issue?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJV1Rh+AAoJEKsIo3dIjvw7c58H/RhQd1EFf9BoLIGkTMu/KSN8
jnT+mYvUVnOu2yQw92QwXmI+iDdWMNAoF85/gEsbFqV6PCRINcPU0510pwF/3bzm
Xew6F2i/3vMgJnpURO77htkWExvNMl4re8ekRY9z5je2kl7PgnxKAUM0gjiRBH/M
k0PEJ+5JPGTj7RylcEs9y+0JhzBNDldjaHDcuLWF+l4/+GRrGUjLuufKZ3xryeM0
8NSJlq7EwS+BoaWaIW/oZ80qB5baer2sL3bzU5Kq0K08K5YD7tPHVz5DszcQHeyr
OuMgUdVIKAKE/vDvJCvl6KX3CUTxWTcZ+RQYoceuWHW2q/WQ3G34z/VZT0+vTPA=
=YoaJ
-END PGP SIGNATURE-



Re: no pulse audio- so now new sound trouble

2015-08-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Aug 19, 2015 at 07:06:50PM -0700, bri...@aracnet.com wrote:
 On Wed, 19 Aug 2015 07:25:09 +0200
 to...@tuxteam.de wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  On Tue, Aug 18, 2015 at 09:13:20PM -0700, bri...@aracnet.com wrote:
   
   Audacious works because it allows me to select the audio device.
   
   However playing audio in iceweasel does not work.
  
  Have you tried to select the sound card with alsamixer?
  
 
 i forgot to say, the correct audio output comes up as default device in 
 alsamixer.

This sounds bizarre. The only hit I find in the intratubes matching
what you describe is here:

  http://crunchbang.org/forums/viewtopic.php?id=20271

which might be interpreted as the browser is using slot 0, regardless
of what the user chooses. I still can't quite believe that, but it
might something to try.

CAVEAT: I've no experience myself with that. I'm happy my browser is
silent and definitely prefer other applications to play sound. Should
my browser start making sounds, I'd tend to consider that as a bug
and fix it :-)

Regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlXVZuYACgkQBcgs9XrR2kZUTwCfebdbDN2X0B7K2/iQKxWE60R+
61oAn0+1Nwoo5mg5dc/XNxg4QJPNIY0m
=vVrM
-END PGP SIGNATURE-



Re: no pulse audio- so now new sound trouble

2015-08-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 18, 2015 at 09:13:20PM -0700, bri...@aracnet.com wrote:
 
 Audacious works because it allows me to select the audio device.
 
 However playing audio in iceweasel does not work.

Have you tried to select the sound card with alsamixer?

Regards
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlXUEzUACgkQBcgs9XrR2kZ8UwCfRKVgPxY8/wBtLkb5VOStc0JM
ODUAnRuWCBLNSgWrdLgoJm/LciBRYwhr
=WWcf
-END PGP SIGNATURE-