aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.h
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-20 16:02:40 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-20 16:02:40 +0000
commit29a25b9933b32800f58dd73d5d1fc21993071c92 (patch)
tree4f456a6f8e44d42acc289c35534ea3e59c0aa96f /src/outputBuffer.h
parent099f0e103f7591eef81183292d704b3a77a99018 (diff)
downloadmpd-29a25b9933b32800f58dd73d5d1fc21993071c92.tar.gz
mpd-29a25b9933b32800f58dd73d5d1fc21993071c92.tar.xz
mpd-29a25b9933b32800f58dd73d5d1fc21993071c92.zip
Add mpd-indent.sh
Indent the entire tree, hopefully we can keep it indented. git-svn-id: https://svn.musicpd.org/mpd/trunk@4410 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/outputBuffer.h')
-rw-r--r--src/outputBuffer.h30
1 files changed, 14 insertions, 16 deletions
diff --git a/src/outputBuffer.h b/src/outputBuffer.h
index 7e37dd430..3c3ae411a 100644
--- a/src/outputBuffer.h
+++ b/src/outputBuffer.h
@@ -32,16 +32,16 @@
#define BUFFERED_METACHUNKS 25
typedef struct _OutputBuffer {
- char * volatile chunks;
- mpd_uint16 * volatile chunkSize;
- mpd_uint16 * volatile bitRate;
- float * volatile times;
+ char *volatile chunks;
+ mpd_uint16 *volatile chunkSize;
+ mpd_uint16 *volatile bitRate;
+ float *volatile times;
mpd_sint16 volatile begin;
mpd_sint16 volatile end;
- AudioFormat audioFormat;
+ AudioFormat audioFormat;
MetadataChunk metadataChunks[BUFFERED_METACHUNKS];
mpd_sint8 metaChunkSet[BUFFERED_METACHUNKS];
- mpd_sint8 * volatile metaChunk;
+ mpd_sint8 *volatile metaChunk;
volatile mpd_sint8 acceptMetadata;
} OutputBuffer;
@@ -51,16 +51,14 @@ void flushOutputBuffer(OutputBuffer * cb);
/* we send inStream for buffering the inputStream while waiting to
send the next chunk */
-int sendDataToOutputBuffer(
- OutputBuffer * cb,
- InputStream * inStream,
- DecoderControl * dc,
- int seekable,
- void * data,
- long datalen,
- float time,
- mpd_uint16 bitRate,
- ReplayGainInfo * replayGainInfo);
+int sendDataToOutputBuffer(OutputBuffer * cb,
+ InputStream * inStream,
+ DecoderControl * dc,
+ int seekable,
+ void *data,
+ long datalen,
+ float time,
+ mpd_uint16 bitRate, ReplayGainInfo * replayGainInfo);
int copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag);