Re: Digital bit perfect ouptut with ALSA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 12 Dec 2008, Paulo Moura Guedes wrote:

> On Thursday 11 December 2008 01:20:23 stan wrote:
>> Paulo Moura Guedes wrote:
>>> I'm trying to get bit perfect output out of my linux box, but I can't
>>> find much
>>> info on the web. I'm using ALSA.
>>>
>>>
>>> Some questions:
>>>
>>>
>>> - does Linux/ALSA features dynamic sample rates?
>>
>> yes.  You can specify whatever rate you want and it will
>> happen.  eg 57,325 frames/second.
>
> I meant "dynamic", e.g., if my FLAC file has a sample rate of 96KHz, that will
> be used, but if next I play a 44.1KHz file it would dynamicaly changes to 44.1.

Some sound cards internally resample an arbitrary rate input to their
preferred rate. 
I have no idea what a Benchmark DAC1 does.

>>
>>> - is it possible to set the bit-depth? (in my case to 24 bit)
>>
>> yes, but your card has to support it.  Most new cards have
>> internal processing larger than 24 bits
>
> I have a Benchmark DAC1 which supports 24 bit.
> Were can I set the bit-depth?
>
>>> - what other variables do i have to consider in order to get bit
>>> transparent ouput,
>>> i.e., no resampling at all?
>>
>> Use only hardware rates supported by your card.
>
> You mean sample-rates?

The card has certain hardware rates that it operates at.

>
>> You can
>> ensure this by using plughw as your device instead of
>> default.  That converts from the audio application sound
>> format to the sound card internal format, but does no
>> resampling.  You can avoid even the conversion if you make
>> sure the audio is in the format that your sound device uses
>> internally.
>
> Can you elaborate?
>
> Thanks,
> Paulo
>

-- 
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux