[GH-ISSUE #2836] [Feature Request]: Microphone Support #913

Closed
opened 2026-02-27 21:08:52 +03:00 by kerem · 11 comments
Owner

Originally created by @ghost on GitHub (Apr 23, 2025).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2836

Checklist

  • I have searched for a similar issue in this repository and did not find one.

Description

Automatically detects your microphone, and makes use of it in games, like how the actual PS4 does it.

Reason

P.T requires this to fully complete the game, also heard Alien Isolation makes use of it, so that when you make to much noise, it alerts the alien. Unsure if any other games require this but the request is here for those who want to implement it.

Examples

No response

Originally created by @ghost on GitHub (Apr 23, 2025). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2836 ### Checklist - [x] I have searched for a similar issue in this repository and did not find one. ### Description Automatically detects your microphone, and makes use of it in games, like how the actual PS4 does it. ### Reason P.T requires this to fully complete the game, also heard Alien Isolation makes use of it, so that when you make to much noise, it alerts the alien. Unsure if any other games require this but the request is here for those who want to implement it. ### Examples _No response_
kerem 2026-02-27 21:08:52 +03:00
Author
Owner

@georgemoralis commented on GitHub (May 2, 2025):

We need at least a log in place of the use , to check which library and functions it calls

<!-- gh-comment-id:2846612319 --> @georgemoralis commented on GitHub (May 2, 2025): We need at least a log in place of the use , to check which library and functions it calls
Author
Owner

@kalaposfos13 commented on GitHub (May 2, 2025):

P:T: seems to only need 3 functions for this: sceAudioInOpen, sceAudioInInput, and sceAudioInClose
I've only checked it in Ghidra, I don't have logs to show for this

<!-- gh-comment-id:2846627563 --> @kalaposfos13 commented on GitHub (May 2, 2025): P:T: seems to only need 3 functions for this: sceAudioInOpen, sceAudioInInput, and sceAudioInClose I've only checked it in Ghidra, I don't have logs to show for this
Author
Owner

@ghost commented on GitHub (May 2, 2025):

@georgemoralis For P.T, it seems to only call one library which is sceAudioOutOpen

Log: shad_log.txt

Perhaps I should try out the PR that allows the game to actually run and see if I can get any other calls.

I don't own Alien Isolation so I can't test that, if someone else owns it, they can post their log here aswell.

<!-- gh-comment-id:2846843906 --> @ghost commented on GitHub (May 2, 2025): @georgemoralis For P.T, it seems to only call one library which is `sceAudioOutOpen` Log: [shad_log.txt](https://github.com/user-attachments/files/20011333/shad_log.txt) Perhaps I should try out the PR that allows the game to actually run and see if I can get any other calls. I don't own Alien Isolation so I can't test that, if someone else owns it, they can post their log here aswell.
Author
Owner

@StevenMiller123 commented on GitHub (Jun 29, 2025):

@JudgeHolden324 Could you provide a newer P.T. log for this?
Now that the game runs on main, there might be more calls that would actually relate to microphone use.

<!-- gh-comment-id:3016890270 --> @StevenMiller123 commented on GitHub (Jun 29, 2025): @JudgeHolden324 Could you provide a newer P.T. log for this? Now that the game runs on main, there might be more calls that would actually relate to microphone use.
Author
Owner

@ghost commented on GitHub (Jun 30, 2025):

@StevenMiller123 I can provide logs from both the pre-release and the main release if you wish, so that if something stands out on ether versions (which I doubt would be the case), at least you can compare the two instances of the game and look for similarities

<!-- gh-comment-id:3019315061 --> @ghost commented on GitHub (Jun 30, 2025): @StevenMiller123 I can provide logs from both the pre-release and the main release if you wish, so that if something stands out on ether versions (which I doubt would be the case), at least you can compare the two instances of the game and look for similarities
Author
Owner

@georgemoralis commented on GitHub (Jun 30, 2025):

log from latest main (0.9.1 WIP) would be fine

<!-- gh-comment-id:3019379581 --> @georgemoralis commented on GitHub (Jun 30, 2025): log from latest main (0.9.1 WIP) would be fine
Author
Owner

@ghost commented on GitHub (Jun 30, 2025):

(0.9.1 WIP) Log: shad_log.zip

Heres the log @georgemoralis @StevenMiller123

<!-- gh-comment-id:3019501472 --> @ghost commented on GitHub (Jun 30, 2025): (0.9.1 WIP) Log: [shad_log.zip](https://github.com/user-attachments/files/20981867/shad_log.zip) Heres the log @georgemoralis @StevenMiller123
Author
Owner

@georgemoralis commented on GitHub (Jun 30, 2025):

The only thing that is microphone relative in the log is

audioin.cpp:127 sceAudioInOpen: (DUMMY) called

That is not enough...

<!-- gh-comment-id:3019598967 --> @georgemoralis commented on GitHub (Jun 30, 2025): The only thing that is microphone relative in the log is `audioin.cpp:127 sceAudioInOpen: (DUMMY) called` That is not enough...
Author
Owner

@StevenMiller123 commented on GitHub (Jun 30, 2025):

github.com/shadps4-emu/shadPS4@1757dfaf5a/src/core/libraries/audio/audioin.cpp (L126)
Probably doesn't do anything else because of this error return we have.

<!-- gh-comment-id:3019604177 --> @StevenMiller123 commented on GitHub (Jun 30, 2025): https://github.com/shadps4-emu/shadPS4/blob/1757dfaf5a8d7d59601013da80c72e8de7d538a7/src/core/libraries/audio/audioin.cpp#L126 Probably doesn't do anything else because of this error return we have.
Author
Owner

@georgemoralis commented on GitHub (Jun 30, 2025):

hmm probably , i will open a pr with some logging and removing that to have a better view

<!-- gh-comment-id:3019614289 --> @georgemoralis commented on GitHub (Jun 30, 2025): hmm probably , i will open a pr with some logging and removing that to have a better view
Author
Owner

@ghost commented on GitHub (Jun 30, 2025):

Ight, lemme know when it's ready and I'll play it again and send the log once more @georgemoralis

<!-- gh-comment-id:3019639209 --> @ghost commented on GitHub (Jun 30, 2025): Ight, lemme know when it's ready and I'll play it again and send the log once more @georgemoralis
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#913
No description provided.