chiark / gitweb /
Assume initial digits in a track name are a sort key even without the
[disorder] / lib / wav.c
index 4197068130f9d709e57a1ea129acf52f2fcf9d72..d0f3acf79111b650dea17c4d9eb25c73b0401a8c 100644 (file)
--- a/lib/wav.c
+++ b/lib/wav.c
  * orderings of different channels.
  */
 
-#include <config.h>
-#include "types.h"
+#include "common.h"
 
 #include <unistd.h>
 #include <fcntl.h>
 #include <errno.h>
-#include <string.h>
 
 #include "log.h"
 #include "wav.h"
@@ -211,7 +209,9 @@ void wav_destroy(struct wavfile *f) {
 }
 
 /** @brief Visit all the data in a WAV file
+ * @param f WAV file handle
  * @param callback Called for successive blocks of data
+ * @param u User data
  *
  * @p callback will only ever be passed whole frames.
  */