rpcsx/rpcs3/Emu/Cell/Modules/cellCelp8Enc.h
AnnieL dc34d5b350 cell: add several error (return) codes and definitions (#1914)
* cellHttp: add error codes

Adds error codes for cellHttp and cellHttps

* libDaisy: adds error codes and definitions

Adds error codes, assertations and definitions for cellDaisy.

* cellHttpUtil: add error codes

Adds error codes for cellHttpUtil.

* cellCelp8Enc: moves error codes, adds definitions

Moves error codes to cellCelp8Enc.h, adds some definitions.

* cellCelpEnc: moves error codes, adds definitions

* cellJpgEnc: adds error codes and definitions

Moves the existant error codes to cellJpgEnc.h and adds more error codes
/ definitions.

* cellVoice: moves error codes, adds definitions

Moves error codes to cellVoice.h, adds most cellVoice definitions

* Fix typos
2016-07-15 00:02:07 +03:00

38 lines
875 B
C++

#pragma once
namespace vm { using namespace ps3; }
// libCelp8Enc = 0x806140a1 - 0x806140bf
// Return Codes
enum
{
CELL_CELP8ENC_ERROR_FAILED = 0x806140a1,
CELL_CELP8ENC_ERROR_SEQ = 0x806140a2,
CELL_CELP8ENC_ERROR_ARG = 0x806140a3,
CELL_CELP8ENC_ERROR_CORE_FAILED = 0x806140b1,
CELL_CELP8ENC_ERROR_CORE_SEQ = 0x806140b2,
CELL_CELP8ENC_ERROR_CORE_ARG = 0x806140b3,
};
// Definitions
enum
{
CELL_CELP8ENC_FS_8kHz = 1,
CELL_CELP8ENC_EXCITATION_MODE_MPE = 0,
CELL_CELP8ENC_MPE_CONFIG_0 = 0,
CELL_CELP8ENC_MPE_CONFIG_2 = 2,
CELL_CELP8ENC_MPE_CONFIG_6 = 6,
CELL_CELP8ENC_MPE_CONFIG_9 = 9,
CELL_CELP8ENC_MPE_CONFIG_12 = 12,
CELL_CELP8ENC_MPE_CONFIG_15 = 15,
CELL_CELP8ENC_MPE_CONFIG_18 = 18,
CELL_CELP8ENC_MPE_CONFIG_21 = 21,
CELL_CELP8ENC_MPE_CONFIG_24 = 24,
CELL_CELP8ENC_MPE_CONFIG_26 = 26,
CELL_CELP8ENC_WORD_SZ_FLOAT,
};