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

@@ -18,6 +18,7 @@
#include "timer.h"
#include "utils.h"
#include "audio_format.h"
#include "os_compat.h"
static uint64_t now(void)
@@ -29,7 +30,7 @@ static uint64_t now(void)
return ((uint64_t)tv.tv_sec * 1000000) + tv.tv_usec;
}
Timer *timer_new(AudioFormat *af)
Timer *timer_new(struct audio_format *af)
{
Timer *timer;