Re:Bye CUPS: Printing with Netcat
by chrisseaton on Tuesday August 03, 2021 @09:33PM
(#28056289)
How do the device files know what format the audio data is in?
[ Parent
| on HN ]
It doesn't, it just plays the data as PCM and with whatever sample format and sample rate it is currently configured for.
Re:Bye CUPS: Printing with Netcat
by andrecarini on Tuesday August 03, 2021 @10:01PM
(#28056421)
I'd guess the device files just pass through the binary data to the hardware, and then it's up to the audio device/driver what their defaults are (probably PCM 16-bit 44.1khz)