aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:49:16 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 10:49:16 +0200
commitb159832418dd6ac92229686e1ac6b23f0fe609cb (patch)
treecee4cb0d8d63492e5db470826cc396ba00cfe5cf /src/outputBuffer.h
parentd562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f (diff)
downloadmpd-b159832418dd6ac92229686e1ac6b23f0fe609cb.tar.gz
mpd-b159832418dd6ac92229686e1ac6b23f0fe609cb.tar.xz
mpd-b159832418dd6ac92229686e1ac6b23f0fe609cb.zip
notify: removed the "Notify" typedef
Typedefs shouldn't be used, use the bare struct names instead.
Diffstat (limited to 'src/outputBuffer.h')
-rw-r--r--src/outputBuffer.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/outputBuffer.h b/src/outputBuffer.h
index 835ac222e..03d15c9de 100644
--- a/src/outputBuffer.h
+++ b/src/outputBuffer.h
@@ -19,9 +19,10 @@
#ifndef OUTPUT_BUFFER_H
#define OUTPUT_BUFFER_H
-#include "notify.h"
#include "audio_format.h"
+#include <stddef.h>
+
/* pick 1020 since its devisible for 8,16,24, and 32-bit audio */
#define CHUNK_SIZE 1020
@@ -53,12 +54,13 @@ struct output_buffer {
struct audio_format audioFormat;
- Notify *notify;
+ struct notify *notify;
};
extern struct output_buffer ob;
-void ob_init(unsigned int size, Notify *notify);
+void
+ob_init(unsigned int size, struct notify *notify);
void ob_free(void);