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:
Max Kellermann
2008-09-07 19:19:55 +02:00
parent bd81fd8b0c
commit f1dd9c209c
34 changed files with 98 additions and 83 deletions

View File

@@ -22,6 +22,8 @@
#include "log.h"
#include "conf.h"
#include "audio_format.h"
#include "mpd_types.h"
#include "os_compat.h"
/* Added 4/14/2004 by AliasMrJones */
@@ -104,7 +106,7 @@ void freeReplayGainInfo(ReplayGainInfo * info)
}
void doReplayGain(ReplayGainInfo * info, char *buffer, int bufferSize,
const AudioFormat * format)
const struct audio_format *format)
{
mpd_sint16 *buffer16;
mpd_sint8 *buffer8;