Re: Output sample rate

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

 



On 12-06-08 06:53, Pete Black wrote:

> Its very simple.
> 
> Most sound devices support a number of sample rates. Common ones
> include 16 bit @ 44.1khz, 16-bit @ 48khz, 24-bit @ 96 khz etc.
> 
> Only one application has exclusive control over the sound hardware at
> any time.
> 
> Whatever rate that application opens the soundcard at, is the rate
> that is used to send data to the card.
> 
> If the application with exclusive control over the sound hardware is
> a mixer-type daemon (e.g. dmix, esd, artsd, etc.) then all audio
> streams are converted by this application and sent to the sound card
> using the sample rate it opened the hardware with.
> 
> Does that make sense?

dmix isn't an application (it just mixes behind the scenes) but 
basically, yes, that is how things work.

And given that dmix is default these days (if the card doesn't support 
hardware mixing that is) Sergei's notion of how things might work is how 
things _do_ work in practice right now for anyone who doesn't care 
enough about his audio to disable dmix.

The first A in ALSA stands for "advanced" though and you can bet your 
testicles that many "advanced" users do not look favourably upon 
resampling and dmix...

Rene.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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