Commit 5183d858 authored by Max Kellermann's avatar Max Kellermann

player: send chunk tag to audio device

If a chunk contains a tag, send it to the audio output device. Few output plugins support this, e.g. shout has support for sending tags.
parent aa9b31f1
......@@ -213,6 +213,9 @@ playChunk(struct music_chunk *chunk, const struct audio_format *format,
pc.elapsedTime = chunk->times;
pc.bitRate = chunk->bit_rate;
if (chunk->tag != NULL)
sendMetadataToAudioDevice(chunk->tag);
pcm_volume(chunk->data, chunk->length,
format, pc.softwareVolume);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment