2
info about vorbis files.
3
Copyright (C) 2001 Martin Vogt
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU Library General Public License as published by
7
the Free Software Foundation.
9
For more information look at the file COPYRIGHT in this package
15
#ifndef __VORBISINFO_H
16
#define __VORBISINFO_H
30
#include <vorbis/codec.h>
31
#include <vorbis/vorbisfile.h>
32
#include "../util/file/fileAccess.h"
35
callbacks from vorbisfile
39
extern size_t fread_func2 (void *ptr,size_t size,size_t nmemb, void *stream);
40
extern int fseek_func2 (void *stream, ogg_int64_t offset, int whence);
41
extern int fclose_func2 (void *stream);
42
extern long ftell_func2 (void *stream);
57
VorbisInfo(FileAccess* input);
60
// returns byte positions
61
long getSeekPosition(int second);
62
// returns length in seconds
65
void print(const char* msg);
67
void setSeekPos(long pos);
70
FileAccess* getInput();