Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
09192 Sound Major Always 2 days ago 2 days ago
Tester tenpar View Status Public Platform MAME (Official Binary)
Assigned To galibert Resolution Fixed OS Windows 10/11 (64-bit)
Status [?] Resolved Driver
Version 0.278 Fixed in Version 0.279GIT Build 64-bit
Fixed in Git Commit e6c3812 Github Pull Request #
Summary 09192: Portaudio: Error when WASAPI is enabled with no audio input devices in the OS
Description MAME terminates in error when WASAPI is enabled with no audio input devices in the OS.

Error description:
PortAudio error: Windows WASAPI: (Sound device name)[Loopback]: Invalid number of channels
Steps To Reproduce 1. Disable all audio input devices in the OS, such as microphone and playback redirection.
2. Enable WASAPI by making the following configuration changes in mame.ini.
sound portaudio
pa_api "Windows WASAPI"
3. Start MAME and launch an appropriate game with sound.
4. When sound is played in the game, MAME will exit with an error.
(For example, in the case of fantzone, when the demo starts after the title is displayed.)
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.23400
Robbbert
Moderator
2 days ago
This has already been addressed in https://github.com/mamedev/mame/commit/e6c3812038018a58f5360e0aa9715ae2da1a8138

And, since I've already updated my local builds to include it, I can't confirm your issue, however I've already seen other complaints, so I'll confirm it from them.