summaryrefslogtreecommitdiff
path: root/cvorbis.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-07-06 22:43:23 +0200
committerGravatar waker <wakeroid@gmail.com>2009-07-06 22:49:04 +0200
commit55cba1db948c3d6650a0d4162ffcd09ca73fe3a1 (patch)
tree534751d06881215854a7b15192983b5897e34c32 /cvorbis.c
parent02ed1cff137002904fb1d1413315769a7b7083d8 (diff)
added GME support ; added subtune support
Diffstat (limited to 'cvorbis.c')
-rw-r--r--cvorbis.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/cvorbis.c b/cvorbis.c
index 72969ee9..f8b4e94e 100644
--- a/cvorbis.c
+++ b/cvorbis.c
@@ -11,7 +11,8 @@ static OggVorbis_File vorbis_file;
static vorbis_info *vi;
static int cur_bit_stream;
-int cvorbis_init (const char *fname) {
+int
+cvorbis_init (const char *fname, int track, float start, float end) {
file = NULL;
vi = NULL;
cur_bit_stream = -1;
@@ -94,10 +95,16 @@ cvorbis_seek (float time) {
return 0;
}
+int
+cvorbis_add (const char *fname) {
+ return 0;
+}
+
codec_t cvorbis = {
.init = cvorbis_init,
.free = cvorbis_free,
.read = cvorbis_read,
- .seek = cvorbis_seek
+ .seek = cvorbis_seek,
+ .add = cvorbis_add
};