moved global variable "ob" to outputBuffer.h

This releases several include file dependencies.  As a side effect,
"CHUNK_SIZE" isn't defined by decoder_api.h anymore, so we have to
define it directly in the plugins which need it.  It just isn't worth
it to add it to the decoder plugin API.
This commit is contained in:
Max Kellermann
2008-08-26 08:41:05 +02:00
parent 15c9352bb6
commit a94845ee00
7 changed files with 14 additions and 6 deletions

View File

@@ -26,6 +26,9 @@
#include <audiofile.h>
/* pick 1020 since its devisible for 8,16,24, and 32-bit audio */
#define CHUNK_SIZE 1020
static int getAudiofileTotalTime(char *file)
{
int total_time;

View File

@@ -28,6 +28,9 @@
#include <wavpack/wavpack.h>
/* pick 1020 since its devisible for 8,16,24, and 32-bit audio */
#define CHUNK_SIZE 1020
#define ERRORLEN 80
static struct {