WaveFile class

A class representing a wave file.

Constructors

WaveFile(Sdl sdl, String filename)
Create an instance from a file name.

Properties

bufferPointer Pointer<Pointer<Uint8>>
The pointer to the buffer where the wave file was loaded.
final
filename String
The filename of the loaded file.
final
hashCode int
The hash code for this object.
no setterinherited
length int
Get the actual length from lengthPointer.
no setter
lengthPointer Pointer<Uint32>
The pointer which holds the length of the loaded file.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdl Sdl
The SDL bindings to use.
final
specPointer Pointer<SDL_AudioSpec>
The pointer to the specification of the loaded file.
final

Methods

destroy() → void
Destroy this instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited