diff options
author | Max Kellermann <max@duempel.org> | 2008-09-29 15:49:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-29 15:49:29 +0200 |
commit | 226d52b36fe648215f367d352ad6e5eb38e116be (patch) | |
tree | a8dc789a0f3585b07da36f952a69ff554a1bf999 /src/outputBuffer.h | |
parent | 0352766dca3da5266e4714124fea119be82c4188 (diff) | |
download | mpd-226d52b36fe648215f367d352ad6e5eb38e116be.tar.gz mpd-226d52b36fe648215f367d352ad6e5eb38e116be.tar.xz mpd-226d52b36fe648215f367d352ad6e5eb38e116be.zip |
switch to C99 types, part II
Do full C99 integer type conversion in all modules which were not
touched by Eric's merged patch.
Diffstat (limited to '')
-rw-r--r-- | src/outputBuffer.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/outputBuffer.h b/src/outputBuffer.h index b6fdda926..835ac222e 100644 --- a/src/outputBuffer.h +++ b/src/outputBuffer.h @@ -26,8 +26,8 @@ #define CHUNK_SIZE 1020 typedef struct _OutputBufferChunk { - mpd_uint16 chunkSize; - mpd_uint16 bitRate; + uint16_t chunkSize; + uint16_t bitRate; float times; char data[CHUNK_SIZE]; } ob_chunk; @@ -102,9 +102,8 @@ ob_chunk * ob_get_chunk(const unsigned i); * @return the number of bytes actually written */ size_t ob_append(const void *data, size_t datalen, - float data_time, mpd_uint16 bitRate); + float data_time, uint16_t bitRate); void ob_skip(unsigned num); #endif - |