diff options
author | Max Kellermann <max@duempel.org> | 2008-09-12 15:02:57 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-12 15:02:57 +0200 |
commit | fcac05a207b6ff969e871984d6a923bc78aad914 (patch) | |
tree | 3d01767f3d030fa37ba488677a958642cc8b2d28 /src/audioOutputs/audioOutput_shout.h | |
parent | 7d3ca9c1ffa25c8fd8b53714fa67e140ae655381 (diff) | |
download | mpd-fcac05a207b6ff969e871984d6a923bc78aad914.tar.gz mpd-fcac05a207b6ff969e871984d6a923bc78aad914.tar.xz mpd-fcac05a207b6ff969e871984d6a923bc78aad914.zip |
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.
Diffstat (limited to 'src/audioOutputs/audioOutput_shout.h')
-rw-r--r-- | src/audioOutputs/audioOutput_shout.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 |