• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Inferno
    • CollisionMode
    • DrawMode
    • Game
    • Game.OnResizeEventArgs
    • GameState
    • GameState.StateOnDrawEventArgs
    • GameWindow
    • Instance
    • MathHelper
    • Matrix
    • Point
    • Rectangle
    • Settings
    • SpatialMode
    • UpdateMode
    • Vector2
    • Vector3
    • Vector4
  • Inferno.Audio
    • AudioDevice
    • Sound
  • Inferno.Content
    • ContentLoader
  • Inferno.Formats.Audio
    • WaveFormat
  • Inferno.Formats.Graphics.Text
    • FontFormat
  • Inferno.Graphics
    • Camera
    • Color
    • GraphicsDevice
    • PlatformType
    • Renderable
    • RenderableType
    • Renderer
    • RenderSortMode
    • RenderTarget
    • Shader
    • ShaderLanguage
    • ShaderType
    • Sprite
    • Texture2D
    • Tileset
  • Inferno.Graphics.Text
    • Font
    • FontBuilder
  • Inferno.Input
    • ButtonState
    • Key
    • Keyboard
    • Keyboard.KeyEventArgs
    • KeyboardState
    • KeyState
    • Mouse
    • MouseState
  • Inferno.Tiled
    • RenderOrder
    • TiledLayer
    • TiledLayerChunk
    • TiledLoader
    • TiledMap
    • TiledMapOrientation
    • TiledObject
    • TiledObjectLayer
    • TiledVersion
  • Inferno.UI
    • MessageBox
    • MessageBoxType
    • UserInterface
  • Inferno.UI.Controls
    • Button
    • Control
    • Control.ControlClickedEvent
    • Control.ControlHoveredEvent
    • Control.TextChangedEventArgs
    • ControlState
    • Cursor
    • Label

Class WaveFormat

The wave file format

Inheritance
System.Object
WaveFormat
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Inferno.Formats.Audio
Assembly: Inferno.Desktop.dll
Syntax
public class WaveFormat

Fields

| Improve this Doc View Source

AudioFormat

Declaration
public short AudioFormat
Field Value
Type Description
System.Int16
| Improve this Doc View Source

BitsPerSample

Declaration
public short BitsPerSample
Field Value
Type Description
System.Int16
| Improve this Doc View Source

BlockAlign

Declaration
public short BlockAlign
Field Value
Type Description
System.Int16
| Improve this Doc View Source

ByteRate

Declaration
public int ByteRate
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Data

Declaration
public byte[] Data
Field Value
Type Description
System.Byte[]
| Improve this Doc View Source

DataChunkSize

Declaration
public int DataChunkSize
Field Value
Type Description
System.Int32
| Improve this Doc View Source

DataSignature

Declaration
public const string DataSignature = "data"
Field Value
Type Description
System.String
| Improve this Doc View Source

Format

Declaration
public const string Format = "WAVE"
Field Value
Type Description
System.String
| Improve this Doc View Source

FormatChunkSize

Declaration
public int FormatChunkSize
Field Value
Type Description
System.Int32
| Improve this Doc View Source

FormatSignature

Declaration
public const string FormatSignature = "fmt "
Field Value
Type Description
System.String
| Improve this Doc View Source

NumChannels

Declaration
public short NumChannels
Field Value
Type Description
System.Int16
| Improve this Doc View Source

RiffChunkSize

Declaration
public int RiffChunkSize
Field Value
Type Description
System.Int32
| Improve this Doc View Source

SampleRate

Declaration
public int SampleRate
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Signature

Declaration
public const string Signature = "RIFF"
Field Value
Type Description
System.String

Methods

| Improve this Doc View Source

FromStream(Stream)

Load a Wave File from a stream

Declaration
public static WaveFormat FromStream(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream

Stream to load from

Returns
Type Description
WaveFormat

Wave file

  • Improve this Doc
  • View Source
Back to top Generated by DocFX