Skip to content

Commit 7eb01a8

Browse files
committed
alsa: disable AudioFormat formatting
1 parent d8b7826 commit 7eb01a8

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

rpcsx/audio/AlsaDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void AlsaDevice::start() {
1919
break;
2020
case AudioFormat::AC3:
2121
default:
22-
rx::die("Format is not supported, {}", mFormat);
22+
rx::die("Format is not supported, {}", static_cast<int>(mFormat));
2323
}
2424
mAlsaFormat = fmt;
2525
}

rpcsx/audio/AudioDevice.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ enum class AudioFormat : std::uint32_t {
1616
S16_LE = 0x10,
1717
AC3 = 0x400,
1818
S32_LE = 0x1000,
19-
_last = S32_LE,
2019
};
2120

2221
class AudioDevice : public rx::RcBase {

0 commit comments

Comments
 (0)