On Wed, 29 Jun 2011 18:40:27 +0200
Alexandre Ratchov <[email protected]> wrote:

> On Wed, Jun 29, 2011 at 07:15:46PM +0300, Rares Aioanei wrote:
> > Hi , 
> > 
> > I have an audio biggie with my old laptop, which can't seem to play
> > audio (mp3,ogg) or video (the sound part) (flv) with mplayer ,
> > mpg321 , xmms or mp3blaster. The sound is choppy, all I get is
> > noise. From what I've read (google) there were some issues of the
> > kind a few years ago, but no recent problem reports similar to mine
> > exist. I start aucat as root with "nice -n 20 aucat -l -b 7000 -m
>                                    ^^^^^^^^^^
> 
> this should be 'nice -n -20 ... ', anyway this is not necessary any
> longer aucat cranks its priority.
Yes, typo.
> 
> > play -f /dev/audio0" then "mplayer (or other players) <filename>"
>        ^^^^^^^^^^^^^^
> 
> should be -fsun:0

Changed it.
> 
> > . I searched the misc@ archives to no end.
> >
> > Even if I start aucat only with the -l flag (without the other
> > options), the result is the same. The CPU load does not spike while
> > playing, nor after. I've played audio/video on this machine in the
> > past without issues, even though it's somewhat underpowered. Here's
> > the dmesg and sorry if I wasn't clear enough.
> 
> does it work without aucat?

Nope.
> 
> If it doesn't, what do successive invocations of ``audioctl'' display
> during playback?
> 
name=CS4280
version=
config=cs4280
encodings=ulinear:8:1:1,mulaw:8:1:1*,alaw:8:1:1*,slinear:8:1:1,slinear_le:16:2:1,ulinear_le:16:2:1,slinear_be:16:2:1,ulinear_be:16:2:1
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=2048
hiwat=25
lowat=24
output_muted=0
monitor_gain=0
mode=play
play.rate=44100
play.sample_rate=44100
play.channels=2
play.precision=16
play.bps=2
play.msb=1
play.encoding=slinear_le
play.gain=255
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=49152
play.samples=5545984
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=1
play.active=1
play.buffer_size=65536
play.block_size=2048
play.errors=0
record.rate=48000
record.sample_rate=48000
record.channels=2
record.precision=16
record.bps=2
record.msb=1
record.encoding=slinear_le
record.gain=191
record.balance=32
record.port=0x1
record.avail_ports=0x7
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.block_size=8192
record.errors=0

And a diff between two consecutive audioctl's :

25,26c25,26
< play.seek=49152
< play.samples=5545984
---
> play.seek=47104
> play.samples=5748736


> -- Alexandre
> 


-- 
Rares Aioanei

Reply via email to