diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:01:53 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-31 04:02:09 -0700 |
commit | 6982a829e22d2bc7cf7c829c4430a4ea6f5bc7fa (patch) | |
tree | 94de57b9d0bae82be9e385c68b477d493179949e /src/audioOutput.h | |
parent | c52667aa8eee2a40547026735b9670a2221d4168 (diff) | |
download | mpd-6982a829e22d2bc7cf7c829c4430a4ea6f5bc7fa.tar.gz mpd-6982a829e22d2bc7cf7c829c4430a4ea6f5bc7fa.tar.xz mpd-6982a829e22d2bc7cf7c829c4430a4ea6f5bc7fa.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); |