#pragma once enum { //libmixer Error Codes CELL_LIBMIXER_ERROR_NOT_INITIALIZED = 0x80310002, CELL_LIBMIXER_ERROR_INVALID_PARAMATER = 0x80310003, CELL_LIBMIXER_ERROR_NO_MEMORY = 0x80310005, CELL_LIBMIXER_ERROR_ALREADY_EXIST = 0x80310006, CELL_LIBMIXER_ERROR_FULL = 0x80310007, CELL_LIBMIXER_ERROR_NOT_EXIST = 0x80310008, CELL_LIBMIXER_ERROR_TYPE_MISMATCH = 0x80310009, CELL_LIBMIXER_ERROR_NOT_FOUND = 0x8031000a, }; typedef int (*CellSurMixerNotifyCallbackFunction)(void *arg, u32 counter, u32 samples); struct CellSSPlayerConfig { be_t channels; be_t outputMode; }; struct CellSSPlayerWaveParam { void *addr; be_t format; be_t samples; be_t loopStartOffset; be_t startOffset; }; struct CellSSPlayerCommonParam { be_t loopMode; be_t attackMode; }; struct CellSurMixerPosition { be_t x; be_t y; be_t z; }; struct CellSSPlayerRuntimeInfo { be_t level; be_t speed; CellSurMixerPosition position; }; struct CellSurMixerConfig { be_t priority; be_t chStrips1; be_t chStrips2; be_t chStrips6; be_t chStrips8; }; struct CellSurMixerChStripParam { be_t param; void *attribute; be_t dBSwitch; be_t floatVal; be_t intVal; }; CellSSPlayerWaveParam current_SSPlayerWaveParam;