All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manu Sharma <manu.sharma@ma.tech.ascom.ch>
To: alsa-devel@lists.sourceforge.net
Subject: Conversion from S16 format to ALAW
Date: Tue, 16 Nov 2004 08:59:05 +0100	[thread overview]
Message-ID: <4199B349.4080404@ma.tech.ascom.ch> (raw)

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"
		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.

Regards,
Manu


-------------------------------------------------------
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

             reply	other threads:[~2004-11-16  7:59 UTC|newest]

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

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=4199B349.4080404@ma.tech.ascom.ch \
    --to=manu.sharma@ma.tech.ascom.ch \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.