mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-26 11:29:33 -04:00
audio_core: Implement further Audio REV 15 support for SDK 19.0.0+ compatibility
This commit adds further Audio REV 15 support to enable compatibility with games compiled against Nintendo Switch SDK 19.0.0 and later versions. Fixes: Audio compatibility issues with SDK 19.0.0+ games Resolves: Missing Audio REV 15 feature support Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -218,4 +218,28 @@ bool BehaviorInfo::IsEffectProcessingVersion3Supported() const {
|
||||
return CheckFeatureSupported(SupportTags::EffectProcessingVersion3, user_revision);
|
||||
}
|
||||
|
||||
bool BehaviorInfo::IsAudioRendererRenderingTimeLimitSupported() const {
|
||||
return CheckFeatureSupported(SupportTags::AudioRendererRenderingTimeLimit, user_revision);
|
||||
}
|
||||
|
||||
bool BehaviorInfo::IsAudioRendererVoiceDropParameterSupported() const {
|
||||
return CheckFeatureSupported(SupportTags::AudioRendererVoiceDropParameter, user_revision);
|
||||
}
|
||||
|
||||
bool BehaviorInfo::IsAudioRendererExecutionModeSupported() const {
|
||||
return CheckFeatureSupported(SupportTags::AudioRendererExecutionMode, user_revision);
|
||||
}
|
||||
|
||||
bool BehaviorInfo::IsAudioRendererRenderingDeviceSupported() const {
|
||||
return CheckFeatureSupported(SupportTags::AudioRendererRenderingDevice, user_revision);
|
||||
}
|
||||
|
||||
bool BehaviorInfo::IsAudioRendererExclusiveControlLeakageCheckSupported() const {
|
||||
return CheckFeatureSupported(SupportTags::AudioRendererExclusiveControlLeakageCheck, user_revision);
|
||||
}
|
||||
|
||||
bool BehaviorInfo::IsAudioRendererElapsedFrameCountSupported() const {
|
||||
return CheckFeatureSupported(SupportTags::AudioRendererElapsedFrameCount, user_revision);
|
||||
}
|
||||
|
||||
} // namespace AudioCore::Renderer
|
||||
|
||||
@@ -410,6 +410,48 @@ public:
|
||||
*/
|
||||
bool IsEffectProcessingVersion3Supported() const;
|
||||
|
||||
/**
|
||||
* Check if audio renderer rendering time limit is supported.
|
||||
*
|
||||
* @return True if supported, otherwise false.
|
||||
*/
|
||||
bool IsAudioRendererRenderingTimeLimitSupported() const;
|
||||
|
||||
/**
|
||||
* Check if audio renderer voice drop parameter is supported.
|
||||
*
|
||||
* @return True if supported, otherwise false.
|
||||
*/
|
||||
bool IsAudioRendererVoiceDropParameterSupported() const;
|
||||
|
||||
/**
|
||||
* Check if audio renderer execution mode is supported.
|
||||
*
|
||||
* @return True if supported, otherwise false.
|
||||
*/
|
||||
bool IsAudioRendererExecutionModeSupported() const;
|
||||
|
||||
/**
|
||||
* Check if audio renderer rendering device is supported.
|
||||
*
|
||||
* @return True if supported, otherwise false.
|
||||
*/
|
||||
bool IsAudioRendererRenderingDeviceSupported() const;
|
||||
|
||||
/**
|
||||
* Check if audio renderer exclusive control leakage check is supported.
|
||||
*
|
||||
* @return True if supported, otherwise false.
|
||||
*/
|
||||
bool IsAudioRendererExclusiveControlLeakageCheckSupported() const;
|
||||
|
||||
/**
|
||||
* Check if audio renderer elapsed frame count is supported.
|
||||
*
|
||||
* @return True if supported, otherwise false.
|
||||
*/
|
||||
bool IsAudioRendererElapsedFrameCountSupported() const;
|
||||
|
||||
/// Host version
|
||||
u32 process_revision;
|
||||
/// User version
|
||||
|
||||
Reference in New Issue
Block a user