How plutoberth/sonyheadphonesclient works
Sony Headphones Client is a desktop alternative to Sony’s mobile app. The user opens the platform client, discovers and connects to a headset, then changes ambient/noise-cancelling or virtual-sound settings; commands are serialized and sent over Bluetooth. The sampled source establishes the Linux and Windows entry paths and shared client layers. macOS support and the listed features are documented, but its implementation was not sampled, so those relationships are shown only where supported or left unverified.
Main entry points: CrossPlatformGUI.cpp Shared GUI · BluetoothWrapper.cpp Bluetooth wrapper · linux/main.cpp Linux entry · windows/main.cpp Windows entry
Components 20
User interface
- Shared GUI
Client/CrossPlatformGUI.cpp - Linux GUI loop
Client/linux/LinuxGUI.cpp - Windows GUI loop
Client/windows/WindowsGUI.cpp - Device discovery
Client/CrossPlatformGUI.cpp - Timed UI messages
Client/TimedMessageQueue.cpp - Async task coordination
Client/SingleInstanceFuture.h
Headphone settings
- Ambient and NC controls
Client/CrossPlatformGUI.cpp - Virtual sound controls
Client/CrossPlatformGUI.cpp - Headphone settings
Client/Headphones.cpp
Bluetooth protocol
- Bluetooth wrapper
Client/BluetoothWrapper.cpp - Command serializer
Client/CommandSerializer.cpp - Bluetooth connector API
Client/IBluetoothConnector.h
Platform adapters
- Linux entry
Client/linux/main.cpp - Windows entry
Client/windows/main.cpp - macOS client
Client/macos - Linux Bluetooth
Client/linux/LinuxBluetoothConnector.cpp - Windows Bluetooth
Client/windows/WindowsBluetoothConnector.cpp - macOS Bluetooth
Client/macos
Other components
- Desktop user
- Sony headset
Connections 29
- Desktop user → Linux entry: starts
README.md - Desktop user → Windows entry: starts
README.md - Linux entry → Linux Bluetooth: constructs
Client/linux/main.cpp - Linux entry → Bluetooth wrapper: wraps connector
Client/linux/main.cpp - Linux entry → Linux GUI loop: starts loop
Client/linux/main.cpp - Windows entry → Windows Bluetooth: constructs
Client/windows/main.cpp - Windows entry → Bluetooth wrapper: wraps connector
Client/windows/main.cpp - Windows entry → Windows GUI loop: starts loop
Client/windows/main.cpp - Linux GUI loop → Shared GUI: runs passes
Client/linux/LinuxGUI.cpp - Windows GUI loop → Shared GUI: runs passes
- Shared GUI → Device discovery: renders
Client/CrossPlatformGUI.cpp - Shared GUI → Ambient and NC controls: renders
Client/CrossPlatformGUI.cpp - Shared GUI → Virtual sound controls: renders
Client/CrossPlatformGUI.cpp - Shared GUI → Headphone settings: uses
- Shared GUI → Bluetooth wrapper: uses
- Shared GUI → Timed UI messages: uses
- Shared GUI → Async task coordination: uses
- Headphone settings → Bluetooth wrapper: sends settings
Client/Headphones.cpp - Headphone settings → Command serializer: serializes commands
Client/Headphones.cpp - Bluetooth wrapper → Command serializer: packages commands
- Bluetooth wrapper → Bluetooth connector API: dispatches I/O
- Linux Bluetooth → Bluetooth connector API: implements
- Windows Bluetooth → Bluetooth connector API: implements
- Bluetooth wrapper → Sony headset: transfers commands
- Desktop user → macOS client: uses
README.md - macOS client → macOS Bluetooth: uses
- macOS client → Shared GUI: uses
- Ambient and NC controls → Sony headset: changes settings
README.md - Virtual sound controls → Sony headset: changes settings
README.md