Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use SIO_DEVANY on FreeBSD/DragonFly (mozilla#564)
Forcing cubeb to snd/0 is entirely inappropriate for FreeBSD where using the sndio backend without a running sndiod is completely ok and does not suffer from the same drawbacks (blocking the audio device) as ALSA on Linux. Using SIO_DEVANY (i.e., "default") will cause libsndio to open the default device /dev/dsp on FreeBSD, so libsndio can be used without running sndiod or extra configuration like setting the AUDIODEVICE environment variable. Regressed by a7b7cdb. Signed-off-by: Tobias Kortkamp <t@tobik.me>
- Loading branch information