Discussion:
audiocfg test works but no sound with mplayer; earphones work
(too old to reply)
Mayuresh
2013-05-11 16:14:47 UTC
Permalink
I recently changed my hardware and audio on NetBSD stopped working. Would
appreciate some help.

Following are some details:

This is on NetBSD 6.0 on i386.

Following test shows sound working:

#audiocfg test 0
0: [*] audio0 @ hdafg0: Sigmatel product 76df, 2 playback channels
testing channel 0... done
testing channel 1... done

The left and right speakers create sound at respective step.

Sound using flash plugin works in firefox.

With mplayer / espeak, there is no sound from the speaker, but with
earphones it works. So I think there is no codec related issue.

#dmesg | grep -i audi
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0: Sigmatel product 76df
audio0 at hdafg0: full duplex, playback, capture, independent
hdvsmfg at hdaudio0 not configured
hdafg1 at hdaudio0: Intel product 2806


#audioctl -a
name=Sigmatel
version=product 76df
config=01h
encodings=slinear_le:16,slinear_be:16*,ulinear_le:16*,ulinear_be:16*,mulaw:8*,alaw:8*,slinear_le:32,slinear_be:32*,ulinear_le:32*,ulinear_be:32*,ac3:16
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=8192
hiwat=8
lowat=1
monitor_gain=0
mode=
play.rate=44100
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=254
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=8192
play.samples=336960
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
<snipped record settings>

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Pierre Pronchery
2013-05-11 17:21:27 UTC
Permalink
Post by Mayuresh
I recently changed my hardware and audio on NetBSD stopped working. Would
appreciate some help. [...]
With mplayer / espeak, there is no sound from the speaker, but with
earphones it works. So I think there is no codec related issue.
Have you tried different drivers with mplayer? You might have more luck
with either "-ao sun", "-ao oss" or possibly "-ao sdl" (use "-ao help"
for the full list).

HTH,
--
khorben


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Mayuresh
2013-05-12 03:02:46 UTC
Permalink
Post by Pierre Pronchery
Post by Mayuresh
I recently changed my hardware and audio on NetBSD stopped working. Would
appreciate some help. [...]
With mplayer / espeak, there is no sound from the speaker, but with
earphones it works. So I think there is no codec related issue.
Have you tried different drivers with mplayer? You might have more luck
with either "-ao sun", "-ao oss" or possibly "-ao sdl" (use "-ao help"
for the full list).
Thanks.

sun works, but with sun I can't advance the stream with left and right
with cursor keys. It says audio device is stuck.

Default is oss where mplayer shows it is playing, I can move back and
forth in the stream, but there is no sound, except in the earphones.

Only other device shown by -ao help is mpegpes. which doesn't work.

Also, with espeak, I do not find an option to change the driver.

Mayuresh

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...