diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/metadata_pipe.c | 4 | ||||
-rw-r--r-- | src/outputBuffer.c | 2 | ||||
-rw-r--r-- | src/outputBuffer.h | 3 | ||||
-rw-r--r-- | src/playlist.h | 2 |
4 files changed, 7 insertions, 4 deletions
diff --git a/src/metadata_pipe.c b/src/metadata_pipe.c index 5508b97c8..d5bef630e 100644 --- a/src/metadata_pipe.c +++ b/src/metadata_pipe.c @@ -24,10 +24,6 @@ #include "outputBuffer.h" #include "gcc.h" -/* These are defined in outputBuffer_accessors.h, cleanup is needed */ -mpd_uint8 ob_get_decoder_sequence(void); -mpd_uint8 ob_get_player_sequence(void); - static struct ringbuf *mp; /* Each one of these is a packet inside the metadata pipe */ diff --git a/src/outputBuffer.c b/src/outputBuffer.c index 8a41924db..a9a64712a 100644 --- a/src/outputBuffer.c +++ b/src/outputBuffer.c @@ -28,6 +28,8 @@ #include "log.h" #include "action_status.h" #include "decode.h" +#include "metadata_pipe.h" +#include "playlist.h" /* typically have 2048-4096 of these structs, so pack tightly */ struct ob_chunk { diff --git a/src/outputBuffer.h b/src/outputBuffer.h index 3fc440af3..022f7ecdc 100644 --- a/src/outputBuffer.h +++ b/src/outputBuffer.h @@ -106,4 +106,7 @@ void ob_flush(void); void config_output_buffer(void); void init_output_buffer(void); +mpd_uint8 ob_get_decoder_sequence(void); + +mpd_uint8 ob_get_player_sequence(void); #endif diff --git a/src/playlist.h b/src/playlist.h index 0bcc9680a..c51cb4d73 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -128,4 +128,6 @@ void findSongsInPlaylist(int fd, int numItems, LocateTagItem * items); int valid_playlist_name(int err_fd, const char *utf8path); +MpdTag *playlist_current_tag(void); + #endif |