Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>16616289
- However regarding wrapper APIs, I did find a few interesting results when testing them in a variety of programs.
- App -> libao -> OSS API -> OSS Back-end - Good sound, low latency.
- App -> libao -> OSS API -> ALSA Back-end - Good sound, minor latency.
- App -> libao -> ALSA API -> OSS Back-end - Good sound, low latency.
- App -> libao -> ALSA API -> ALSA Back-end - Bad sound, horrible latency.
- App -> SDL -> OSS API -> OSS Back-end - Good sound, really low latency.
- App -> SDL -> OSS API -> ALSA Back-end - Good sound, minor latency.
- App -> SDL -> ALSA API -> OSS Back-end - Good sound, low latency.
- App -> SDL -> ALSA API -> ALSA Back-end - Good sound, minor latency.
- App -> OpenAL -> OSS API -> OSS Back-end - Great sound, really low latency.
- App -> OpenAL -> OSS API -> ALSA Back-end - Adequate sound, bad latency.
- App -> OpenAL -> ALSA API -> OSS Back-end - Bad sound, bad latency.
- App -> OpenAL -> ALSA API -> ALSA Back-end - Adequate sound, bad latency.
- App -> OSS API -> OSS Back-end - Great sound, really low latency.
- App -> OSS API -> ALSA Back-end - Good sound, minor latency.
- App -> ALSA API -> OSS Back-end - Great sound, low latency.
- App -> ALSA API -> ALSA Back-end - Good sound, bad latency.
- If you're having a hard time trying to wrap your head around the above chart, here's a summary:
- OSS back-end always has good sound, except when using OpenAL->ALSA to output to it.
- ALSA generally sounds better when using the OSS API, and has lower latency (generally because that avoids any sound mixing as per an earlier diagram).
- OSS related technology is generally the way to go for best sound.
Advertisement
Add Comment
Please, Sign In to add comment