Hacker News new | ask | show | jobs
by quasive 4792 days ago
This is absolutely unacceptable, and the main reason I still use a SoundBlaster Live instead of my onboard sound. The SBLive can do hardware mixing and the Linux driver makes this transparent, so even OSS programs can run simultaneously.

ALSA is supposed to be able to do this transparently (in software) with dmix, but in my experience that only works with ALSA-aware programs, not those using the OSS API. I don't care that on Linux OSS is deprecated: it should just work.

In short, Linux sound is still obnoxious unless you are lucky enough to have hardware mixing work, or you only use programs which properly deal with ALSA.

3 comments

>I don't care that xxxx is deprecated: it should just work.

Setting aside the concept of extrapolating from a small sample size using an admittedly deprecated system (on apparently poor hardware) which hasn't seen any significant use this decade, to "Linux sound is still obnoxious"...

The temerity of insisting that any deprecated software work perfectly is appalling. I am sad to say that my imagination does not stretch so far as to envision a world where this was a reasonable expectation. The one small solace that I can bring away from your post is that such an attitude must engender its own punishment.

Most users tend to assume that things that work will continue working. This is not an unreasonable assumption. It is the status quo on Windows and, whether you or I like it or not (I don't really mind, but whatever), that's the measuring stick for Linux-on-the-desktop. That Linux does not have the same track record with regards to backwards compatibility is not a failing in the user. You don't have to fix their problem, but don't wax on about their "temerity". That makes you a dick.

As is common in pretty much every endeavor, people trump process. OSS still exists and for a decent bit of legacy software isn't going away anytime soon. Breaking it screws over users. Screwing over users makes them complain. Putting on a song and dance about how "appalled" you are at users' complaints makes you a jerk. Don't be a jerk.

Having dedicated hardware for sound mixing is always a good idea. This is especially noticeable when the CPU is under heavy load like when games are running.

Take a look on Windows:

Windows XP: hardware mixing

Windows 7: change to software mixing which cause serious latency problem http://www.youtube.com/watch?v=iujDVsg_2xY

Windows 8: http://msdn.microsoft.com/en-us/libr.../br259116.aspx they realize their mistake and go back to hardware mixing again

The only way I was able to solve the cracking and latency issues on my Linux box was to replace ALSA with OSS. Recently some newer software is causing issues again and I might have to give ALSA another shot. Things would be so much better if the Linux kernel just adopted OSS4

This just works if you use PulseAudio. OSS and ALSA applications are routed through PulseAudio.