audio_format: converted typedef AudioFormat to struct audio_format
Get rid of CamelCase, and don't use a typedef, so we can forward-declare it, and unclutter the include dependencies.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#ifndef NORMALIZE_H
|
||||
#define NORMALIZE_H
|
||||
|
||||
#include "audio_format.h"
|
||||
struct audio_format;
|
||||
|
||||
extern int normalizationEnabled;
|
||||
|
||||
@@ -27,6 +27,7 @@ void initNormalization(void);
|
||||
|
||||
void finishNormalization(void);
|
||||
|
||||
void normalizeData(char *buffer, int bufferSize, const AudioFormat *format);
|
||||
void normalizeData(char *buffer, int bufferSize,
|
||||
const struct audio_format *format);
|
||||
|
||||
#endif /* !NORMALIZE_H */
|
||||
|
||||
Reference in New Issue
Block a user