[outputs] Make a wrapper for mp3 streaming so it can be included in

the generic outputs interface and so special handling in player.c can
be removed
This commit is contained in:
ejurgensen
2016-03-22 22:59:50 +01:00
parent a07c24d625
commit 36755031cb
8 changed files with 80 additions and 65 deletions

View File

@@ -70,7 +70,6 @@ struct player_status {
};
typedef void (*spk_enum_cb)(uint64_t id, const char *name, int relvol, struct spk_flags flags, void *arg);
typedef int (*player_streaming_cb)(uint8_t *rawbuf, size_t size);
struct player_history
{
@@ -131,12 +130,6 @@ player_playback_next(void);
int
player_playback_prev(void);
void
player_streaming_start(player_streaming_cb cb);
void
player_streaming_stop(void);
int
player_volume_set(int vol);