mirror of
https://github.com/joel16/ElevenMPV.git
synced 2024-11-27 13:30:27 +00:00
e7109de726
- WAV: works perfectly - FLAC: works perfectly but just a tad bit slower than WAV. - MP3: works perfectly but a tad bit slower than FLAC. - MOD: works perfectly - OGG: works perfectly however might crash if you use it right after seeking at an index. - OPUS: works perfectly however WILL crash if you use it right after seeking at an index, but works fine if you wait a second before seeking again. (cannot constantly seek like the others)
16 lines
394 B
C
16 lines
394 B
C
#ifndef _ELEVENMPV_AUDIO_OPUS_H_
|
|
#define _ELEVENMPV_AUDIO_OPUS_H_
|
|
|
|
#include <psp2/types.h>
|
|
|
|
int OPUS_Init(const char *path);
|
|
SceUInt32 OPUS_GetSampleRate(void);
|
|
SceUInt8 OPUS_GetChannels(void);
|
|
void OPUS_Decode(void *buf, unsigned int length, void *userdata);
|
|
SceUInt64 OPUS_GetPosition(void);
|
|
SceUInt64 OPUS_GetLength(void);
|
|
SceUInt64 OPUS_Seek(SceUInt64 index);
|
|
void OPUS_Term(void);
|
|
|
|
#endif
|