ecore_audio: Add missing break in _format_set()

We have been missing the actual break statement in this switch. Without
it the format for auto would always been set to wav.

CID: 1039378
This commit is contained in:
Stefan Schmidt 2013-09-12 14:49:24 +01:00
parent c5d64b312f
commit 032acce341
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ static void _format_set(Eo *eo_obj, void *_pd, va_list *list)
switch (format) {
case ECORE_AUDIO_FORMAT_AUTO:
obj->sfinfo.format = 0;
break;
case ECORE_AUDIO_FORMAT_WAV:
obj->sfinfo.format = SF_FORMAT_WAV|SF_FORMAT_PCM_16;
break;