All of lore.kernel.org
 help / color / mirror / Atom feed
* Conversion from S16 format to ALAW
@ 2004-11-16  7:59 Manu Sharma
  2004-11-16  8:28 ` Jaroslav Kysela
  2004-11-16 11:54 ` Takashi Iwai
  0 siblings, 2 replies; 5+ messages in thread
From: Manu Sharma @ 2004-11-16  7:59 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-11-17  7:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.