Skip to content

Commit

Permalink
refactor(services): Remove stubbed audio service
Browse files Browse the repository at this point in the history
Replit is removing the audio service soon (see: replit/replit-py#219)
  • Loading branch information
PotentialStyx committed May 18, 2024
1 parent 644bbb4 commit 666884c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl Channel {
"exec" => Box::new(exec::Exec::new()),
"dotreplit" => Box::new(dotreplit::DotReplit {}),
"fsevents" => Box::new(fsevents::FSEvents::new(sender).await?),
"audio" | "null" => Box::new(stub::Stub {}), // Audio will never be supported and null does nothing
"null" => Box::new(stub::Stub {}), // Null does nothing
_ => return Err(format_err!("Unknown service: {}", service)),
};

Expand Down Expand Up @@ -205,7 +205,6 @@ pub static IMPLEMENTED_SERVICES: &[&str] = &[
"snapshot",
"null",
"git",
"audio",
"output",
"shell",
"toolchain",
Expand Down

1 comment on commit 666884c

@PotentialStyx
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🫡 goodbye audio service

Please sign in to comment.