chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start reimplenting search in Disobedience choose tabs. Results are
[disorder]
/
server
/
decode.c
diff --git
a/server/decode.c
b/server/decode.c
index c693c759f6f3321fc70aae38a4dd72e7b045f12f..3a1e1a9f6a891b41105875cf42defe6c2c954e55 100644
(file)
--- a/
server/decode.c
+++ b/
server/decode.c
@@
-21,20
+21,10
@@
* @brief General-purpose decoder for use by speaker process
*/
* @brief General-purpose decoder for use by speaker process
*/
-#include <config.h>
-#include "types.h"
-
-#include <getopt.h>
-#include <unistd.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <stdlib.h>
-#include <locale.h>
-#include <assert.h>
-#include <fnmatch.h>
+#include "disorder-server.h"
+
#include <mad.h>
#include <vorbis/vorbisfile.h>
#include <mad.h>
#include <vorbis/vorbisfile.h>
-#include <string.h>
/* libFLAC has had an API change and stupidly taken away the old API */
#if HAVE_FLAC_FILE_DECODER_H
/* libFLAC has had an API change and stupidly taken away the old API */
#if HAVE_FLAC_FILE_DECODER_H
@@
-45,12
+35,8
@@
#define FLAC__FileDecoderState FLAC__StreamDecoderState
#endif
#define FLAC__FileDecoderState FLAC__StreamDecoderState
#endif
-#include "log.h"
-#include "syscalls.h"
-#include "defs.h"
#include "wav.h"
#include "speaker-protocol.h"
#include "wav.h"
#include "speaker-protocol.h"
-#include "version.h"
/** @brief Encoding lookup table type */
struct decoder {
/** @brief Encoding lookup table type */
struct decoder {