Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add the destination format to the error when conversion isn't possible
  • Loading branch information
slouken committed Jan 11, 2020
1 parent d33b122 commit e3cedf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/SDL_audiocvt.c
Expand Up @@ -677,7 +677,7 @@ SDL_BuildAudioTypeCVTFromFloat(SDL_AudioCVT *cvt, const SDL_AudioFormat dst_fmt)
}

if (!filter) {
return SDL_SetError("No conversion from float to destination format available");
return SDL_SetError("No conversion from float to format 0x.4x available", dst_fmt);
}

if (SDL_AddAudioCVTFilter(cvt, filter) < 0) {
Expand Down

0 comments on commit e3cedf9

Please sign in to comment.