Skip to content

Commit

Permalink
Merge pull request #71 from Plutoberth/v1.3
Browse files Browse the repository at this point in the history
v1.3
  • Loading branch information
Plutoberth authored May 21, 2022
2 parents aa46a27 + 04be31e commit be7a006
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
2 changes: 2 additions & 0 deletions Client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ find_package(Threads REQUIRED)

add_executable(SonyHeadphonesClient)

add_definitions(-D__HEADPHONES_APP_VERSION__="1.3.0")

target_sources(SonyHeadphonesClient
PRIVATE BluetoothWrapper.cpp
ByteMagic.cpp
Expand Down
3 changes: 2 additions & 1 deletion Client/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ inline unsigned char SERVICE_UUID_IN_BYTES[] = { // this is the SERVICE_UUID but
0xb3, 0x2d, 0xe3, 0x16, 0xf5, 0xe0, 0x69, 0xba
};

inline constexpr auto APP_NAME_W = L"Sony Headphones App";
#define APP_NAME "Sony Headphones App v" __HEADPHONES_APP_VERSION__
#define APP_NAME_W (L"" APP_NAME)

using Buffer = std::vector<char>;

Expand Down
2 changes: 1 addition & 1 deletion Client/CrossPlatformGUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <future>

constexpr auto GUI_MAX_MESSAGES = 5;
constexpr auto GUI_HEIGHT = 350;
constexpr auto GUI_HEIGHT = 380;
constexpr auto GUI_WIDTH = 540;
constexpr auto FPS = 60;
constexpr auto MS_PER_FRAME = 1000 / FPS;
Expand Down
2 changes: 1 addition & 1 deletion Client/imgui
Submodule imgui updated 141 files
2 changes: 1 addition & 1 deletion Client/linux/LinuxGUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void EnterGUIMainLoop(BluetoothWrapper bt)
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0);

// Create window with graphics context
GLFWwindow *window = glfwCreateWindow(GUI_WIDTH, GUI_HEIGHT, "Sony Headphones App", NULL, NULL);
GLFWwindow *window = glfwCreateWindow(GUI_WIDTH, GUI_HEIGHT, APP_NAME, NULL, NULL);
if (window == NULL)
return;

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

This project features a PC alternative for the mobile-only Sony Headphones app.
<br/><br/>
<img width="650" src="static/showcase.gif" alt="Program Showcase"><p> <br/>
<img width="556" src="static/showcase.gif" alt="Program Showcase"><p> <br/>

[![macOS](https://github.com/plutoberth/sonyheadphonesclient/actions/workflows/xcodebuild.yml/badge.svg)](https://github.com/Plutoberth/SonyHeadphonesClient/actions/workflows/xcodebuild.yml)
[![Linux & Windows](https://github.com/plutoberth/sonyheadphonesclient/actions/workflows/cmake.yml/badge.svg)](https://github.com/Plutoberth/SonyHeadphonesClient/actions/workflows/cmake.yml)
[![Github all releases](https://img.shields.io/github/downloads/Plutoberth/SonyHeadphonesClient/total.svg)](https://GitHub.com/Plutoberth/SonyHeadphonesClient/releases/)
Expand Down Expand Up @@ -48,16 +48,16 @@ So I reverse-engineered the application (for intercompatibility purposes, of cou

- [x] Ambient Sound Control
- [x] Disabling noise cancelling
- [x] Virtual Sound - VPT and Sound Position
- [ ] Display battery life and fetch existing settings from device
- [ ] Equalizer

### TODO: ADD SCREENSHOTS

## Supported Platforms And Headsets

* WH-1000-XM3: Fully works and supported
* [WH-1000-XM4](https://github.com/Plutoberth/SonyHeadphonesClient/issues/29#issuecomment-792459162): Partially works, more work is needed
* [WH-1000-XM4](https://github.com/Plutoberth/SonyHeadphonesClient/issues/29#issuecomment-792459162): Partially works, more work is needed
* [MDR-XB950BT](https://github.com/Plutoberth/SonyHeadphonesClient/issues/29#issuecomment-804292227): Fully works
* And more! Check out [Headset Reports](https://github.com/Plutoberth/SonyHeadphonesClient/issues/29)

#### **Please report about your experiences using other Sony headsets in the [Headset Reports](https://github.com/Plutoberth/SonyHeadphonesClient/issues/29) issue.**

Expand Down
Binary file modified static/showcase.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit be7a006

Please sign in to comment.