[PR #3324] [MERGED] Return the number of samples enqueued in AudioOut #3389

Closed
opened 2026-02-27 22:03:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3324
Author: @mikusp
Created: 7/25/2025
Status: Merged
Merged: 7/25/2025
Merged by: @squidbus

Base: mainHead: audioout_output_return


📝 Commits (1)

  • 3587780 Return the number of samples enqueued in AudioOut

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 src/core/libraries/audio/audioout.cpp (+3 -1)

📄 Description

Another one for Agents of Mayhem CUSA03067. The game calls sceAudioOutOutput and checks if the result is larger than 0, meaning that the audio data has been properly enqueued. If it is zero (as it was before), the game deliberately crashes 🐸 RE suggests that it returns the number of samples provided.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/3324 **Author:** [@mikusp](https://github.com/mikusp) **Created:** 7/25/2025 **Status:** ✅ Merged **Merged:** 7/25/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `audioout_output_return` --- ### 📝 Commits (1) - [`3587780`](https://github.com/shadps4-emu/shadPS4/commit/3587780e3ead7051ad95a2e0f92077d20c53cc93) Return the number of samples enqueued in AudioOut ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/audio/audioout.cpp` (+3 -1) </details> ### 📄 Description Another one for Agents of Mayhem CUSA03067. The game calls sceAudioOutOutput and checks if the result is larger than 0, meaning that the audio data has been properly enqueued. If it is zero (as it was before), the game deliberately crashes 🐸 RE suggests that it returns the number of samples provided. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:31 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3389
No description provided.