Skip to content
Snippets Groups Projects
Commit 5b4edd72 authored by Daniel P. Berrangé's avatar Daniel P. Berrangé
Browse files

audio: don't abort on f32 audio format in wav backend


Print a debug message as is done for other unsupported audio formats
to give the user the chance to understand their mistake.

Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
parent 9c636e0f
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,10 @@ static int wav_init_out(HWVoiceOut *hw, struct audsettings *as,
dolog ("WAVE files can not handle 32bit formats\n");
return -1;
case AUDIO_FORMAT_F32:
dolog("WAVE files can not handle float formats\n");
return -1;
default:
abort();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment