Files
snapclient/components/websocket_if/include/websocket_if.h
Carlos 15b4baba28 - merge with original master from jorgen
- minimize RAM usage of all components
- use both IRAM and DRAM in player component so we can buffer up to 1s on modules without SPI RAM
- support fragemented pcm chunks so we can use all available RAM if there isn't a big enough block available but still enough HEAP
- reinclude all components from jorgen's master branch
- add custom i2s driver to get a precise timing of initial sync
- change wrong usage of esp_timer for latency measurement of snapcast protocol
- add player component
2021-08-19 21:57:16 +02:00

14 lines
366 B
C

#ifndef _WEBSOCKET_IF_H_
#define _WEBSOCKET_IF_H_
#include "websocket_server.h"
int websocket_if_start();
int websocket_if_stop();
void websocket_callback(uint8_t num,WEBSOCKET_TYPE_t type,char* msg,uint64_t len);
void http_serve(struct netconn *conn);
void server_task(void* pvParameters);
void server_handle_task(void* pvParameters);
#endif // WEBSOCKET_IF_H_