Commit e416b441 authored by Thomas Guillem's avatar Thomas Guillem

aout: opensles: handle only linear formats

parent a6407ec0
......@@ -379,7 +379,7 @@ static int aout_get_native_sample_rate(audio_output_t *aout)
static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
if (aout_FormatNbChannels(fmt) == 0)
if (aout_FormatNbChannels(fmt) == 0 || !AOUT_FMT_LINEAR(fmt))
SLresult result;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment