[LAU] asoundrc

Ben Edwards ben at funkytwig.com
Fri Apr 1 01:17:55 UTC 2016


On 01/04/2016 00:50, Ffanci Silvain wrote:
> Ben Edwards, Apr 1 2016:
> ...
>> I believe that I can do something in .asoundrc (which I believe is a 
>> ALSA config file that sits in my home directory), to convert the 
>> 24bit device to a 16bit device.
> Have you tried plughw as a device:
> plughw:1,0
> The plug or plughw allows for some automatic conversions. Otherwise 
> would you consider JACK - the JACK Audio Connection Kit?

OK, had a look at http://www.alsa-project.org/main/index.php/Asoundrc.  
Seems I need to use a slave.

Is this correct?

pcm_slave.sl3 {
     pcm "hw:1,0"
     format S16_LE
     channels 2
     rate /44100 /
}
pcm.complex_convert {
     type plug
     slave sl3
}

Not sure exactly what S16_LE.  Cant find a list of the formats. Or is 
this the format of the card, not the format I want.

Not against using jack but only if I have to.  It seems more complex and 
I am very new to al this.

Ben
-- 
*Ben Edwards, Video Editor/Colorist & Cameraman*
w:www.funkytwig.com t. 01179 118 144 m.:07773 02 44 82
skype:funkytwig twitter:@funkytwig
PGP Public key available from pgp.mit.edu

If you are a freelancer FreeAgent is a great system to do your accounts,
if you use http://www.freeagent.com/?referrer=42j4d743
(referral code is 42j4d743) you get 10% off each month.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20160401/f4d1d7b5/attachment.html>


More information about the Linux-audio-user mailing list