Skip to content

Conversation

@task-jp
Copy link
Contributor

@task-jp task-jp commented May 23, 2025

  • Use kira crate to play sound

@ogoffart ogoffart requested a review from NigelBreslaw June 2, 2025 14:06
[dependencies]
slint = { path = "../../../api/rs/slint" }
chrono = "0.4"
kira = "0.10"
Copy link
Member

Choose a reason for hiding this comment

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

To reduce build times, I suggest to include only the audio format needed.

Suggested change
kira = "0.10"
kira = { version = "0.10", default-features = false, features = ["wav"] }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants