Class DsWaveFile
Assembly: JeremyAnsel.DirectX.DirectSound.dll
Syntax
public sealed class DsWaveFile
Properties
|
Edit this page
View Source
AvgBytesPerSec
Declaration
public int AvgBytesPerSec { get; }
Property Value
|
Edit this page
View Source
BitsPerSample
Declaration
public int BitsPerSample { get; set; }
Property Value
|
Edit this page
View Source
BlockAlign
Declaration
public int BlockAlign { get; }
Property Value
|
Edit this page
View Source
Channels
Declaration
public int Channels { get; set; }
Property Value
|
Edit this page
View Source
Data
Declaration
public byte[] Data { get; set; }
Property Value
|
Edit this page
View Source
SampleRate
Declaration
public int SampleRate { get; set; }
Property Value
Methods
|
Edit this page
View Source
Declaration
public byte[] BuildHeader()
Returns
|
Edit this page
View Source
FromFile(string?)
Declaration
public static DsWaveFile FromFile(string? fileName)
Parameters
| Type |
Name |
Description |
| string |
fileName |
|
Returns
|
Edit this page
View Source
FromStream(Stream?)
Declaration
public static DsWaveFile FromStream(Stream? stream)
Parameters
| Type |
Name |
Description |
| Stream |
stream |
|
Returns
|
Edit this page
View Source
Save(Stream)
Declaration
public void Save(Stream file)
Parameters
| Type |
Name |
Description |
| Stream |
file |
|
|
Edit this page
View Source
Save(string?)
Declaration
public void Save(string? fileName)
Parameters
| Type |
Name |
Description |
| string |
fileName |
|