diff options
Diffstat (limited to 'src/MusicChunk.hxx')
-rw-r--r-- | src/MusicChunk.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/MusicChunk.hxx b/src/MusicChunk.hxx index a15b3a702..23c3b7423 100644 --- a/src/MusicChunk.hxx +++ b/src/MusicChunk.hxx @@ -23,7 +23,7 @@ #include "replay_gain_info.h" #ifndef NDEBUG -#include "audio_format.h" +#include "AudioFormat.hxx" #endif #include <stdint.h> @@ -33,7 +33,7 @@ enum { CHUNK_SIZE = 4096, }; -struct audio_format; +struct AudioFormat; struct Tag; /** @@ -90,7 +90,7 @@ struct music_chunk { char data[CHUNK_SIZE]; #ifndef NDEBUG - struct audio_format audio_format; + AudioFormat audio_format; #endif music_chunk() @@ -111,7 +111,7 @@ struct music_chunk { * specified audio_format. */ gcc_pure - bool CheckFormat(const struct audio_format &audio_format) const; + bool CheckFormat(AudioFormat audio_format) const; #endif /** @@ -128,7 +128,7 @@ struct music_chunk { * here * @return a writable buffer, or NULL if the chunk is full */ - void *Write(const struct audio_format &af, + void *Write(AudioFormat af, float data_time, uint16_t bit_rate, size_t *max_length_r); @@ -142,7 +142,7 @@ struct music_chunk { * @param length the number of bytes which were appended * @return true if the chunk is full */ - bool Expand(const struct audio_format &af, size_t length); + bool Expand(AudioFormat af, size_t length); }; void |