mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-02 06:39:17 +03:00
tweak BT + start to add AirPlay
This commit is contained in:
22
components/airplay/airplay_sink.h
Normal file
22
components/airplay/airplay_sink.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
||||
|
||||
Unless required by applicable law or agreed to in writing, this
|
||||
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
|
||||
#ifndef __AIRPLAY_SINK_H__
|
||||
#define __AIRPLAY_SINK_H__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
//typedef enum { BT_SINK_CONNECTED, BT_SINK_DISCONNECTED, BT_SINK_PLAY, BT_SINK_STOP, BT_SINK_PAUSE,
|
||||
//BT_SINK_RATE, BT_SINK_VOLUME, } bt_sink_cmd_t;
|
||||
|
||||
/**
|
||||
* @brief init sink mode (need to be provided)
|
||||
*/
|
||||
void airplay_sink_init(void);
|
||||
|
||||
#endif /* __AIRPLAY_SINK_H__*/
|
||||
Reference in New Issue
Block a user