Project

General

Profile

Actions

Emulator Issues #13075

open

GameCube microphone support for Linux

Added by Anuskuss about 2 years ago. Updated about 2 years ago.

Status:
Questionable
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Linux
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Shouldn't be too difficult with Cubeb (already works on Windows).


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #13100: Improve GameCube microphone support in LinuxDuplicate

Actions
Actions #1

Updated by flacs about 2 years ago

  • Status changed from New to Working as intended
  • Operating system Linux added
  • Operating system deleted (N/A)

Seems to work fine here with Karaoke Revolution Party.

Actions #2

Updated by Anuskuss about 2 years ago

I've set Microphone to Slot B (and my default microphone with Gnome/pavucontrol) and Mario Party 7 doesn't recognize a mic (so it's not like I don't have any input, it's acting like no mic is plugged in at all):

44:15:002 AudioCommon/CubebUtils.cpp:78 I[Audio]: Cubeb initialized using pulse backend
44:15:002 AudioCommon/CubebStream.cpp:60 I[Audio]: Minimum latency: 1200 frames
44:15:002 cubeb/src/cubeb_pulse.c:820 N[Audio]: Requested buffer attributes maxlength 4294967295, tlength 4800, prebuf 4294967295, minreq 1200, fragsize 1200
44:15:007 cubeb/src/cubeb_pulse.c:926 N[Audio]: Output buffer attributes maxlength 4194304, tlength 3600, prebuf 2404, minreq 1200, fragsize 1200
44:24:381 cubeb/src/cubeb_pulse.c:820 N[Audio]: Requested buffer attributes maxlength 4294967295, tlength 550, prebuf 4294967295, minreq 137, fragsize 137
44:24:388 cubeb/src/cubeb_pulse.c:933 N[Audio]: Input buffer attributes maxlength 4194304, tlength 550, prebuf 4294967295, minreq 137, fragsize 138
44:24:388 Core/HW/EXI/EXI_DeviceMic.cpp:102 I[EXI]: started cubeb stream
44:45:776 AudioCommon/AudioCommon.cpp:88 I[Audio]: Shutting down sound stream
44:45:777 AudioCommon/AudioCommon.cpp:96 I[Audio]: Done shutting down sound stream

If I repeat those same steps in Windows, it works:

50:35:015 AudioCommon\CubebUtils.cpp:78 I[Audio]: Cubeb initialized using wasapi backend
50:35:017 cubeb\src\cubeb_wasapi.cpp:1332 N[Audio]: default device period: 100000
50:35:017 cubeb\src\cubeb_wasapi.cpp:1340 N[Audio]: Minimum latency in frames: 480
50:35:017 AudioCommon\CubebStream.cpp:60 I[Audio]: Minimum latency: 480 frames
50:35:017 cubeb\src\cubeb_wasapi.cpp:1679 N[Audio]: (000001A227F33B70) Setup render: device=0000000000000000
50:35:022 cubeb\src\cubeb_wasapi.cpp:1468 N[Audio]: Using WASAPI suggested format: channels: 4
50:35:022 cubeb\src\cubeb_wasapi.cpp:1575 N[Audio]: Output using undefined layout!
50:35:022 cubeb\src\cubeb_wasapi.cpp:1587 N[Audio]: Setup requested=[f=0 r=48000 c=2 l=stereo] mix=[f=0 r=48000 c=4 l=undefined]
50:35:030 cubeb\src\cubeb_wasapi.cpp:1730 N[Audio]: Target sample rate: 48000
50:35:030 cubeb\src\cubeb_wasapi.cpp:151 N[Audio]: COM was already initialized in MTA
50:35:345 cubeb\src\cubeb_wasapi.cpp:1190 N[Audio]: Stop and join render thread.
50:35:346 cubeb\src\cubeb_wasapi.cpp:1233 N[Audio]: Closing thread.
50:41:742 cubeb\src\cubeb_wasapi.cpp:1332 N[Audio]: default device period: 100000
50:41:742 cubeb\src\cubeb_wasapi.cpp:1340 N[Audio]: Minimum latency in frames: 111
50:41:743 cubeb\src\cubeb_wasapi.cpp:1646 N[Audio]: (000001A63B0C2340) Setup capture: device=0000000000000000
50:41:743 cubeb\src\cubeb_wasapi.cpp:1587 N[Audio]: Setup requested=[f=0 r=11025 c=1 l=mono] mix=[f=0 r=48000 c=2 l=stereo]
50:41:754 cubeb\src\cubeb_wasapi.cpp:1730 N[Audio]: Target sample rate: 11025
50:41:754 cubeb\src\cubeb_wasapi.cpp:151 N[Audio]: COM was already initialized in MTA
50:41:757 Core\HW\EXI\EXI_DeviceMic.cpp:102 I[EXI]: started cubeb stream
50:41:859 cubeb\src\cubeb_wasapi.cpp:1190 N[Audio]: Stop and join render thread.
50:41:860 cubeb\src\cubeb_wasapi.cpp:1233 N[Audio]: Closing thread.
50:41:860 cubeb\src\cubeb_wasapi.cpp:1190 N[Audio]: Stop and join render thread.
50:41:860 cubeb\src\cubeb_wasapi.cpp:1192 N[Audio]: No thread present.
50:46:903 cubeb\src\cubeb_wasapi.cpp:1332 N[Audio]: default device period: 100000
50:46:903 cubeb\src\cubeb_wasapi.cpp:1340 N[Audio]: Minimum latency in frames: 111
50:46:903 cubeb\src\cubeb_wasapi.cpp:1646 N[Audio]: (000001A63B0BEA60) Setup capture: device=0000000000000000
50:46:904 cubeb\src\cubeb_wasapi.cpp:1587 N[Audio]: Setup requested=[f=0 r=11025 c=1 l=mono] mix=[f=0 r=48000 c=2 l=stereo]
50:46:908 cubeb\src\cubeb_wasapi.cpp:1730 N[Audio]: Target sample rate: 11025
50:46:908 cubeb\src\cubeb_wasapi.cpp:151 N[Audio]: COM was already initialized in MTA
50:46:911 Core\HW\EXI\EXI_DeviceMic.cpp:102 I[EXI]: started cubeb stream
50:47:002 cubeb\src\cubeb_wasapi.cpp:1190 N[Audio]: Stop and join render thread.
50:47:002 cubeb\src\cubeb_wasapi.cpp:1233 N[Audio]: Closing thread.
50:47:002 cubeb\src\cubeb_wasapi.cpp:1190 N[Audio]: Stop and join render thread.
50:47:002 cubeb\src\cubeb_wasapi.cpp:1192 N[Audio]: No thread present.
51:00:474 cubeb\src\cubeb_wasapi.cpp:1190 N[Audio]: Stop and join render thread.
51:00:474 cubeb\src\cubeb_wasapi.cpp:1233 N[Audio]: Closing thread.
51:02:377 AudioCommon\AudioCommon.cpp:88 I[Audio]: Shutting down sound stream
51:02:377 cubeb\src\cubeb_wasapi.cpp:1190 N[Audio]: Stop and join render thread.
51:02:377 cubeb\src\cubeb_wasapi.cpp:1192 N[Audio]: No thread present.
51:02:377 cubeb\src\cubeb_wasapi.cpp:1190 N[Audio]: Stop and join render thread.
51:02:377 cubeb\src\cubeb_wasapi.cpp:1192 N[Audio]: No thread present.
51:02:377 AudioCommon\AudioCommon.cpp:96 I[Audio]: Done shutting down sound stream

But I don't know, if you say it's working for you, it might be an user error. I have no idea what I could do differently though.

Actions #3

Updated by Anuskuss about 2 years ago

So can you reopen this or should I create a new ticket? I have an issue and I'd appreciate it if I'd receive some help.

Actions #4

Updated by JosJuice about 2 years ago

Actions #5

Updated by JosJuice about 2 years ago

  • Status changed from Working as intended to Questionable
Actions

Also available in: Atom PDF