mirror of
https://github.com/owntone/owntone-server.git
synced 2025-12-07 00:02:32 -05:00
[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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user