|
|
Subscribe / Log in / New account

LPC: Linux audio: it's a mess

LPC: Linux audio: it's a mess

Posted Sep 22, 2008 2:26 UTC (Mon) by elanthis (guest, #6227)
In reply to: LPC: Linux audio: it's a mess by mezcalero
Parent article: LPC: Linux audio: it's a mess

Out of curiosity, what does libsydney fix that using the PA sink for ALSA
doesn't? Is it just the portability issue, or is there something more?


to post comments

LPC: Linux audio: it's a mess

Posted Sep 22, 2008 11:03 UTC (Mon) by mezcalero (subscriber, #45103) [Link]

ALSA is an API for hardware devices. That's root to a lot of problems you encounter when using the PA plugin for libasound. There are certain differences between hardware and virtual devices. Timing works differently, memory management as well.

The devil lies in the details. It's a lot of small issues that make compat difficult. In addition, some fundamental parts, like the reliance on the classic period-based playback model is a weakness that libsydney does not expose. Not exposing periods will greatly increase compat with glitch-free and with network setups. Finally, libsydney allows clients to set all kinds of properties for a stream that make it especially useful for desktop sound servers. (i.e. setting icons for a stream, and so on...)

But there are more things.

Lennart


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds