Modify how the device name prefix is handled
commit6accc37a96e724df5da74bc935b3cd716b01674f
authorChris Robinson <chris.kcat@gmail.com>
Thu, 5 Sep 2024 23:28:22 +0000 (5 16:28 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Thu, 5 Sep 2024 23:28:22 +0000 (5 16:28 -0700)
treed083cbf6e6fe4c10eae5ada03c0014542a8a9090
parenteb383cc0608f0138f8f4667e876499432d52bba4
Modify how the device name prefix is handled

The backends now only handle the un-prefixed name, leaving the caller to add or
remove the prefix as necessary. This helps ensure more consistent prefixing
without the backend having to be aware, and will eventually allow more
customization of it.
23 files changed:
alc/alc.cpp
alc/backends/alsa.cpp
alc/backends/base.h
alc/backends/coreaudio.cpp
alc/backends/dsound.cpp
alc/backends/jack.cpp
alc/backends/loopback.cpp
alc/backends/null.cpp
alc/backends/oboe.cpp
alc/backends/opensl.cpp
alc/backends/oss.cpp
alc/backends/otherio.cpp
alc/backends/pipewire.cpp
alc/backends/portaudio.cpp
alc/backends/pulseaudio.cpp
alc/backends/sdl2.cpp
alc/backends/sndio.cpp
alc/backends/solaris.cpp
alc/backends/wasapi.cpp
alc/backends/wave.cpp
alc/backends/winmm.cpp
alc/device.h
core/device.h