In Reply to: RE: To those of you who are listening to hi-rez audio on Ubuntu and derivatives posted by giulio on November 29, 2010 at 23:15:33:
ALSA and PulseAudio have a symbiotic relationship in Ubuntu.
ALSA is configured to send audio to PulseAudio as a virtual device, PulseAudio then resamples and converts everything to (by default) 16/44.1 and sends it out to an ALSA device.
By default, ALSA dmix is configured to operate at 48kHz.
So, in the worst possible case, if dmix is enabled (and there are quite a few tutorials on the net suggesting that this be done) ...
app -> ALSA -> dmix (resample to 16/48) -> PulseAudio (resample to 16/44.1) -> ALSA sound driver -> audio device
Or, if JACK is used and configured to 192kHz (again, some naive tutorials recommending this)
app -> JACK (resample to 24/192) -> PulseAudio (resample to 16/44.1) -> ALSA sound driver -> audio device
and in the best possible scenario
app (via gstreamer or JACK etc.) -> PulseAudio (resample to 16/44.1) -> ALSA sound driver -> audio device
Sheesh! Whoever said Linux had a great architecture for audio?
This post is made possible by the generous support of people like you and our sponsors:
Follow Ups
- It's even worse than that - Christine Tham 01:20:23 11/30/10 (14)
- RE: It's even worse than that - John Swenson 20:17:41 11/30/10 (13)
- RE: It's even worse than that - nycparamedic 18:39:43 12/01/10 (11)
- RE: It's even worse than that - soundchekk 00:46:26 12/02/10 (10)
- RE: It's even worse than that - nycparamedic 07:23:48 12/02/10 (9)
- RE: It's even worse than that - soundchekk 08:04:54 12/02/10 (8)
- RE: It's even worse than that - nycparamedic 17:18:35 12/02/10 (7)
- RE: It's even worse than that - soundchekk 23:04:11 12/02/10 (6)
- RE: It's even worse than that - nycparamedic 13:08:11 12/03/10 (5)
- Computer-derived audio is evolving.... - spindrifter 14:34:26 12/03/10 (4)
- RE: Computer-derived audio is evolving.... - nycparamedic 16:57:40 12/03/10 (3)
- Windows, Mac and Linux - mostly custom workstations....... - spindrifter 22:32:30 12/03/10 (2)
- RE: Windows, Mac and Linux - mostly custom workstations....... - nycparamedic 09:43:49 12/04/10 (1)
- Thanks for your response - spindrifter 13:37:37 12/04/10 (0)
- Not practical - Christine Tham 21:58:32 11/30/10 (0)