mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-02 01:18:28 -04:00
feat: Enhance audio renderer with new features and simplify Android UI indicators
Audio Core: - Add support for splitter previous volume reset (REV 13+) - Implement new audio processing time limits (REV 14-15) - Add voice channel resource limits and effect processing v3 - Support float biquad filters for improved audio quality - Enhance error handling to prevent audio system crashes Android UI: - Simplify FPS, RAM, and thermal indicator views - Remove complex backgrounds and icons for cleaner display - Reduce view sizes and improve text-based rendering - Maintain color-coded status indicators for performance metrics Core System: - Improve file system save data space handling - Enhance kernel synchronization error handling - Add new error modules and result codes - Fix potential infinite loops in handle operations These changes improve audio processing capabilities while providing a cleaner, more performant Android UI experience. Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -45,6 +45,15 @@ enum class SupportTags {
|
||||
DelayChannelMappingChange,
|
||||
ReverbChannelMappingChange,
|
||||
I3dl2ReverbChannelMappingChange,
|
||||
SplitterPrevVolumeResetSupported,
|
||||
// REV 14 features
|
||||
AudioRendererProcessingTimeLimit65Percent,
|
||||
AudioRendererProcessingTimeLimit60Percent,
|
||||
// REV 15 features
|
||||
AudioRendererProcessingTimeLimit55Percent,
|
||||
AudioRendererProcessingTimeLimit50Percent,
|
||||
VoiceChannelResourceLimit,
|
||||
EffectProcessingVersion3,
|
||||
|
||||
// Not a real tag, just here to get the count.
|
||||
Size
|
||||
@@ -55,6 +64,7 @@ constexpr u32 GetRevisionNum(u32 user_revision) {
|
||||
user_revision -= Common::MakeMagic('R', 'E', 'V', '0');
|
||||
user_revision >>= 24;
|
||||
}
|
||||
|
||||
return user_revision;
|
||||
};
|
||||
|
||||
@@ -88,6 +98,15 @@ constexpr bool CheckFeatureSupported(SupportTags tag, u32 user_revision) {
|
||||
{SupportTags::DelayChannelMappingChange, 11},
|
||||
{SupportTags::ReverbChannelMappingChange, 11},
|
||||
{SupportTags::I3dl2ReverbChannelMappingChange, 11},
|
||||
{SupportTags::SplitterPrevVolumeResetSupported, 13},
|
||||
// REV 14 features
|
||||
{SupportTags::AudioRendererProcessingTimeLimit65Percent, 14},
|
||||
{SupportTags::AudioRendererProcessingTimeLimit60Percent, 14},
|
||||
// REV 15 features
|
||||
{SupportTags::AudioRendererProcessingTimeLimit55Percent, 15},
|
||||
{SupportTags::AudioRendererProcessingTimeLimit50Percent, 15},
|
||||
{SupportTags::VoiceChannelResourceLimit, 15},
|
||||
{SupportTags::EffectProcessingVersion3, 15},
|
||||
}};
|
||||
|
||||
const auto& feature =
|
||||
|
||||
Reference in New Issue
Block a user