aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-04-20 19:29:33 -0700
committerChris Robinson <[email protected]>2019-04-20 19:29:33 -0700
commit725ceb128ed4cb48a039d2f32ae73f8c8dccabef (patch)
tree82bc0f8d9b08a26c89e1ae46195d5017abe09d1d /Alc/helpers.cpp
parent87e279082f5b25be662a3ae116fbb92b7dac6330 (diff)
Open the playback device earlier
So we actually have a device name to get the initial settings for. Be aware that some backends set a format when opening instead of on reset, so such devices will only set the default format (it can't get a desired format without the device name, but the format will already be set once that's known). The affected backends are WinMM, SDL2, and PortAudio (none of which are generally used). This could be fixed by reopening the device during reset, but it would need to be done carefully.
Diffstat (limited to 'Alc/helpers.cpp')
0 files changed, 0 insertions, 0 deletions