▲ | arp242 4 days ago | ||||||||||||||||
> If your Linux laptop doubles as a music player, another nice new feature is that you can now stream your audio over USB even while the rest of your system is asleep. That capability's been available in Android for a while, but now it's part of mainline Linux. How does that work? You still need some program to actually play the music (mpv, Sotify, whatnot)? Or what am I misunderstanding? Unfortunately there are no details in the article, and an interwebz search doesn't really show anything. | |||||||||||||||||
▲ | smashed 3 days ago | parent | next [-] | ||||||||||||||||
It's probably related to this: https://www.phoronix.com/news/Linux-6.16-QCOM-USB-Audio-OLOA... Audio usb offloading. Only supported on Qualcomm soc's. Article is misleading. Audio offloading is probably only useful to avoid waking the main CPU too often, so better battery management... CPU can remain sleeping a few microseconds longer, not all the time. Not something many will benefit. | |||||||||||||||||
▲ | ndriscoll 3 days ago | parent | prev | next [-] | ||||||||||||||||
A 20 MB 3.5 minute .flac file takes ~200 ms to decode into a 35 MB .wav on my desktop, so in principle the program could spend a small fraction of a second placing the decoded audio into a small buffer and give a pointer to hardware to keep playing it while the rest of the system goes to sleep for a few minutes. Or if the hardware has direct support for the codec, it could just give it the file as-is. | |||||||||||||||||
| |||||||||||||||||
▲ | barchar 3 days ago | parent | prev | next [-] | ||||||||||||||||
It probably requires active standby/s0ix. Modern Intel chips actually don't officially support s3 at all anymore, only s0ix. The whole point is to support stuff like this | |||||||||||||||||
▲ | RS-232 3 days ago | parent | prev [-] | ||||||||||||||||
Maybe it’s using Wake-on-LAN where the network interface is alive while the rest of the system is dormant? Perhaps the music stream is encoded in magic packets? | |||||||||||||||||
|