diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2023-07-02 21:36:34 +1200 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2023-07-02 21:36:34 +1200 |
commit | 049d2a9a337331295b4a2d4ad13061bc73536236 (patch) | |
tree | c360b2ce05f91d070c14dad7a3691c1435df7df7 /src/c_asndfile_virtual.h |
Initial commit
Diffstat (limited to 'src/c_asndfile_virtual.h')
-rw-r--r-- | src/c_asndfile_virtual.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/c_asndfile_virtual.h b/src/c_asndfile_virtual.h new file mode 100644 index 0000000..0ec7906 --- /dev/null +++ b/src/c_asndfile_virtual.h @@ -0,0 +1,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 + + |