aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:21:28 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:21:28 +0000
commite4746b82c95453f04b1bd4e9962aa886d988d8b0 (patch)
treef5f46a60bad9e6ba735e840cf316081c33806ccf /src
parent1308290c0ddcc19b0759d05e2b07be6d08147e7d (diff)
downloadmpd-e4746b82c95453f04b1bd4e9962aa886d988d8b0.tar.gz
mpd-e4746b82c95453f04b1bd4e9962aa886d988d8b0.tar.xz
mpd-e4746b82c95453f04b1bd4e9962aa886d988d8b0.zip
constant pointers in replayGain.c
git-svn-id: https://svn.musicpd.org/mpd/trunk@7342 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/replayGain.c2
-rw-r--r--src/replayGain.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/replayGain.c b/src/replayGain.c
index 49b98dc40..8926138bb 100644
--- a/src/replayGain.c
+++ b/src/replayGain.c
@@ -104,7 +104,7 @@ void freeReplayGainInfo(ReplayGainInfo * info)
}
void doReplayGain(ReplayGainInfo * info, char *buffer, int bufferSize,
- AudioFormat * format)
+ const AudioFormat * format)
{
mpd_sint16 *buffer16;
mpd_sint8 *buffer8;
diff --git a/src/replayGain.h b/src/replayGain.h
index c2d471464..8df6fb0b1 100644
--- a/src/replayGain.h
+++ b/src/replayGain.h
@@ -45,6 +45,6 @@ void freeReplayGainInfo(ReplayGainInfo * info);
void initReplayGainState(void);
void doReplayGain(ReplayGainInfo * info, char *buffer, int bufferSize,
- AudioFormat * format);
+ const AudioFormat * format);
#endif