public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* Using 8bit mono at 8000Hz with arecord and aplay
@ 2009-08-18  8:42 Shilpa Kedar Walvekar
  2009-08-18 10:00 ` Stefan Schoenleitner
  0 siblings, 1 reply; 5+ messages in thread
From: Shilpa Kedar Walvekar @ 2009-08-18  8:42 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

Hello,

We tried to record and play the recorded file using arecord and aplay as follows:
arecord -f cd /home/test.wav
aplay -f cd /home/test.wav

The file gets recorded and played correctly.

But if I try to record file of format S8 or U8, I get error:

# arecord -f U8 /home/test_alsa_record_2
Recording WAVE '/home/test_alsa_record_2' : Unsigned 8 bit, Rate 8000 Hz, Mono
arecord: set_params:979: Sample format non available

# arecord -f S8 /home/alsa_record_2
Recording WAVE '/home/alsa_record_2' : Signed 8 bit, Rate 8000 Hz, Mono
arecord: set_params:979: Sample format non available

Is there any other way to set the format as S8 or U8? Or only cd/cdr/dat formats can be played using alsa?

Regards,
--Shilpa.

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

end of thread, other threads:[~2009-08-20  6:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-18  8:42 Using 8bit mono at 8000Hz with arecord and aplay Shilpa Kedar Walvekar
2009-08-18 10:00 ` Stefan Schoenleitner
2009-08-19  8:58   ` Using 8bit mono at 8000Hz with arecord and aplay - Full duplex operation Shilpa Kedar Walvekar
2009-08-19 10:15     ` Takashi Iwai
2009-08-20  6:47       ` Shilpa Kedar Walvekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox