Change definition of seq_diff to bring it into player.c
This commit is contained in:
@@ -11,10 +11,7 @@ typedef struct {
|
||||
typedef uint16_t seq_t;
|
||||
|
||||
// wrapped number between two seq_t.
|
||||
static inline uint16_t seq_diff(seq_t a, seq_t b) {
|
||||
int16_t diff = b - a;
|
||||
return diff;
|
||||
}
|
||||
inline int32_t seq_diff(seq_t a, seq_t b);
|
||||
|
||||
int player_play(stream_cfg *cfg);
|
||||
void player_stop(void);
|
||||
|
||||
Reference in New Issue
Block a user