8000 WASAPI Exclusive mode distorted audio playback · mackron miniaudio · Discussion #1022 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

I'm assuming you are calling ma_engine_read_pcm_frames() in your data callback? If so, this is your problem:

device_config.playback.format = ma_format_unknown;

ma_engine is always ma_format_f32. Change that line to this:

device_config.playback.format = ma_format_f32;

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@mackron
Comment options

Answer selected by Rapandrasmus
@Rapandrasmus
Comment options

@mackron
Comment options

@Rapandrasmus
Comment options

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