diff options
Diffstat (limited to 'src/audio.c')
-rw-r--r-- | src/audio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/audio.c b/src/audio.c index 75d833be3..f66d25c98 100644 --- a/src/audio.c +++ b/src/audio.c @@ -34,7 +34,7 @@ static AudioFormat * audio_configFormat = NULL; static AudioOutput * aoOutput = NULL; static AudioOutput * shoutOutput = NULL; -static void copyAudioFormat(AudioFormat * dest, AudioFormat * src) { +void copyAudioFormat(AudioFormat * dest, AudioFormat * src) { if(!src) return; dest->sampleRate = src->sampleRate; @@ -182,3 +182,7 @@ void closeAudioDevice() { if(shoutOutput) closeAudioOutput(shoutOutput); closeAudioOutput(aoOutput); } + +void sendMetdataToAudioDevice(MpdTag * tag) { + if(shoutOutput) sendMetadataToAudioOutput(shoutOutput, tag); +} |