AudioParams class
This file is a part of media_kit (https://github.com/media-kit/media-kit).
Copyright © 2021 & onwards, Hitesh Kumar Saini saini123hitesh@gmail.com. All rights reserved. Use of this source code is governed by MIT license that can be found in the LICENSE file. AudioParams
Audio format as output by the audio decoder.
Constructors
Properties
- channelCount → int?
-
Number of audio channels.
final
- channels → String?
-
The channel layout as a string. This is similar to what the --audio-channels accepts.
final
- format → String?
-
The sample format as string. This uses the same names as used in other places of mpv.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hrChannels → String?
-
As channels, but instead of the possibly cryptic actual layout sent to the audio device, return a hopefully more human readable form.
Usually only audio-out-params/hr-channels makes sense.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampleRate → int?
-
Sample rate.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override