diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:01:53 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-29 09:01:53 +0200 |
commit | 12bcba8b89ad503cbdfb8261c5c26b9f87860345 (patch) | |
tree | 640d2f57cd4f9e5059db9b0c533b7919d4ddb52f /src/audioOutput.h | |
parent | d8a8fa63b40801f597cc374bcfcbdd397aa0a670 (diff) | |
download | mpd-12bcba8b89ad503cbdfb8261c5c26b9f87860345.tar.gz mpd-12bcba8b89ad503cbdfb8261c5c26b9f87860345.tar.xz mpd-12bcba8b89ad503cbdfb8261c5c26b9f87860345.zip |
pass constant pointers
And again, convert arguments to const.
Diffstat (limited to '')
-rw-r--r-- | src/audioOutput.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audioOutput.h b/src/audioOutput.h index 71c1e4b14..f82eedfba 100644 --- a/src/audioOutput.h +++ b/src/audioOutput.h @@ -50,7 +50,7 @@ typedef void (*AudioOutputDropBufferedAudioFunc) (AudioOutput * audioOutput); typedef void (*AudioOutputCloseDeviceFunc) (AudioOutput * audioOutput); typedef void (*AudioOutputSendMetadataFunc) (AudioOutput * audioOutput, - MpdTag * tag); + const MpdTag * tag); struct _AudioOutput { int open; @@ -104,7 +104,7 @@ void dropBufferedAudioOutput(AudioOutput * audioOutput); void closeAudioOutput(AudioOutput * audioOutput); void finishAudioOutput(AudioOutput * audioOutput); int keepAudioOutputAlive(AudioOutput * audioOutput, int ms); -void sendMetadataToAudioOutput(AudioOutput * audioOutput, MpdTag * tag); +void sendMetadataToAudioOutput(AudioOutput * audioOutput, const MpdTag * tag); void printAllOutputPluginTypes(FILE * fp); |