summaryrefslogtreecommitdiff
path: root/src/audio_core
AgeCommit message (Collapse)Author
2025-02-20Revert "audio: refactor SDL2 sink implementation"Zephyron
This reverts commit 3aa9c0d1518ceec8e3f9ad93efa84bf90e1f1b21.
2025-02-08audio: refactor SDL2 sink implementationZephyron
- Move SDLSinkStream class definition to header file - Add additional error checking for SDL audio device availability - Limit audio channels to stereo - Add format verification and warning messages - Improve audio device initialization with better error handling - Rename device variable to audio_device_id for clarity - Add running state flag - Update copyright header to include citron This refactoring improves error handling and provides better debug information when audio device initialization fails. The implementation is now more robust and provides clearer feedback for troubleshooting audio issues.
2025-02-04audio_core/renderer: Add compressor and splitter support for Rev13Zephyron
Implement new audio features available in AudioRenderer Revision 13: - Add AudioRendererRevision enum to track version-specific features - Implement CompressorEffect with statistics tracking support - Add SplitterDestination with previous volume reset functionality - Add version checks for feature compatibility The compressor provides dynamic range compression with configurable parameters and optional statistics tracking. The splitter improvements allow for more flexible volume management between audio transitions. These changes maintain compatibility with older revisions while enabling new features in Rev13.
2025-01-14Revert incorrect copyright attribution for non-contributed filesZephyron
- In commit b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785, the copyright header was updated to include "Citron Homebrew Project" across multiple files, regardless of whether any contributions were made. - This commit removes the incorrect attribution and reverts the copyright header to its previous state. - Copyright attribution should only be added when meaningful contributions have been made to the file. - This commit ensures proper compliance with copyright standards and maintains correct attribution to the respective contributors. - Special thanks to Tachi for pointing out the need for these corrections and ensuring that proper attribution practices are followed.
2025-01-03Audio Core: Add support tags for compressor stats and volume resetZephyron
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.
2024-12-31audio_core: Add comprehensive audio feature support tagsZephyron
Added new feature support tags to track audio functionality across firmware versions. Changes include: - Added Audio Out/In Auto buffer support tags (3.0.0+) - Added Final Output Recorder features including work buffer (3.0.0+, 9.0.0+) - Added Audio Renderer features like manual execution and voice drop - Added Audio Device features including notifications and auto volume - Added Hardware Opus decoder features including large frame support - Added System Audio features like master volume and hearing protection This provides more complete feature detection for audio functionality introduced in firmware versions 3.0.0 through 19.0.1.
2024-12-31chore: update project references and add Citron copyrightZephyron
- Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files.
2024-02-23oboe_sink: handle temporary stream creation failureLiam
2024-02-22audio: fix released buffer bounds checkLiam
2024-02-20audio: formatLiam
2024-02-20audio: rewrite IAudioDeviceLiam
2024-02-20audio: rewrite IHardwareOpusDecoderManagerLiam
2024-02-20audio: rewrite IAudioRendererManagerLiam
2024-02-20audio: rewrite IAudioOutLiam
2024-02-20audio: rewrite IAudioInManagerLiam
2024-02-19scope_exit: Make constexprFearlessTobi
Allows the use of the macro in constexpr-contexts. Also avoids some potential problems when nesting braces inside it.
2024-01-29Merge pull request #12814 from Kelebek1/time_new_ipcliamwhite
Move time services to new IPC and add debug printing
2024-01-28Use the input process handle to get the correct application's memoryKelebek1
2024-01-27Move time services to new IPC.Kelebek1
Add some fixes/improvements to usage with the new IPC
2024-01-18Core: Clang format and other small issues.Fernando Sahmkow
2024-01-18SMMU: Initial adaptation to video_core.Fernando Sahmkow
2024-01-16Merge remote-tracking branch 'origin/master' into typos3Viktor Szépe
2024-01-15Fix more typosViktor Szépe
2024-01-12audio: fetch process object from handle tableLiam
2023-12-23core_timing: remove user data valueLiam
2023-12-19Merge pull request #12387 from liamwhite/oboeFernando S
android: add oboe audio sink
2023-12-18oboe_sink: specify additional required parametersLiam
2023-12-17oboe_sink: set low latency performance modeLiam
2023-12-17oboe_sink: implement channel count queryingLiam
2023-12-17android: add oboe audio sinkLiam
2023-12-16audio: skip coefficient normalization for downmixLiam
2023-12-16Have GetActiveChannelCount return the system channels instead of host device ↵Kelebek1
channels
2023-11-17opus: fix stereo stream count check in multistream decoder objectLiam
2023-11-12audio_core: ignore renderer wait when stream is pausedLiam
2023-11-04Convert files to LF eolKelebek1
2023-11-03Allow 0 stereo countKelebek1
2023-10-13audio: fix shutdown deadlock in audio rendererLiam
2023-10-10Clear DSP buffer after each executionKelebek1
2023-10-02ci: fix new codespell errorsLiam
2023-09-18Merge pull request #11520 from Kelebek1/estimated_timeliamwhite
Do not consider voice commands in time estimation, fix adpcm estimate
2023-09-18Do not consider voice commands in time estimation, fix adpcm estimateKelebek1
2023-09-16Reimplement HardwareOpusKelebek1
2023-09-10Merge pull request #11465 from Kelebek1/skip_remaining_resetliamwhite
[Audio] Do not reset the remaining command count each time
2023-09-08Fix data source version 1 command loopingKelebek1
2023-09-07Do not reset the command buffer command count each timeKelebek1
2023-09-06Merge pull request #11428 from Kelebek1/adsp_reworkliamwhite
Rework ADSP into a wrapper for apps
2023-09-04Rework ADSP into a wrapper for appsKelebek1
2023-09-03msvc: set warning level to /W4 globallyDanila Malyutin
And fix a bunch of warnings
2023-08-29Merge pull request #11408 from Kelebek1/fix_audio_node_idliamwhite
[Audio] Fix node id index in DropVoices
2023-08-28Fix node id index in DropVoicesKelebek1