summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_ecore_audio.c (follow)
AgeCommit message (Collapse)Author
2016-08-30Efl object: Rename Eo_Event -> Efl_Event.Tom Hacohen
This is the last step of the Eo renaming efforts.
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
2016-08-11Change the EFL to follow the new Eo rename.Tom Hacohen
2016-07-05tests: ecore_audio: disable stalling audio_obj_pulse testStefan Schmidt
This test is stalling. Locally as well as on Jenkins. I tried to bisect it without any luck. Even running it from the 1.17 release it does no longer work so i guess it is some change coming from a pulse update on my system. I have version 7.1 here. As we have no-one working actively on ecore_audio I disable the test here and we can track the problem on T4018.
2016-07-05tests: ecore_audio: remove dead codeStefan Schmidt
These test cases do not exist and the code is commented out for a long time.
2016-07-05tests: ecore_audio: move _finished_cb behind PULSE guardStefan Schmidt
This callback is only used from the pulse object test.
2016-06-20Adjust the code according to the eo event stop changes.Tom Hacohen
This was changed in the previous commit.
2016-06-01Revert "Eo: Remove eo_del() and make eo_unref() the replacement."Tom Hacohen
This reverts commit 546ff7bbba788ec834c5608361c0834853f2d5d7. It seems that eo_del() is useful and removing it was creating bugs. The issue is that the way we defined parents in eo, both the parent and the programmer share a reference to the object. When we eo_unref() that reference as the programmer, eo has no way to know it's this specific reference we are freeing, and not a general one, so in some circumstances, for example: eo_ref(child); eo_unref(child); // trying to delete here eo_unref(container); // container is deleted here eo_unref(child); // child already has 0 refs before this point. We would have an issue with references and objects being freed too soon and in general, issue with the references. Having eo_del() solves that, because this one explicitly unparents if there is a parent, meaning the reference ownership is explicitly taken by the programmer. eo_del() is essentially a convenience function around "check if has parent, and if so unparent, otherwise, unref". Which should be used when you want to delete an object although it has a parent, and is equivalent to eo_unref() when it doesn't have one.
2016-05-18eo: for consistency use object like all our API.Cedric Bail
2016-05-18ecore audio test - improve samples for ecore audio testCarsten Haitzler (Rasterman)
2016-05-17Eo: Remove eo_del() and make eo_unref() the replacement.Tom Hacohen
We used to have eo_del() as the mirrored action to eo_add(). No longer, now you just always eo_unref() to delete an object. This change makes it so the reference of the parent is shared with the reference the programmer has. So eo_parent_set(obj, NULL) can free an object, and so does eo_unref() (even if there is a parent). This means Eo no longer complains if you have a parent during deletion.
2016-03-11Revert "Automatic migration to the new eo_add syntax."Tom Hacohen
This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
2016-03-09Automatic migration to the new eo_add syntax.Tom Hacohen
2016-03-03Automatic migration to Eo4.Tom Hacohen
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
2016-02-29Eo callbacks: Migrate all of the EFL to the new event cb signatures.Tom Hacohen
2016-02-16Test rework #1: EcoreVincent Torri
Factorisation of the infra make uniform all the tests
2015-05-28Eo base: Remove the free_func parameter from key_data_set.Tom Hacohen
This was not really useful and against the Eolian guidelines. While I promised I won't break things until the 27th, I was ill (still am), so I'm giving myself a 1 day pass. :P
2015-05-08Ecore audio test: Remove unneeded test.Tom Hacohen
We don't need to test eo works in the ecore audio suite. If you mark it as virtual, it's virtual.
2014-06-03Efl: Update code to use the new class names generated by eolian.Tom Hacohen
2014-04-11Eo2: Fix other forgotten ret.Daniel Zaoui
2014-04-10Ecore audio tests: Updated to Eo2.Tom Hacohen
2014-04-10Eo: eo_base's data_*->key_data_*.Tom Hacohen
2014-04-02Eolian: Integration of Ecore Audio OutYossi Kantor
2014-04-02Eolian: Integration of Ecore Audio InYossi Kantor
2014-03-04Ecore suite: Don't fail if PulseAudio is not runningJean-Philippe ANDRE
In a previous commit I mentionned that make check would fail if PulseAudio is not running. Well, this is a bit excessive, especially for buildbots where it doesn't have to be running. So let's check that PulseAudio is running before failing. Other errors should still be caught. A simple "pulseaudio --check" should do the trick.
2014-03-04Ecore suite: Fix hangs when PulseAudio is not presentJean-Philippe Andre
EFL can be built with PulseAudio support even if PA is not present on the system. In that case, ecore_suite will hang forever. Let's just catch the error instead. Note: make check will fail if PA is not available (but not hang) This is not related to Tom's recent mail (but yeah it reminded me of this bug^^) Fixes T732.
2014-01-26ecore audio: tests - remove #if0'd out codeCarsten Haitzler (Rasterman)
2013-12-23ecore_audio: update test to not look at ecore_init return to much due to ↵Cedric BAIL
system module.
2013-04-29ecore_audio test: Change the volume of the output instead of the inputDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29ecore_audio: Add test to check correct cleanup when removing inputDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29ecore_audio: Test sndfile/tone format and source methods betterDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29ecore_audio: Test pulseaudio output if it is enabledDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29ecore_audio: Test VIO unsetting and freeingDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-26ecore_audio: Test read-while-paused code path as wellDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-26ecore_audio: Test VIO input/output of base in/out classDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-26ecore_audio: Test the looped signal/code path as wellDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-23ecore_audio: Add more return values for methods, catch up with APIDaniel Willmann
input_attach, input_detach, format_set, and source_set now return an Eina_Bool Tests, examples and edje_multisense adapted Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19ecore_audio: Guard against attaching an input twiceDaniel Willmann
Add check in input_attach and change test case accordingly Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19ecore_audio test: Better test coverage for inputsDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18tests/ecore_audio: Create temporary test files in build dirDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Add return value to input_attach methodDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Enable tone test caseDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Enable soundfile test for eoDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Build Eo-based Ecore_Audio and tests nowDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-02ecore_audio: Rename ecore_audio_*_userdata_{get,set} userdata -> dataDaniel Willmann
As mentioned by Cedric *_data_set is used in other places of EFL already. Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-12Ecore tests: Define TESTS_SRC_DIR in the same way as the other tests.Tom Hacohen
Deprecate CHECK_SRC_DIR which is not needed anymore because of that.
2013-01-17ecore_audio tests: Use the correct libcheck functionsDaniel Willmann
Undefined symbols are not nice to have Signed-off-by: Daniel Willmann <d.willmann@samsung.com> SVN revision: 82929
2013-01-16ecore_suite: disable audio tests that will be fixed by asdfuserGustavo Sverzut Barbieri
SVN revision: 82892
2013-01-04efl/ecore_audio: fix test in suite.Gustavo Sverzut Barbieri
SVN revision: 82212
2012-12-14ecore_audio: Add tests caseDaniel Willmann
The sounds used are in the public domain and were taken from freesound.org Signed-off-by: Daniel Willmann <d.willmann@samsung.com> SVN revision: 81004