Click here to register.

Edit Message

Visitor Name
Subject
Message

Re: No sound

Hi Ken,

Thanks for the research and the detailed explanation.

What I meant was: "There is no user interface to do that". I didn't know about the config file.

 

Here is the output of my arecord:

~$ arecord --list-devices

**** List of CAPTURE Hardware Devices ****

card 0: NVidia [HDA NVidia], device 0: ALC883 Analog [ALC883 Analog]

Subdevices: 2/2

Subdevice #0: subdevice #0

Subdevice #1: subdevice #1

card 0: NVidia [HDA NVidia], device 1: ALC883 Digital [ALC883 Digital]

Subdevices: 1/1

Subdevice #0: subdevice #0

card 0: NVidia [HDA NVidia], device 2: ALC883 Analog [ALC883 Analog]

Subdevices: 2/2

Subdevice #0: subdevice #0

Subdevice #1: subdevice #1

card 1: default [AK5370 ], device 0: USB Audio [USB Audio]

Subdevices: 1/1

Subdevice #0: subdevice #0

 (AK5370 is another USB mic I have got to test this problem.)

 

I have added the line

javax.sound.sampled.TargetDataLine=#AudioPCI [plughw:1,0]

to /etc/java-6-sun/sound.properties but seems to have no effect.

The Java documentation http://java.sun.com/j2se/1.5.0/docs/guide/sound/programmer_guide/appendix2.html

 is very brief on this subject. And I couldn't find anything useful on Google either.

 

I will try the speakers now.

 

--Sergey