Files
shairport-sync/player.h
T
James Laird a2fb5d219d Refactor and rewrite.
Perl script is removed in favour of C. Stale documentation and initfiles
are removed for now also.

C interface works, but still needs work (for example, mDNS is missing) -
see TODO.
2013-04-01 18:57:08 +11:00

23 lines
399 B
C

#ifndef _PLAYER_H
#define _PLAYER_H
#include "audio.h"
typedef struct {
uint8_t aesiv[16], aeskey[16];
int32_t fmtp[12];
} stream_cfg;
typedef unsigned short seq_t;
int player_play(stream_cfg *cfg);
void player_stop(void);
void player_volume(double f);
void player_flush(void);
void player_resync(void);
void player_put_packet(seq_t seqno, uint8_t *data, int len);
#endif //_PLAYER_H