Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
11d6c49
Add player state and refactor inter task communication
luar123 Feb 15, 2026
dfe124a
maximize partitions
luar123 Feb 20, 2026
2074ba9
Fix dead lock in deinit_player. Refactor callbacks and check for NULL
luar123 Feb 20, 2026
81b97a7
Merge branch 'develop' into player_state
luar123 Feb 28, 2026
d4923a9
Keep volume in settings struct
luar123 Feb 28, 2026
4d4f250
Merge remote-tracking branch 'upstream/develop' into player_state
luar123 Feb 28, 2026
61a54a7
Move log message so it does not spam the logs when paused
luar123 Feb 28, 2026
029bf60
fix
luar123 Feb 28, 2026
b3c9532
Set CONFIG_FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=2
luar123 Feb 28, 2026
b6daa59
fix state cb
luar123 Mar 1, 2026
00dcd40
Merge remote-tracking branch 'upstream/develop' into player_state
luar123 Mar 3, 2026
db77bee
fix
luar123 Mar 3, 2026
4a9335d
Merge remote-tracking branch 'upstream/develop' into player_state
luar123 Mar 11, 2026
b60a121
Add bluetooth component
luar123 Mar 17, 2026
b304d0b
Fix build on non bt esp32
luar123 Mar 17, 2026
64c1791
Fix
luar123 Mar 17, 2026
b2f5ac2
Fix
luar123 Mar 17, 2026
d1b6333
Fix
luar123 Mar 17, 2026
991d5bd
Use snapcast state instead of player state
luar123 Mar 28, 2026
0009a89
fix
luar123 Mar 28, 2026
91247d0
Add i2s lock
luar123 Mar 29, 2026
3d4fb4c
Add bt state
luar123 Mar 29, 2026
cfccd98
Allow keep bt connected if psram is available.
luar123 Mar 29, 2026
4ce483b
fix non bt builds
luar123 Mar 29, 2026
cf4f984
Apply volume/mute only while playing
luar123 Mar 29, 2026
5ec9a48
Use snapcast state instead of player state
luar123 Mar 28, 2026
4915458
Add i2s lock
luar123 Mar 29, 2026
a274fa1
Refactor handling of scSettings object
luar123 Mar 30, 2026
38b1be7
Merge branch 'player_state' into bt
luar123 Mar 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions components/bluetooth/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
idf_component_register(SRC_DIRS .
INCLUDE_DIRS "include"
PRIV_REQUIRES bt esp_coex driver dsp_processor)
46 changes: 46 additions & 0 deletions components/bluetooth/Kconfig.projbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
menu "Bluetooth A2DP Sink Configuration"
depends on SOC_BT_CLASSIC_SUPPORTED

config SNAPCLIENT_BT_ENABLED
bool "Enable Bluetooth A2DP sink"
select BT_ENABLED
default n
help
Enable bluetooth. Increases ram and flash usage.

if SNAPCLIENT_BT_ENABLED
config SNAPCLIENT_BT_SSP_ENABLED
bool "Enable Simple Secure Pairing"
default n
help
Ignores the pin and just connects

config SNAPCLIENT_BT_PIN
string "snapclient bluetooth pin"
default "0000"
help
Pin to connect to the bluetooth sink.

choice SNAPCLIENT_BT_MODE
prompt "Choose mode of operation"

config SNAPCLIENT_BT_MODE_DISCONNECT
bool "Stop and disconnect BT while Snapcast is playing."

config SNAPCLIENT_BT_MODE_CONNECTED
bool "Keep BT connected while Snapcast is playing, but stop audio."
depends on SPIRAM

config SNAPCLIENT_BT_MODE_STOP
bool "Stop BT completely while Snapcast is playing."
endchoice

config SNAPCLIENT_PLAYER_TIMEOUT
int "How long to wait after player stops before reset"
default 10
depends on SNAPCLIENT_BT_MODE_STOP
endif



endmenu
Loading
Loading