Fix play_and_cache example: enable pmoconfig feature for PlaylistManager
- Add pmoconfig to the 'full' feature so PlaylistManager can auto-initialize - Update play_and_cache example to use AudioSink::new() without volume - Remove unused PlaylistManager import Without pmoconfig feature enabled, PlaylistManager::get() fails with "PlaylistManager not initialized" error.
This commit is contained in:
@@ -91,7 +91,7 @@ cache = []
|
|||||||
# Active le support pmoaudio node (RadioParadiseStreamSource)
|
# Active le support pmoaudio node (RadioParadiseStreamSource)
|
||||||
pmoaudio = ["dep:pmoaudio", "dep:pmoflac", "dep:pmometadata", "dep:futures-util"]
|
pmoaudio = ["dep:pmoaudio", "dep:pmoflac", "dep:pmometadata", "dep:futures-util"]
|
||||||
# Active le support complet avec playlist (pour les exemples avancés)
|
# Active le support complet avec playlist (pour les exemples avancés)
|
||||||
full = ["pmoaudio", "dep:pmoaudio-ext"]
|
full = ["pmoaudio", "dep:pmoaudio-ext", "pmoconfig"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
# Tests
|
# Tests
|
||||||
|
|||||||
Reference in New Issue
Block a user