Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Engine.Audio.SoundBuffer
类 Engine.Audio.SoundBuffer 继承关系图:
Engine.Audio.SoundBuffer 的协作图:

Public 成员函数

 SoundBuffer (byte[] data, int startIndex, int itemsCount, int channelsCount, int samplingFrequency)
 SoundBuffer (short[] data, int startIndex, int itemsCount, int channelsCount, int samplingFrequency)
 SoundBuffer (Stream stream, int bytesCount, int channelsCount, int samplingFrequency)
 SoundBuffer ()
void Dispose ()
void InitializeProperties (int samplesCount, int channelsCount, int samplingFrequency)

静态 Public 成员函数

static SoundBuffer Load (SoundData soundData)
static SoundBuffer Load (Stream stream, SoundFileFormat format)
static SoundBuffer Load (string fileName, SoundFileFormat format)
static SoundBuffer Load (Stream stream)
static SoundBuffer Load (string fileName)

Public 属性

int m_buffer

属性

int ChannelsCount [get, set]
int SamplingFrequency [get, set]
int SamplesCount [get, set]
int UseCount [get, set]

Private 成员函数

void InternalDispose ()
unsafe void CreateBuffer< T > (T[] data, int startIndex, int itemsCount, int channelsCount, int samplingFrequency)
void Initialize< T > (T[] data, int startIndex, int itemsCount, int channelsCount, int samplingFrequency)
byte[] Initialize (Stream stream, int bytesCount, int channelsCount, int samplingFrequency)

详细描述

在文件 SoundBuffer.cs10 行定义.

构造及析构函数说明

◆ SoundBuffer() [1/4]

Engine.Audio.SoundBuffer.SoundBuffer ( byte[] data,
int startIndex,
int itemsCount,
int channelsCount,
int samplingFrequency )

在文件 SoundBuffer.cs21 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ SoundBuffer() [2/4]

Engine.Audio.SoundBuffer.SoundBuffer ( short[] data,
int startIndex,
int itemsCount,
int channelsCount,
int samplingFrequency )

在文件 SoundBuffer.cs26 行定义.

函数调用图:

◆ SoundBuffer() [3/4]

Engine.Audio.SoundBuffer.SoundBuffer ( Stream stream,
int bytesCount,
int channelsCount,
int samplingFrequency )

在文件 SoundBuffer.cs31 行定义.

函数调用图:

◆ SoundBuffer() [4/4]

Engine.Audio.SoundBuffer.SoundBuffer ( )

在文件 SoundBuffer.cs36 行定义.

成员函数说明

◆ CreateBuffer< T >()

unsafe void Engine.Audio.SoundBuffer.CreateBuffer< T > ( T[] data,
int startIndex,
int itemsCount,
int channelsCount,
int samplingFrequency )
private
类型限制
T :unmanaged 

在文件 SoundBuffer.cs46 行定义.

函数调用图:

◆ Dispose()

void Engine.Audio.SoundBuffer.Dispose ( )

在文件 SoundBuffer.cs67 行定义.

函数调用图:

◆ Initialize()

byte[] Engine.Audio.SoundBuffer.Initialize ( Stream stream,
int bytesCount,
int channelsCount,
int samplingFrequency )
private

在文件 SoundBuffer.cs116 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Initialize< T >()

void Engine.Audio.SoundBuffer.Initialize< T > ( T[] data,
int startIndex,
int itemsCount,
int channelsCount,
int samplingFrequency )
private
类型限制
T :unmanaged 

在文件 SoundBuffer.cs107 行定义.

函数调用图:

◆ InitializeProperties()

void Engine.Audio.SoundBuffer.InitializeProperties ( int samplesCount,
int channelsCount,
int samplingFrequency )

在文件 SoundBuffer.cs90 行定义.

这是这个函数的调用关系图:

◆ InternalDispose()

void Engine.Audio.SoundBuffer.InternalDispose ( )
private

在文件 SoundBuffer.cs38 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Load() [1/5]

SoundBuffer Engine.Audio.SoundBuffer.Load ( SoundData soundData)
static

在文件 SoundBuffer.cs74 行定义.

函数调用图:

◆ Load() [2/5]

SoundBuffer Engine.Audio.SoundBuffer.Load ( Stream stream)
static

在文件 SoundBuffer.cs86 行定义.

函数调用图:

◆ Load() [3/5]

SoundBuffer Engine.Audio.SoundBuffer.Load ( Stream stream,
SoundFileFormat format )
static

在文件 SoundBuffer.cs82 行定义.

函数调用图:

◆ Load() [4/5]

SoundBuffer Engine.Audio.SoundBuffer.Load ( string fileName)
static

在文件 SoundBuffer.cs88 行定义.

函数调用图:

◆ Load() [5/5]

SoundBuffer Engine.Audio.SoundBuffer.Load ( string fileName,
SoundFileFormat format )
static

在文件 SoundBuffer.cs84 行定义.

函数调用图:

类成员变量说明

◆ m_buffer

int Engine.Audio.SoundBuffer.m_buffer

在文件 SoundBuffer.cs11 行定义.

属性说明

◆ ChannelsCount

int Engine.Audio.SoundBuffer.ChannelsCount
getset

在文件 SoundBuffer.cs13 行定义.

◆ SamplesCount

int Engine.Audio.SoundBuffer.SamplesCount
getset

在文件 SoundBuffer.cs17 行定义.

◆ SamplingFrequency

int Engine.Audio.SoundBuffer.SamplingFrequency
getset

在文件 SoundBuffer.cs15 行定义.

◆ UseCount

int Engine.Audio.SoundBuffer.UseCount
getset

在文件 SoundBuffer.cs19 行定义.


该类的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Engine/Engine.Audio/SoundBuffer.cs