From: Takashi Iwai Subject: Re: Backported sbxfi driver (UNTESTED!) Date: Fri, 17 Oct 2008 08:21:57 +0200 Message-ID: References: <5501535d0810151457t1bc02dfbl767b564456c09594@mail.gmail.com> <5501535d0810161130i7e3fa4c2hbe267ba2cbb15c00@mail.gmail.com> <5501535d0810161307r4756fd44of5424cd1243e4b29@mail.gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 8AEE0103827 for ; Fri, 17 Oct 2008 08:22:15 +0200 (CEST) In-Reply-To: <5501535d0810161307r4756fd44of5424cd1243e4b29@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Bjoern Olausson Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 16 Oct 2008 22:07:02 +0200, Bjoern Olausson wrote: > = > I found a site with a large range of files: > http://bellatrix.ece.mcgill.ca/Documents/AudioFormats/WAVE/Samples.html > = > aplay plays all files it is capable to decode. No crackel, no noise, just= fine. > = > glass.wav > Signed 16 bit Little Endian, Rate 8000 Hz, Mono > = > M1F1-int16-AFsp.wav > Signed 16 bit Little Endian, Rate 8000 Hz, Stereo > = > M1F1-int24-AFsp.wav > Signed 24 bit Little Endian in 3bytes, Rate 8000 Hz, Stereo > = > M1F1-int32-AFsp.wav > Signed 32 bit Little Endian, Rate 8000 Hz, Stereo > = > M1F1-uint8-AFsp.wav > Unsigned 8 bit, Rate 8000 Hz, Stereo > = > stereol.wav > Signed 16 bit Little Endian, Rate 22050 Hz, Stereo > = > Utopia_Critical_Stop.wav > Signed 16 bit Little Endian, Rate 22050 Hz, Mono > = > Thought when I try to play the first one with mplayer ---> FREEZZZZZ > Spiele glass.wav. > Audio file-Dateiformat erkannt! > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =D6ffne Audiodecoder: [pcm] Uncompressed PCM audio decoder > AUDIO: 8000 Hz, 1 ch, s16le, 128.0 kbit/100.00% (ratio: 16000->16000) > Ausgew=E4hlter Audiocodec: [pcm] afm: pcm (Uncompressed PCM) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Then likely a problem with mplayer. Can you check which parameters (period_size, buffer_size) does mplayer use, and try to pass to aplay via --period-size and --buffer-size options? > Amarok with backend ALSA plays all files it can decode without problems. > = > All Signed 16 bit Little Endian, Rate 8000 to 96000 Hz, Stereo do work > (with the same oszilating noise described in my previous post with the > mono files [I just joned two to get stereo]) Hm, mono isn't supported by this hardware, so alsa-lib simply duplicates the signals to the stereo. There shouldn't be any difference in that manner... Takashi