diff options
author | Max Kellermann <max@duempel.org> | 2014-12-26 22:27:01 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-26 22:27:01 +0100 |
commit | 58a5da33c243c057ac4f70ffcfa179b9710161d2 (patch) | |
tree | 389077b8e9f78c001daf40a8e1b1d7bd562414c4 /src/output/OutputPlugin.hxx | |
parent | 7077eac589bf828188e7dbcfb4ac6002203063d4 (diff) |
OutputPlugin: pass Tag reference to _send_tag()
Diffstat (limited to 'src/output/OutputPlugin.hxx')
-rw-r--r-- | src/output/OutputPlugin.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/OutputPlugin.hxx b/src/output/OutputPlugin.hxx index 00fa36bc0..654b2e0d7 100644 --- a/src/output/OutputPlugin.hxx +++ b/src/output/OutputPlugin.hxx @@ -107,7 +107,7 @@ struct AudioOutputPlugin { * Display metadata for the next chunk. Optional method, * because not all devices can display metadata. */ - void (*send_tag)(AudioOutput *data, const Tag *tag); + void (*send_tag)(AudioOutput *data, const Tag &tag); /** * Play a chunk of audio data. @@ -186,7 +186,7 @@ unsigned ao_plugin_delay(AudioOutput *ao); void -ao_plugin_send_tag(AudioOutput *ao, const Tag *tag); +ao_plugin_send_tag(AudioOutput *ao, const Tag &tag); size_t ao_plugin_play(AudioOutput *ao, const void *chunk, size_t size, |