Files
snapclient/components/net_functions/include/net_functions.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

17 lines
373 B
C

#ifndef _NET_FUNCTIONS_H_
#define _NET_FUNCTIONS_H_
#include "mdns.h"
#define SNTP_TIMEZONE CONFIG_SNTP_TIMEZONE
void net_mdns_register(const char* clientname);
void mdns_print_results(mdns_result_t* results);
// Return port number
uint32_t find_mdns_service(const char* service_name, const char* proto);
void set_time_from_sntp(void);
#endif /* _NET_FUNCTIONS_H_ */