mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-23 20:22:40 +00:00
Add pspaudio error codes
http://uofw.github.io/uofw/audio_8h_source.html
This commit is contained in:
@@ -33,6 +33,20 @@ extern "C" {
|
||||
|
||||
/** Used to request the next available hardware channel. */
|
||||
#define PSP_AUDIO_NEXT_CHANNEL (-1)
|
||||
|
||||
/** Error codes used as return values for the Audio Driver. */
|
||||
#define SCE_AUDIO_ERROR_NOT_INITIALIZED (0x80260001)
|
||||
#define SCE_AUDIO_ERROR_OUTPUT_BUSY (0x80260002)
|
||||
#define SCE_AUDIO_ERROR_INVALID_CH (0x80260003)
|
||||
#define SCE_AUDIO_ERROR_PRIV_REQUIRED (0x80260004)
|
||||
#define SCE_AUDIO_ERROR_NOT_FOUND (0x80260005)
|
||||
#define SCE_AUDIO_ERROR_INVALID_SIZE (0x80260006)
|
||||
#define SCE_AUDIO_ERROR_INVALID_FORMAT (0x80260007)
|
||||
#define SCE_AUDIO_ERROR_NOT_RESERVED (0x80260008)
|
||||
#define SCE_AUDIO_ERROR_NOT_OUTPUT (0x80260009)
|
||||
#define SCE_AUDIO_ERROR_INVALID_FREQUENCY (0x8026000A)
|
||||
#define SCE_AUDIO_ERROR_INVALID_VOLUME (0x8026000B)
|
||||
#define SCE_AUDIO_ERROR_INPUT_BUSY (0x80260010)
|
||||
|
||||
enum PspAudioFormats
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user