aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audioOutputs/audioOutput_shout.c2
-rw-r--r--src/timer.c2
-rw-r--r--src/timer.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/audioOutputs/audioOutput_shout.c b/src/audioOutputs/audioOutput_shout.c
index 6c5e3c56b..dbc5e8b89 100644
--- a/src/audioOutputs/audioOutput_shout.c
+++ b/src/audioOutputs/audioOutput_shout.c
@@ -65,7 +65,7 @@ typedef struct _ShoutData {
Timer *timer;
/* just a pointer to audioOutput->outAudioFormat */
- struct audio_format *audioFormat;
+ const struct audio_format *audioFormat;
} ShoutData;
static ShoutData *newShoutData(void)
diff --git a/src/timer.c b/src/timer.c
index 0d8f07f5c..f917cda73 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -30,7 +30,7 @@ static uint64_t now(void)
return ((uint64_t)tv.tv_sec * 1000000) + tv.tv_usec;
}
-Timer *timer_new(struct audio_format *af)
+Timer *timer_new(const struct audio_format *af)
{
Timer *timer;
diff --git a/src/timer.h b/src/timer.h
index 80bef952d..31977f799 100644
--- a/src/timer.h
+++ b/src/timer.h
@@ -29,7 +29,7 @@ typedef struct _Timer {
int rate;
} Timer;
-Timer *timer_new(struct audio_format *af);
+Timer *timer_new(const struct audio_format *af);
void timer_free(Timer *timer);