frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

The Audio Stack Is a Crime Scene

https://fireborn.mataroa.blog/blog/i-want-to-love-linux-it-doesnt-love-me-back-post-2-the-audio-stack-is-a-crime-scene/
27•todsacerdoti•4h ago

Comments

PaulHoule•3h ago
Windows is better but not much. My big PC at home isn't completely reliable to attach to Bluetooth headphones, some of which might be the fault of the particular headphones, but some of which seems to be the fault of having various sorts of "virtual" drivers installed such as for Steam, MQ 3, Immersed, etc.
mystified5016•2h ago
Windows' Bluetooth stack is an absolute dumpster fire. They trashed the perfectly good BT stack from windows 7 and apparently had an unpaid intern write the replacement.

My day job is building widgets that connect to a windows PC over Bluetooth. The situation is so bad that we're building a dedicated RF adapter so we can have a sane stack under our control.

If your program is scanning for a particular device in the background, that device will never show up in the windows BT pairing menu. I can't even imagine how that happens. Many API calls do nothing or return garbage, many BT features are just not exposed at all, despite windows clearly having that data internally.

W10 never even had BT audio sink. You could not play audio from a remote device to your PC. W7 had it and I think W11 finally got it a few years back. Linux has always had it.

Windows' Bluetooth stack is no contest the worst available on the market. It's astonishing how poor quality Microsoft products are these days.

Macha•1h ago
Yeah, I always feel surprised when people call out the Linux audio experience as uniquely bad. Meanwhile on Windows I need to jam voicemeter in the middle to separate inputs and outputs so I don't have games crashing to desktop because my bluetooth headset ran out of battery, while Mac makes each individual application implement volume control UI.
Ekaros•55m ago
After upgrading to Intel Bluetooth/Wlan module I have had lot less issues.

But in general Bluetooth is just bad protocol audio...

ringeryless•2h ago
the cause of all this? single client ALSA driver model.

coreaudio doesn't need pulse nor jack nor pipewire to allow a single device to be opened by multiple applications.

ALSA additionally specifies every 2 channels as separate 2channel devices, so your 8 channel audio interface looks like 4.

the confusion is added to by device tree overlays such that you may find your pro audio 8 channel device is always seen as a surround setup, replete wirh highpass filtering on the principle pair of outputs, and you don't know why your poor desktop environments sound device doesn't show this...

duped•2h ago
> The stack is clean. The interfaces are better. But the expectations are still stuck in 2012.

The interfaces are absolutely not better, they're a bunch of ~~undocumented~~ C preprocessor macros that hide a pit of complexity and indirection. Pulse is mature enough that you can figure out how to interface with it, pipewire has a handful of examples and some reference documentation that doesn't make sense if you don't already know what you're looking for. Good luck if those examples don't fit nicely into your existing applications' architectures.

Pipewire is very impressive as an achievement, but the work needs to be put in to make it mature enough as a software project (meaning: documentation and well typed interfaces) before existing software can work with it.

The architecture may well be better equipped to provide stable and elegant interfaces to complex media routing problems in application software. But I couldn't tell you if that's true or not, because it's sparsely documented. An undiscoverable API is a nonexistent one.

edit: I wrote this ignorantly before looking back at the pipewire docs. They've improved since I last looked, but I still find the docs lacking (comparable to Apple's docs, which is not a compliment) and the overall interface design of Pipewire a massive challenge to grasp. It might be better, but I don't know. The last time I tried to implement direct support for pipewire in a Linux app I gave up because of its design and lack of useful documentation.

nesarkvechnep•57m ago
Another area where FreeBSD excels.

We're Arguing About AI Safety Wrong

https://www.ai-frontiers.org/articles/were-arguing-about-ai-safety-wrong
1•elliot-stewart•1m ago•0 comments

Einstein's Sense of Awe

https://www.wsj.com/arts-culture/books/i-am-a-part-of-infinity-and-free-creations-of-the-human-mind-einsteins-sense-of-awe-2ebea0e2
1•Hooke•1m ago•0 comments

Apple Plans AI-Powered Battery Management Mode for Devices in iOS 19

https://www.bloomberg.com/news/articles/2025-05-12/apple-plans-ai-powered-battery-management-mode-for-devices-in-ios-19
1•mfiguiere•3m ago•0 comments

Star Wars API cert has expired

https://swapi.dev/
1•SamuelAdams•4m ago•0 comments

Show HN: AI SDK to parse your desktop like the HTML of a website

https://github.com/mediar-ai/terminator
1•louis030195•4m ago•0 comments

