libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.31k stars 1.84k forks source link

Windows: Pressing play/pause button on bluetooth earphones starts netplay, recording and slowmo #13444

Closed fgsfds closed 2 years ago

fgsfds commented 2 years ago

Description

Pressing play/pause button on bluetooth earphones starts netplay, recording and slowmo

Expected behavior

Nothing happens in retroarch

Actual behavior

Netplay, slowmo and recording start simultaneously

Steps to reproduce the bug

  1. Start any game in retroarch
  2. Press play/pause button on a bluetooth earphones (in my case, Galaxy Buds)

Version/Commit

Environment information

[INFO] [State]: Loading state "D:\Games\[Steam]\steamapps\common\RetroArch\states\Metroid - Zero Mission (U)(TrashMan).state.auto", 430168 bytes.
[INFO] [State]: Saving state "RAM", 528472 bytes.
[libretro INFO] Savestate: Loading savedata
[libretro INFO] Savestate: Loading RTC
[libretro INFO] Savestate: Loading savedata
[libretro INFO] Savestate: Loading RTC
[INFO] [Content]: CRC32: 0x5c61a844.
---play/pause pressed---
[INFO] [Netplay] You have joined as player 1
[INFO] [Recording]: Custom timing given: FPS: 59.73, Sample rate: 32768.00
[INFO] [Recording]: Recording to D:\Games\[Steam]\steamapps\common\RetroArch\recordings\Metroid - Zero Mission (U)(TrashMan)-220104-222711.mkv @ 240x160. (FB size: 240x160 pix_fmt: 0)
[INFO] [FFmpeg]: Using sample format FLTP.
[INFO] [FFmpeg]: Using output sampling rate: 44100.
[INFO] [Recording]: Custom timing given: FPS: 59.73, Sample rate: 32768.00
[INFO] [Recording]: Recording to udp://127.0.0.1:56400 @ 240x160. (FB size: 240x160 pix_fmt: 0)
[INFO] [FFmpeg]: Using sample format FLTP.
[INFO] [FFmpeg]: Using output sampling rate: 44100.
[INFO] Netplay Port Mapping Successful: 5.167.226.26:55435
sonninnos commented 2 years ago

I'm pretty sure this shouldn't be happening anymore.