stefan pushed a commit to branch master.
commit 032acce341fbdcc03577e68d54230dad53fcea24
Author: Stefan Schmidt <[email protected]>
Date: Thu Sep 12 14:49:24 2013 +0100
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
---
src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c
b/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c
index 73a93c4..4799f6d 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c
@@ -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;
--
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk