[alsa-devel] Destruction of the sound after prolonged output

Raymond Yau superquad.vortex2 at gmail.com
Fri Mar 18 03:05:53 CET 2011


2011/3/18 Максим <subjucha at gmail.com>

> Hi,
> My name is Max. I've got some problems using ALSA, a certain type of
> destruction of sound appears after a prolonged sound output. The
> destruction
> is like "bit crush", stutterings, interruptions, etc. Once started, it no
> longer stops. It starts almost always but only after a prolonged sound
> output, nearby 24 hours. To reproduce it shurely I use my test wav file and
> standard speaker-test utility with following options:
> speaker-test -t wav -w test.wav -r 16000
> I've attached test.wav to this mail.
>



>
> To reproduce this I use a fresh minimal installation of Ubuntu 10.10,
> command line only, with standard Ubuntu 2.6.35 generic kernel. Minimal
> installation is made by installing Ubuntu from an "alternate" version of
> the
> installation CD. It provide option "command line minimal install" that
> allow
> install only base system with command line. So there isn't any desktop
> applications like Gnome, Pulseaudio, etc. I've used standard Ubuntu package
> of ALSA with version 1.0.23, and also with compiled 1.0.24.
>
> I've tried to reproduce this behavior on Centos and Fedora (both in single
> mode, command line only) with Intel HDA chipset, and on Ubuntu with a
> Realtek chipset. The results was the same, sound destruction after a day of
> sound output.
>
> Above is the output of speaker-test with parameters:
> speaker-test -d -c 2 -t wav
> Before this command my sound test was used during about 6 hours to
> reproduce
> the sound destruction:
> speaker-test -t wav -w test.wav -r 16000
>
>
>
> Plug PCM: Linear conversion PCM (S32_LE)
> Its setup is:
>  stream : PLAYBACK
>  access : RW_INTERLEAVED
>  format : S16_LE
>  subformat : STD
>  channels : 2
>  rate : 48000
>  exact rate : 48000 (48000/1)
>  msbits : 16
>  buffer_size : 16384
>  period_size : 1024
>  period_time : 21333
>  tstamp_mode : NONE
>  period_step : 1
>  avail_min : 1024
>  period_event : 0
>  start_threshold : 16384
>  stop_threshold : 16384
>  silence_threshold: 0
>  silence_size : 0
>  boundary : 1073741824
>


AFAIK , speaker-test can only use mono wav file but your test.wav is stereo

The sound are distorted when the sound card support mono when you feed a
stereo file to speaker-test

need "-c2" to play your "test.wav" on my au8830


More information about the Alsa-devel mailing list