From fcac05a207b6ff969e871984d6a923bc78aad914 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 12 Sep 2008 15:02:57 +0200 Subject: shout: moved code to audioOutput_shout_ogg.c Begin dividing audioOutput_shout.c: move everything OGG Vorbis related to audioOutput_shout_ogg.c. The header audioOutput_shout.h has to keep its dependency on vorbis/vorbisenc.h, because it needs the vorbis encoder types. For this patch, we have to export several internal functions with generic names to the ABI; these will be removed later when the encoder plugin patches are merged. --- src/audioOutputs/audioOutput_shout.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/audioOutputs/audioOutput_shout.h') diff --git a/src/audioOutputs/audioOutput_shout.h b/src/audioOutputs/audioOutput_shout.h index f34ca2686..a68a40875 100644 --- a/src/audioOutputs/audioOutput_shout.h +++ b/src/audioOutputs/audioOutput_shout.h @@ -63,6 +63,21 @@ struct shout_data { struct audio_format audio_format; }; +int write_page(struct shout_data *sd); + +void copy_tag_to_vorbis_comment(struct shout_data *sd); + +void send_ogg_vorbis_header(struct shout_data *sd); + +void shout_ogg_encoder_clear_encoder(struct shout_data *sd); + +int init_encoder(struct shout_data *sd); + +int shout_ogg_encoder_send_metadata(struct shout_data * sd); + +void shout_ogg_encoder_encode(struct shout_data *sd, + const char *chunk, size_t len); + #endif #endif -- cgit v1.2.3