2017-09-17 01:24:57 -03:00
|
|
|
//
|
|
|
|
// VGMInterface.h
|
|
|
|
// VGMStream
|
|
|
|
//
|
|
|
|
// Created by Christopher Snowhill on 9/1/17.
|
|
|
|
// Copyright 2017 __LoSnoCo__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2018-06-28 06:59:59 -04:00
|
|
|
#import <libvgmstream/vgmstream.h>
|
2019-11-24 01:36:57 -03:00
|
|
|
#import <libvgmstream/plugins.h>
|
2017-09-17 01:24:57 -03:00
|
|
|
|
|
|
|
typedef struct _COGSTREAMFILE {
|
|
|
|
STREAMFILE sf;
|
|
|
|
void *file;
|
2021-09-06 13:28:26 -03:00
|
|
|
offv_t offset;
|
2017-09-17 01:24:57 -03:00
|
|
|
char name[PATH_LIMIT];
|
|
|
|
} COGSTREAMFILE;
|
|
|
|
|
2019-11-24 01:36:57 -03:00
|
|
|
STREAMFILE *cogsf_create_from_url(NSURL * url);
|
|
|
|
|
2017-09-17 01:24:57 -03:00
|
|
|
VGMSTREAM *init_vgmstream_from_cogfile(const char *path, int subsong);
|
2021-09-06 13:28:26 -03:00
|
|
|
|
|
|
|
void register_log_callback();
|