ecore_audio test: Change the volume of the output instead of the input

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
This commit is contained in:
Daniel Willmann 2013-04-29 19:54:41 +01:00
parent 72e65872d5
commit 0c0ff01930
1 changed files with 4 additions and 1 deletions

View File

@ -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);