China Makes High-Speed Laser Links in Orbit

https://spectrum.ieee.org/satellite-internet-china-crosslink
1•01-_-•5m ago•0 comments

A Market Puke and Rally

https://awealthofcommonsense.com/2025/05/a-market-puke-and-rally/
1•paulpauper•5m ago•0 comments

A history of Extended Transactions (2006)

https://www.infoq.com/articles/History-of-Extended-Transactions/
1•pramodbiligiri•5m ago•0 comments

Reasons to ignore computer science degrees

https://www.cio.com/article/3979014/12-reasons-to-ignore-computer-science-degrees.html
2•WaitWaitWha•5m ago•0 comments

Robotaxis: Rent or Own?

https://glennmercer.substack.com/p/robotaxis-rent-or-own
1•paulpauper•6m ago•0 comments

Orienting Toward Wizard Power

https://www.lesswrong.com/posts/Wg6ptgi2DupFuAnXG/orienting-toward-wizard-power
1•paulpauper•6m ago•0 comments

Anatomy of a Genocide

https://www.un.org/unispal/document/anatomy-of-a-genocide-report-of-the-special-rapporteur-on-the-situation-of-human-rights-in-the-palestinian-territory-occupied-since-1967-to-human-rights-council-advance-unedited-version-a-hrc-55/
3•hackandthink•8m ago•0 comments

Germany is building spy satellites to help Ukraine watch Russia without the US

https://euromaidanpress.com/2025/05/10/germany-is-building-spy-satellites-to-help-ukraine-watch-russia-without-the-us/
3•srameshc•8m ago•0 comments

Show HN: Upwork for AI Agents-a marketplace powered by an AI orchestrator-engine

https://twitter.com/ShubhamKukretii/status/1921967787934916857
3•davinciind•10m ago•0 comments

Show HN: Back End Engineer – Django, FastAPI, AWS, Redis, Celery (4 YOE)

1•Mdehsan873•10m ago•1 comments

Hyper Typing

https://pscanf.com/s/341/
1•azhenley•10m ago•0 comments

iOS 18.5 is out now

https://www.theverge.com/news/665066/ios-18-5-update-out-now-download-iphone-13-satellite
2•01-_-•10m ago•0 comments

Can You Really Trust That Permission Pop-Up on macOS? (CVE-2025-31250)

https://wts.dev/posts/tcc-who/
1•nmgycombinator•10m ago•0 comments

An Easter retreat at the only Catholic shrine in Britain

https://www.thedial.world/articles/news/issue-28/easter-retreat-united-kingdom
1•speckx•11m ago•0 comments

AMD MI300X Memcpy Peer Deep Dive

https://www.scalarlm.com/blog/scalarlm-benchmarking-mi300x-memcpy-peer/
1•gdiamos•12m ago•0 comments

Everything That Has Changed Since Congestion Pricing Started in New York

https://www.nytimes.com/interactive/2025/05/11/upshot/congestion-pricing.html
2•oatsandsugar•12m ago•0 comments

Toward a Sparse and Interpretable Audio Codec

https://arxiv.org/abs/2505.05654
1•cochlear•13m ago•0 comments

The Height Enigma Unraveling the mystery of percentage-based heights in CSS

https://www.joshwcomeau.com/css/height-enigma/?from=newsletter
1•rmason•13m ago•0 comments

The new Google "G" logo

https://www.neowin.net/news/google-is-giving-its-g-icon-a-fresh-look-for-the-first-time-in-10-years/
1•bundie•15m ago•0 comments

23andMe Customers Notified of Bankruptcy

https://techcrunch.com/2025/05/11/23andme-customers-notified-of-bankruptcy-and-potential-claims-deadline-to-file-is-july-14/
1•sleepyguy•16m ago•0 comments

Multiplexing

https://buttondown.com/jaffray/archive/multiplexing/
1•ryandotsmith•18m ago•0 comments

Two Claiming to Be Trump Appointees Blocked from Entering US Copyright Office

https://www.wired.com/story/us-copyright-office-trump-takeover/
4•gmcharlt•18m ago•0 comments

T2 – The Software Development Environment Linux Project

https://t2sde.org/about.html
1•smartmic•18m ago•0 comments

Northwest Vowed to Pioneer Green Energy. Almost Every State Is Beating Them

https://www.propublica.org/article/oregon-washington-green-energy-bonneville
1•landonxjames•19m ago•0 comments

Ask HN: Which AI agents do you work with the most for coding? Favorite?

1•rblion•20m ago•0 comments