summaryrefslogtreecommitdiff
path: root/src/c_asndfile_virtual.h
blob: 0ec7906d6113fef977febbebe1e5139b21d9f52d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26


//  Programmed by Jedidiah Barber
//  Released into the public domain


#ifndef ASND_VIRTUAL_GUARD
#define ASND_VIRTUAL_GUARD

#include <sndfile.h>
#include "c_asndfile.h"


int64_t ada_filelen_hook(void * user_data);
int64_t ada_seek_hook(int64_t offset, int whence, void * user_data);
int64_t ada_read_hook(void * ptr, int64_t count, void * user_data);
int64_t ada_write_hook(const void * ptr, int64_t count, void * user_data);
int64_t ada_tell_hook(void * user_data);


SNDFILE * asf_open_virtual(int mode, Asf_Info * sfinfo, void * user_data);


#endif