Cog/Plugins/vgmstream/vgmstream/VGMInterface.h

24 lines
494 B
C
Raw Normal View History

//
// 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>
#import <libvgmstream/plugins.h>
typedef struct _COGSTREAMFILE {
STREAMFILE sf;
void *file;
offv_t offset;
char name[PATH_LIMIT];
} COGSTREAMFILE;
STREAMFILE *cogsf_create_from_url(NSURL * url);
VGMSTREAM *init_vgmstream_from_cogfile(const char *path, int subsong);
void register_log_callback();