LIJI32 / SameBoy

Game Boy and Game Boy Color emulator written in C
https://sameboy.github.io/
Other
1.59k stars 205 forks source link

(Feature Request) Hotkey to switch between audio outputs in link cable emulation #347

Open BenPaddon opened 3 years ago

BenPaddon commented 3 years ago

Currently, in order to change the sound output when emulating two Game Boys at once, you must switch to the menu and change it manually. A hotkey to switch between the two Game Boys' sound output at any given moment would be a nice option.

The ability to have each Game Boy's sound output going through one speaker channel (e.g. left GB on the left, right GB on the right) would also be nifty, but perhaps more difficult to implement.

LIJI32 commented 3 years ago

You might want to open this issue in the libretro fork, they'll probably be more effective at implementing it. (I'm not sure how one would handle hotkeys in a libretro core)

ghost commented 3 years ago

Currently, in order to change the sound output when emulating two Game Boys at once, you must switch to the menu and change it manually. A hotkey to switch between the two Game Boys' sound output at any given moment would be a nice option.

Vice (C64 emulator) has ways to remap joypad buttons to do special things. Like if we have a Libretro option:

"Hotkey to switch Gameboy audio output; ----|B|A|Select|Start|L1|R1|L2|R2|L3|R3"

Then if retro joypad button is pressed, hotswap the audio_out value.

The ability to have each Game Boy's sound output going through one speaker channel (e.g. left GB on the left, right GB on the right) would also be nifty, but perhaps more difficult to implement.

This idea would be awesome for those with L/R splitter cables. I guess just mono mix each GameBoy stereo output and combine the audio packets.