mirror of
https://git.citron-emu.org/Citron/Citron.git
synced 2025-01-22 08:36:32 +01:00
Audio Core: Add support tags for compressor stats and volume reset
Added two new audio feature support tags with their corresponding revision numbers: - AudioCompressorStatistics (rev 16): For tracking compressor statistics - AudioVolumeResetSupport (rev 17): For volume reset functionality These features align with the documented Nintendo Switch audio service capabilities and maintain compatibility with the existing feature support system.
This commit is contained in:
parent
eb2a666a69
commit
b685d5701d
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,8 @@ enum class SupportTags {
|
|||
AudioSystemRecordVolume,
|
||||
AudioSystemAutoMute,
|
||||
AudioSystemHearingProtection,
|
||||
AudioCompressorStatistics,
|
||||
AudioVolumeResetSupport,
|
||||
Size
|
||||
};
|
||||
|
||||
|
@ -131,6 +133,8 @@ constexpr bool CheckFeatureSupported(SupportTags tag, u32 user_revision) {
|
|||
{SupportTags::AudioSystemRecordVolume, 4},
|
||||
{SupportTags::AudioSystemAutoMute, 13},
|
||||
{SupportTags::AudioSystemHearingProtection, 14},
|
||||
{SupportTags::AudioCompressorStatistics, 16},
|
||||
{SupportTags::AudioVolumeResetSupport, 17},
|
||||
}};
|
||||
|
||||
const auto& feature =
|
||||
|
|
Loading…
Reference in a new issue