chiark / gitweb /
Quieten compiler.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 3 May 2009 09:32:38 +0000 (10:32 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 3 May 2009 09:32:38 +0000 (10:32 +0100)
lib/uaudio-schedule.c
lib/uaudio.h

index 95e4115..361681b 100644 (file)
@@ -142,8 +142,8 @@ uint32_t uaudio_schedule_sync(void) {
 /** @brief Report how many samples we actually sent
  * @param nsamples Number of samples sent
  */
-void uaudio_schedule_sent(size_t nsamples) {
-  timestamp += nsamples;
+void uaudio_schedule_sent(size_t nsamples_sent) {
+  timestamp += nsamples_sent;
 }
 
 /** @brief Initialize audio scheduling
index 37e0ae4..6592d53 100644 (file)
@@ -165,7 +165,7 @@ void uaudio_thread_stop(void);
 void uaudio_thread_activate(void);
 void uaudio_thread_deactivate(void);
 uint32_t uaudio_schedule_sync(void);
-void uaudio_schedule_sent(size_t nsamples);
+void uaudio_schedule_sent(size_t nsamples_sent);
 void uaudio_schedule_init(void);
 const struct uaudio *uaudio_find(const char *name);