summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_ecore_audio.c
diff options
context:
space:
mode:
authorDaniel Willmann <d.willmann@samsung.com>2013-04-29 19:54:41 +0100
committerDaniel Willmann <d.willmann@samsung.com>2013-04-29 19:57:16 +0100
commit0c0ff0193061a12931b7d2d2bfbcf4c782261377 (patch)
tree204216e0b212d940da7655c752e12c4d3a15646b /src/tests/ecore/ecore_test_ecore_audio.c
parent72e65872d51c7222c3f99835a51963ab22ac06b5 (diff)
ecore_audio test: Change the volume of the output instead of the input
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Diffstat (limited to '')
-rw-r--r--src/tests/ecore/ecore_test_ecore_audio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_audio.c b/src/tests/ecore/ecore_test_ecore_audio.c
index c4955c4..beebefe 100644
--- a/src/tests/ecore/ecore_test_ecore_audio.c
+++ b/src/tests/ecore/ecore_test_ecore_audio.c
@@ -260,8 +260,11 @@ _seek_vol(void *data)
260{ 260{
261 double len; 261 double len;
262 Eo *in = data; 262 Eo *in = data;
263 Eo *out;
263 264
264 eo_do(in, ecore_audio_obj_volume_set(0.4)); 265 eo_do(in, ecore_audio_obj_in_output_get(&out));
266
267 eo_do(out, ecore_audio_obj_volume_set(0.4));
265 eo_do(in, ecore_audio_obj_in_seek(-0.3, SEEK_END, &len)); 268 eo_do(in, ecore_audio_obj_in_seek(-0.3, SEEK_END, &len));
266 fail_if(len < 0); 269 fail_if(len < 0);
267 270