rpcsx/rpcs3/Emu/Cell/Modules/cellCelpEnc.h
2018-02-09 17:49:37 +03:00

33 lines
628 B
C

#pragma once
// libCelpEnc = 0x80614001 - 0x806140ff
// Return Codes
enum
{
CELL_CELPENC_ERROR_FAILED = 0x80614001,
CELL_CELPENC_ERROR_SEQ = 0x80614002,
CELL_CELPENC_ERROR_ARG = 0x80614003,
CELL_CELPENC_ERROR_CORE_FAILED = 0x80614081,
CELL_CELPENC_ERROR_CORE_SEQ = 0x80614082,
CELL_CELPENC_ERROR_CORE_ARG = 0x80614083,
};
// Definitions
enum
{
CELL_CELPENC_FS_16kHz = 2,
CELL_CELPENC_EXCITATION_MODE_RPE = 1,
CELL_CELPENC_RPE_CONFIG_0,
CELL_CELPENC_RPE_CONFIG_1,
CELL_CELPENC_RPE_CONFIG_2,
CELL_CELPENC_RPE_CONFIG_3,
CELL_CELPENC_WORD_SZ_INI16_LE,
CELL_CELPENC_WORD_SZ_FLOAT,
};