this kind of arecord command produces good quality output file on my laptop: arecord -D plughw:0,0 -f S32_LE -c 2 /tmp/test-mic.wav how should my .asoundrc look like in order to get the same effect without -D, -f and -c parameters? i have tried: pcm.internal { type hw card 0 format S32_LE rate 48000 channels 2 } pcm.!default { type asym playback.pcm { type plug slave.pcm "dmix" } capture.pcm { type plug slave.pcm "internal" } } but resulting file has very bad audio quality. here is what -v produces with and without params: $ arecord -v -D plughw:0,0 -f S32_LE -c 2 -d 10 /tmp/test-mic.wav Recording WAVE '/tmp/test-mic.wav' : Signed 32 bit Little Endian, Rate 8000 Hz, Stereo Plug PCM: Rate conversion PCM (48000, sformat=S32_LE) Converter: libspeex (builtin) Protocol version: 10002 Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S32_LE subformat : STD channels : 2 rate : 8000 exact rate : 8000 (8000/1) msbits : 32 buffer_size : 1365 period_size : 341 period_time : 42666 tstamp_mode : NONE period_step : 1 avail_min : 341 period_event : 0 start_threshold : 1 stop_threshold : 1365 silence_threshold: 0 silence_size : 0 boundary : 178913280 $ arecord -v /tmp/test-mic.wav Recording WAVE '/tmp/test-mic.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono Plug PCM: Rate conversion PCM (48000, sformat=U8) Converter: libspeex (builtin) Protocol version: 10002 Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : U8 subformat : STD channels : 1 rate : 8000 exact rate : 8000 (8000/1) msbits : 8 buffer_size : 1365 period_size : 341 period_time : 42666 tstamp_mode : NONE period_step : 1 avail_min : 341 period_event : 0 start_threshold : 1 stop_threshold : 1365 silence_threshold: 0 silence_size : 0 boundary : 178913280 the latter shows that .asoundrc pcm.internal format, rate, and channels have no effect. i have read many also related howtos and docs, but have not yet been able to figure out how to solve this problem. i need to get default working in order to be able to use applications where it is not possible to define audio capture and playback devices. -- juha ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user