loader.h 389 B

12345678910111213141516171819202122232425262728
  1. #ifndef VB_LOADER_H
  2. #define VB_LOADER_H
  3. #include "vorbis/vorbisenc.h"
  4. #if defined(_WIN32)
  5. #define VB_APIENTRY __cdecl
  6. #else
  7. #define VB_APIENTRY
  8. #endif
  9. // API function pointers type definitions
  10. typedef const char* (VB_APIENTRY *LPVORBISVERSIONSTRING)(void);
  11. // Loader
  12. int vorbis_load();
  13. // Pointers to functions
  14. extern LPVORBISVERSIONSTRING p_vorbis_version_string;
  15. #endif