MCPcopy Create free account
hub / github.com/Moosync/Moosync / set_enabled

Method set_enabled

src/players/librespot.rs:106–109  ·  view source on GitHub ↗
(en: bool)

Source from the content-addressed store, hash-verified

104
105 #[tracing::instrument(level = "debug", skip(en))]
106 pub fn set_enabled(en: bool) {
107 *(ENABLED.lock().unwrap()) = en;
108 LibrespotPlayer::initialize_librespot();
109 }
110
111 #[tracing::instrument(level = "debug", skip(init))]
112 pub fn set_initialized(init: bool) {

Callers

nothing calls this directly

Calls 1

initialize_librespotFunction · 0.85

Tested by

no test coverage detected