ogg_stream.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #ifndef __OGG_STREAM_
  2. #define __OGG_STREAM_
  3. #ifdef __cplusplus
  4. extern "C"
  5. {
  6. #endif
  7. void adas_OGG_Init(void);
  8. // open OGG stream
  9. int adas_OGG_Open_Stream(char *p_File_Name);
  10. // close OGG stream
  11. void adas_OGG_Close_Stream(void);
  12. // Set OGG Setup Stream
  13. int adas_OGG_Setup_Stream(void *p_Flag);
  14. // play OGG stream
  15. int adas_OGG_Play_Stream(void);
  16. // set position of OGG stream
  17. void adas_OGG_Set_Position(float *v);
  18. // set Source Relative
  19. void adas_OGG_Set_Source_Relative(char bValue);
  20. // set velocity of OGG stream
  21. void adas_OGG_Set_Velocity(float *v);
  22. // set gain of OGG stream
  23. void adas_OGG_Set_Gain(float v);
  24. // set pitch of OGG stream
  25. void adas_OGG_Set_Pitch(float v);
  26. // stop OGG stream
  27. void adas_OGG_Stop_Stream(void);
  28. // seek OGG stream
  29. void adas_OGG_Seek_Stream(double dValue);
  30. // check if is OGG stream playing
  31. int adas_Is_OGG_Stream_Playing(void);
  32. // Set Ogg decompresion Thread priority
  33. void adas_OGG_Set_Priority(int Priority);
  34. // Get Ogg decompresion Thread priority
  35. int adas_OGG_Get_Priority(void);
  36. // Analyze OGG stream
  37. int adas_OGG_Analyze_Stream(char *p_ogg_file, char *p_size_file,
  38. char *p_cicles_file);
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. #endif