AudioEngineFFI class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addAudioSource(String path)
→ bool
-
-
addAudioSourceUri(Uri uri)
→ bool
-
-
addToPlaylist(String path)
→ bool
-
-
clearLastError()
→ void
-
-
clearMultibandFx()
→ void
-
-
clearPlaylist()
→ void
-
-
configureAnalyzer(int frameSize)
→ void
-
-
create({int sampleRate = 48000, int channels = 2})
→ bool
-
-
dispose()
→ void
-
-
endPushStream()
→ void
-
-
getAnalyzerDroppedFrames()
→ int
-
-
getAnalyzerFrameSize()
→ int
-
-
getCrossfadeDurationMs()
→ int
-
-
getCrossfadeEnabled()
→ bool
-
-
getLastError()
→ String
-
-
getMultibandEqGain(int bandIndex)
→ double
-
-
getOutputChannels()
→ int
-
-
getOutputFormat()
→ AudioFormat
-
-
getOutputSampleRate()
→ int
-
-
getPushStreamBufferedBytes()
→ int
-
-
getStatus()
→ PlayerStatus
-
-
initMultibandEq(int bands, List<double> frequencies, {List<double>? qFactors})
→ void
-
-
initPushStream()
→ void
-
-
insertAudioSource(int index, String path)
→ bool
-
-
isNetworkStreamingSupported()
→ bool
-
-
jumpTo(int index)
→ bool
-
-
jumpToWithPosition(int index, Duration position)
→ bool
-
-
moveAudioSource(int fromIndex, int toIndex)
→ bool
-
-
next()
→ bool
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pause()
→ bool
-
-
play()
→ bool
-
-
pollAnalyzerFrame({int? maxSamples})
→ Float32List
-
-
prev()
→ bool
-
-
pushStreamChunk(Pointer<Uint8> data, int size)
→ void
-
-
removeAudioSourceAt(int index)
→ bool
-
-
reshuffle()
→ void
-
-
seek(double percent0to1)
→ bool
-
-
seekTo(Duration position, {int? index})
→ bool
-
-
seekToNext()
→ bool
-
-
seekToPrevious()
→ bool
-
-
setAnalyzerEnabled(bool enabled)
→ void
-
-
setAudioSources(List<AudioSource> sources, {int initialIndex = 0, Duration initialPosition = Duration.zero, bool useLazyPreparation = true, Object? shuffleOrder})
→ bool
-
-
setBandpassEnabled(bool enabled)
→ void
-
-
setBandpassParams({required double cutoffHz, required double q})
→ void
-
-
setCrossfadeDurationMs(int durationMs)
→ void
-
-
setCrossfadeEnabled(bool enabled)
→ void
-
-
setDelayEnabled(bool enabled)
→ void
-
-
setDelayParams({required double mix, required double feedback, required double delayMs})
→ void
-
-
setEqEnabled(bool enabled)
→ void
-
-
setEqGains({required double low, required double mid, required double high})
→ void
-
-
setGain(double gain)
→ void
-
-
setHighpassCutoff(double hz)
→ void
-
-
setHighpassEnabled(bool enabled)
→ void
-
-
setHighshelfEnabled(bool enabled)
→ void
-
-
setHighshelfParams({required double gainDb, required double slope, required double frequencyHz})
→ void
-
-
setLoopMode(LoopMode mode)
→ void
-
-
setLowpassCutoff(double hz)
→ void
-
-
setLowpassEnabled(bool enabled)
→ void
-
-
setLowshelfEnabled(bool enabled)
→ void
-
-
setLowshelfParams({required double gainDb, required double slope, required double frequencyHz})
→ void
-
-
setMultibandEqEnabled(bool enabled)
→ void
-
-
setMultibandEqGain(int bandIndex, double gain)
→ void
-
-
setMultibandFxBands(List<EqBandConfig> bands)
→ void
-
-
setMultibandFxEnabled(bool enabled)
→ void
-
-
setNotchEnabled(bool enabled)
→ void
-
-
setNotchParams({required double q, required double frequencyHz})
→ void
-
-
setOutputChannels(int channels)
→ void
-
-
setOutputFormat(AudioFormat format)
→ void
-
-
setOutputSampleRate(int rate)
→ void
-
-
setPan(double panMinus1ToPlus1)
→ void
-
-
setPeakEqEnabled(bool enabled)
→ void
-
-
setPeakEqParams({required double gainDb, required double q, required double frequencyHz})
→ void
-
-
setPlaylist(List<String> paths)
→ bool
-
-
setReverbEnabled(bool enabled)
→ void
-
-
setReverbParams({required double mix, required double feedback, required double delayMs})
→ void
-
-
setShuffleModeEnabled(bool enabled)
→ void
-
-
stop()
→ bool
-
-
toString()
→ String
-
A string representation of this object.
inherited