AudioSpec class

Audio specification.

SDL Docs

Constructors

AudioSpec({required int freq, required int audioFormat, required int channels, required int silence, required int samples, required int size})
Create an instance.
const
AudioSpec.fromPointer(Pointer<SDL_AudioSpec> ptr)
Create an instance from a pointer.
factory

Properties

audioFormat int
The audio format.
final
channels int
The number of channels.
final
freq int
DSP frequency.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samples int
Buffer size in samples.
final
silence int
Audio buffer silence value.
final
size int
Buffer size.
final

Methods

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