mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Add the destination format to the error when conversion isn't possible
This commit is contained in:
parent
d33b122f4f
commit
e3cedf967d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user