All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Manu Sharma <manu.sharma@ma.tech.ascom.ch>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Conversion from S16 format to ALAW
Date: Tue, 16 Nov 2004 12:54:46 +0100	[thread overview]
Message-ID: <s5h1xeudn5l.wl@alsa2.suse.de> (raw)
In-Reply-To: <4199B349.4080404@ma.tech.ascom.ch>

At Tue, 16 Nov 2004 08:59:05 +0100,
Manu Sharma wrote:
> 
> Hi all,
> 
> I am trying to sample and play alaw streams on my iPAQ 5500. The HW 
> driver registers support for S16_LE only. So, to achieve my purpose, I 
> register a plugin like following in my alsa.conf file:
> 
> pcm.alaw {
> 	type alaw
> 	slave {
> 		pcm  "hw:0.0"

Typo of "0,0"?

> 		format S16_LE
> 	}
> }
> 
> With this, when I use arecord to capture sound, I get an error "arecord: 
> set_params:832: Sample format not available".
> 
> Is there something wrong in my configuration setup or am I missing 
> something ? Any clues or suggestions would be appreciated.

I didn't get the error message.

	% arecord -Dalaw -traw -fA_LAW -c2 -r44100 foo.raw


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

      parent reply	other threads:[~2004-11-16 11:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-16  7:59 Conversion from S16 format to ALAW Manu Sharma
2004-11-16  8:28 ` Jaroslav Kysela
2004-11-16 16:32   ` Manu Sharma
2004-11-17  7:37     ` Clemens Ladisch
2004-11-16 11:54 ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5h1xeudn5l.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=manu.sharma@ma.tech.ascom.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.