8000 Dynamic sample rate switching · mackron miniaudio · Discussion #1111 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote
  1. Yes, a full tear down and reinitialization is the approach.
  2. There is no way to adapt a sound to the new sample rate. When the engine is reinitialized, all sounds must also be reinitialized. There is a tight coupling there.
  3. It's going to be slow to do a full teardown and reinitialization.
  4. If the rate of the underlying device is changing dynamically there's not a whole lot you can do.

What is your use case for wanting to dynamically change your sample rate? Is it just a configuration thing that you user changes through the UI?

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@lfeng1420
Comment options

@mackron
Comment options

@lfeng1420
Comment options

@mackron
Comment options

@lfeng1420
Comment options

Answer selected by lfeng1420
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0