asdfuser pushed a commit to branch master.

commit 0c0ff0193061a12931b7d2d2bfbcf4c782261377
Author: Daniel Willmann <[email protected]>
Date:   Mon Apr 29 19:54:41 2013 +0100

    ecore_audio test: Change the volume of the output instead of the input
    
    Signed-off-by: Daniel Willmann <[email protected]>
---
 src/tests/ecore/ecore_test_ecore_audio.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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)
 {
    double len;
    Eo *in = data;
+   Eo *out;
 
-   eo_do(in, ecore_audio_obj_volume_set(0.4));
+   eo_do(in, ecore_audio_obj_in_output_get(&out));
+
+   eo_do(out, ecore_audio_obj_volume_set(0.4));
    eo_do(in, ecore_audio_obj_in_seek(-0.3, SEEK_END, &len));
    fail_if(len < 0);
 

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to