summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-09-12 14:49:24 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2013-09-12 14:49:24 +0100
commit032acce341fbdcc03577e68d54230dad53fcea24 (patch)
treefcc10610f912aac49b26b2160aee5638e27ef4ad /src/lib/ecore_audio
parentc5d64b312f858750bc7466c0aba1dedcb7d16d34 (diff)
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
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c1
1 files changed, 1 insertions, 0 deletions
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 73a93c42da..4799f6d676 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)
135 switch (format) { 135 switch (format) {
136 case ECORE_AUDIO_FORMAT_AUTO: 136 case ECORE_AUDIO_FORMAT_AUTO:
137 obj->sfinfo.format = 0; 137 obj->sfinfo.format = 0;
138 break;
138 case ECORE_AUDIO_FORMAT_WAV: 139 case ECORE_AUDIO_FORMAT_WAV:
139 obj->sfinfo.format = SF_FORMAT_WAV|SF_FORMAT_PCM_16; 140 obj->sfinfo.format = SF_FORMAT_WAV|SF_FORMAT_PCM_16;
140 break; 141 break;