C# Class CSPspEmu.Hle.Modules.sc_sascore.sceSasCore

Inheritance: HleModuleHost
显示文件 Open project: soywiz/cspspemu

Protected Properties

Property Type Description
BufferShort StereoShortSoundSample[]
BufferTemp StereoIntSoundSample[]
MixBufferShort StereoShortSoundSample[]

Public Methods

Method Description
GetSasCore ( uint SasCorePointer, bool CreateIfNotExists = false ) : SasCore
__sceSasCore_Internal ( SasCore SasCore, short SasOut, short SasIn, int LeftVolume, int RightVolume ) : int

Private Methods

Method Description
CheckGrains ( int GrainSamples ) : void
GetSasCoreVoice ( uint SasCorePointer, int Voice ) : SasVoice

Checks if a SasCore pointer structure is fine.

_CheckVoice ( int Voice ) : void

Checks a voice.

__sceSasCore ( uint SasCorePointer, short SasOut ) : int
__sceSasCoreWithMix ( uint SasCorePointer, short SasInOut, int LeftVolume, int RightVolume ) : int
__sceSasGetAllEnvelopeHeights ( uint SasCorePointer, int Heights ) : int
__sceSasGetEndFlag ( uint SasCorePointer ) : uint
__sceSasGetEnvelopeHeight ( uint SasCorePointer, int Voice ) : int
__sceSasGetGrain ( uint SasCorePointer ) : int
__sceSasGetOutputmode ( uint SasCorePointer ) : OutputMode
__sceSasGetPauseFlag ( uint SasCorePointer ) : int
__sceSasInit ( uint SasCorePointer, int GrainSamples, int MaxVoices, OutputMode OutputMode, int SampleRate ) : uint
__sceSasRevEVOL ( uint SasCorePointer, int LeftVolume, int RightVolume ) : uint
__sceSasRevParam ( uint SasCorePointer, int Delay, int Feedback ) : int
__sceSasRevType ( uint SasCorePointer, WaveformEffectType WaveformEffectType ) : uint
__sceSasRevVON ( uint SasCorePointer, bool WaveformEffectIsDry, bool WaveformEffectIsWet ) : uint
__sceSasSetADSR ( uint SasCorePointer, int Voice, AdsrFlags Flags, int AttackRate, int DecayRate, int SustainRate, int ReleaseRate ) : int
__sceSasSetADSRmode ( uint SasCorePointer, int voice, AdsrFlags flags, AdsrCurveMode attackCurveMode, AdsrCurveMode decayCurveMode, AdsrCurveMode sustainCurveMode, AdsrCurveMode releaseCurveMode ) : int
__sceSasSetGrain ( uint SasCorePointer, int GrainSamples ) : int
__sceSasSetKeyOff ( uint SasCorePointer, int Voice ) : int
__sceSasSetKeyOn ( uint SasCorePointer, int Voice ) : int
__sceSasSetNoise ( uint SasCorePointer, int Voice, int NoiseFrequency ) : int
__sceSasSetOutputmode ( uint SasCorePointer, OutputMode OutputMode ) : int
__sceSasSetPause ( uint SasCorePointer, uint VoiceBits, bool SetPause ) : int
__sceSasSetPitch ( uint SasCorePointer, int Voice, int Pitch ) : int
__sceSasSetSL ( uint SasCorePointer, int Voice, int SustainLevel ) : int
__sceSasSetSimpleADSR ( uint SasCorePointer, int Voice, ushort Env1Bitfield, ushort Env2Bitfield ) : int
__sceSasSetSteepWave ( ) : int
__sceSasSetTriangularWave ( ) : int
__sceSasSetVoice ( uint SasCorePointer, int Voice, byte VagPointer, int VagSize, int LoopCount ) : int
__sceSasSetVoicePCM ( ) : int
__sceSasSetVolume ( uint SasCorePointer, int Voice, int LeftVolume, int RightVolume, int EffectLeftVol, int EffectRightVol ) : int
sceSasCore ( ) : System

Method Details

GetSasCore() public method

public GetSasCore ( uint SasCorePointer, bool CreateIfNotExists = false ) : SasCore
SasCorePointer uint
CreateIfNotExists bool
return SasCore

__sceSasCore_Internal() public method

public __sceSasCore_Internal ( SasCore SasCore, short SasOut, short SasIn, int LeftVolume, int RightVolume ) : int
SasCore SasCore
SasOut short
SasIn short
LeftVolume int
RightVolume int
return int

Property Details

BufferShort protected_oe property

protected StereoShortSoundSample[] BufferShort
return StereoShortSoundSample[]

BufferTemp protected_oe property

protected StereoIntSoundSample[] BufferTemp
return StereoIntSoundSample[]

MixBufferShort protected_oe property

protected StereoShortSoundSample[] MixBufferShort
return StereoShortSoundSample[]