mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 15:11:10 +00:00
Adds the audio player WebCodecs decode pipeline.
This commit is contained in:
1 parent
4e06cc47d3
commit
fbc67c81c3
6 files changed
+1213
-7
No files matched your search
@@ -35,9 +35,10 @@
|
||||
* bar shows the same loading state for an engine's own range fetch as it does for a seek. The state it sets
|
||||
* stays until the engine reports it is no longer buffering, and a playhead report never clears it.
|
||||
* - host.reportEnded(): reports that the current track reached its end.
|
||||
* - host.reportError(error): reports an engine failure, wrapped into a {@link LuminaAudioPlayer.PlayerError}. A download
|
||||
* engine must forward its downloader's onError here, because the downloader only reports to its own callback and
|
||||
* never emits on the event bus, so a failure that is not forwarded stays unobserved.
|
||||
* - host.reportError(error): reports an engine failure, wrapped into a {@link LuminaAudioPlayer.PlayerError}. Every sub
|
||||
* component that reports through its own callback must be forwarded here, because such a component only reports to its
|
||||
* own callback and never emits on the event bus, so a failure that is not forwarded stays unobserved. The download
|
||||
* engine must forward its downloader's onError, and an engine that decodes must forward its decoder's onError as well.
|
||||
*
|
||||
* Registering and selecting an engine
|
||||
* -----------------------------------
|
||||
|
||||
Reference in new issue
Block a user