From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Faith Subject: pcm test app failure on PowerPC Date: Mon, 26 Nov 2007 11:10:28 -0800 Message-ID: <474B1A24.1060601@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from az33egw01.freescale.net (az33egw01.freescale.net [192.88.158.102]) by alsa0.perex.cz (Postfix) with ESMTP id 1033B248A4 for ; Mon, 26 Nov 2007 20:11:22 +0100 (CET) Received: from az33smr01.freescale.net (az33smr01.freescale.net [10.64.34.199]) by az33egw01.freescale.net (8.12.11/az33egw01) with ESMTP id lAQJBJB9007837 for ; Mon, 26 Nov 2007 12:11:20 -0700 (MST) Received: from [10.213.161.227] (vpn-10-213-161-227.am.freescale.net [10.213.161.227]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id lAQJBI9x022074 for ; Mon, 26 Nov 2007 13:11:18 -0600 (CST) 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: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hello, I am using alsa-lib 1.0.15 on an embedded PowerPC board. I can play audio with aplay, but gstreamer fails, so I built and ran the 'pcm' app in alsa-lib-1.0.15/test/. pcm gives: # export LIBASOUND_DEBUG=1 # ./pcm Playback device is plughw:0,0 Stream parameters are 44100Hz, S16_BE, 1 channels Sine wave rate is 440.0000Hz Using transfer method: write ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for 'plughw:0,0' ALSA ERROR hw_params: set (FORMAT) value = S16_BE : Invalid argument ACCESS: RW_INTERLEAVED FORMAT: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE SUBFORMAT: STD SAMPLE_BITS: [4 64] FRAME_BITS: [4 640000] CHANNELS: [1 10000] RATE: [4000 4294967295) PERIOD_TIME: [25000 300000] PERIOD_SIZE: [100 1288490189) PERIOD_BYTES: [50 4294967295) PERIODS: (0 12884902) BUFFER_TIME: [1 4294967295] BUFFER_SIZE: [100 1288490188] BUFFER_BYTES: [50 4294967295] TICK_TIME: 4000 Sample format not available for playback: Invalid argument Setting of hwparams failed: Invalid argument Is the driver saying it can do format S16_BE somewhere, but fails when the format is actually set? How can I dig deeper on this? Thanks in advance for any ideas! , John