Commit Graph

85 Commits

Author SHA1 Message Date
Tom Hacohen 0fc3279db9 Efl: Update code to use the new class names generated by eolian. 2014-06-03 11:28:01 +01:00
Yossi Kantor 118666107d Eolian: Clean out Ecore Audio Eo headers 2014-04-11 09:26:15 +03:00
Tom Hacohen 96fe5bd941 More adjustments for eo2 calls. 2014-04-10 04:20:21 +01:00
Tom Hacohen 92cc33c46f Eo: EO_BASE_CLASS->EO_CLASS. 2014-04-10 04:20:21 +01:00
Tom Hacohen 374af9b9ca Eo: eo_base's data_*->key_data_*. 2014-04-10 04:20:21 +01:00
Daniel Zaoui 3d1323042d Eolian: use legacy_prefix: null for interfaces.
legacy set to null was used for every function to not generate a legacy
API. legacy_prefix set to null indicates no legacy has to be generated
for all the class.
2014-04-03 10:24:44 +03:00
Tom Hacohen a77c614c7f Ecore audio: Fix casting of int to void *.
When doing that, intptr_t shoud be used as well.
2014-04-02 14:34:47 +01:00
Yossi Kantor 07da26add9 Eolian: Integration of Ecore Audio In Tone 2014-04-02 15:56:14 +03:00
Yossi Kantor 7876846f01 Eolian: Integration of Ecore Audio Out Pulse 2014-04-02 15:56:14 +03:00
Yossi Kantor 88860a209e Eolian: Integration of Ecore Audio Out Sndfile 2014-04-02 15:56:14 +03:00
Yossi Kantor 6295d77a3c Eolian: Integration of Ecore Audio In Sndfile 2014-04-02 15:56:14 +03:00
Yossi Kantor 70b39368e6 Eolian: Integration of Ecore Audio Out 2014-04-02 15:56:14 +03:00
Yossi Kantor 2c8bc8df52 Eolian: Integration of Ecore Audio In 2014-04-02 15:56:14 +03:00
Yossi Kantor eb2821bca0 Eolian: Integration of Ecore Audio 2014-04-02 15:56:14 +03:00
Carsten Haitzler 0df9bd2cdb ecore-audio: remove src files that are never compiled 2014-01-26 21:35:17 +09:00
Jihoon Kim 946a797e0d fix warning related to argument in generating doxygen 2014-01-07 11:27:15 +09:00
Guillaume Friloux 5ad2e0455f ecore_audio - Fix doxygen command that does not exist. 2014-01-03 19:07:03 +01:00
Daniel Juyung Seo 76d8532b54 efl: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 12:27:13 +09:00
Carsten Haitzler 80d666e7a4 ecore-audio - protect against more list-walking while list is modified 2013-11-17 11:03:20 +09:00
Carsten Haitzler 35228f32f1 ecore-audio - handle deletion of objects from outputs list in ctx fail cb 2013-11-10 11:04:18 +09:00
Carsten Haitzler 3b531d01bd ecore-audio - remove the obj from the list before calling eo super destructor 2013-11-10 10:45:33 +09:00
Tom Hacohen c7addf4083 Changed Eo class names to be consistent.
All the class names are now of the format: Lib_Type_Subtype_Extra.
2013-11-07 11:17:52 +00:00
Tom Hacohen 682c69764d Revert "eo: libs,test,benchmarks Eo_Class -> Eo"
This reverts commit 1714fe93f4.

We actually want this type, it makes things clearer.

Conflicts:
	src/tests/eo/function_overrides/function_overrides_inherit2.c
	src/tests/eo/function_overrides/function_overrides_simple.c
	src/tests/eo/suite/eo_test_class_simple.c
2013-09-27 16:40:32 +01:00
Jérémy Zurcher 1714fe93f4 eo: libs,test,benchmarks Eo_Class -> Eo
Conflicts:
	src/tests/eo/suite/eo_test_general.c
2013-09-27 14:01:46 +01:00
Stefan Schmidt 032acce341 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
2013-09-12 14:49:24 +01:00
Carsten Haitzler 12981b168e ecore-audio - expose ready and fail events so multisense can avoid leaks
well well well. i WASN'T crazy. there WAS a leak. it was
ecore-audio+multisense. if a pulse audio output doesn't connect... NO
ONE KNOWS. all audio streams keep being appended to it forever just
consuming more memory indefinitely. there is no way to handle it.
expose events so it CAN be handled.
2013-08-27 23:44:53 +09:00
Chris Michael 5be999e0f5 Get the 'fd' from the handler First (regardless of read or write) so
that it can be used in the below event callback.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-06 09:48:21 +01:00
Chris Michael b211a27d67 Init fd to zero (removes compiler warning).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 13:16:44 +01:00
Chris Michael 24413bd7ee Actually declare fd at the top of function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 12:17:26 +01:00
Chris Michael 76766161d2 ecore_main_fd_handler_fd_get can return -1 so we need to check for a
valid fd before calling read().

Reuse returned fd variable in the callback to save extra function call
to ecore_main_fd_handler_fd_get (since we already acquired the fd
above).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 11:46:04 +01:00
Daniel Willmann 76c4140c08 ecore_audio: Add missing break in switch-clause in format_set
Thanks coverity for finding that

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-07-08 13:51:33 +01:00
Daniel Willmann 57a438fd1b ecore_audio: Handle destruction of sndfile input
Correctly close any file we have open and release VIO data

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-09 10:35:51 +01:00
Cedric Bail c232458de5 ecore_audio: _read is a system defined symbol on Windows. 2013-05-05 14:08:57 +09:00
Rafael Antognolli b9836fbc07 Revert "ecore_audio: Add alsa support"
This reverts commit 4db03f700c.
2013-05-03 17:44:07 -03:00
Rafael Antognolli 70e882cefb Revert "ecore_audio: Remove old structs that we don't need anymore"
This reverts commit 96d9869684.
2013-05-03 17:44:01 -03:00
Daniel Willmann 96d9869684 ecore_audio: Remove old structs that we don't need anymore
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-03 17:04:11 +01:00
Daniel Willmann 4db03f700c ecore_audio: Add alsa support
This is not well tested and thus disabled by default

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-03 17:04:11 +01:00
Carsten Haitzler f8c9a8d167 revert the revert... damn you git!
Revert "Revert "Efl: replace eo_data_get for objects data referencing.""

This reverts commit b64a2994b3.
2013-05-02 16:47:16 +09:00
Carsten Haitzler b64a2994b3 Revert "Efl: replace eo_data_get for objects data referencing."
This reverts commit 654a3f5f94.
2013-05-02 14:17:19 +09:00
Daniel Willmann 37c400eb6b ecore_audio: Document the remaining in-/outputs
Also remove the Classes section from the Ecore_Audio_Group, we don't
need it as the pages are linked automatically

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-01 18:20:12 +01:00
Daniel Willmann f8c7f96e05 ecore_audio: Add documentation for ecore_audio_obj_out
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-01 17:45:15 +01:00
Daniel Willmann a101ad2867 ecore_audio: Add documentation for ecore_audio_obj_in
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-01 17:41:54 +01:00
Daniel Willmann c249dc8cee ecore_audio: Update documentation and document ecore_audio_obj
Remove old unused function declarations

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-01 17:36:19 +01:00
Daniel Zaoui 654a3f5f94 Efl: replace eo_data_get for objects data referencing. 2013-05-01 10:37:08 +03:00
Daniel Willmann 108509c3f8 ecore_audio: Remember previous seekable state in vio_set
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29 19:57:16 +01:00
Daniel Willmann 6c7dbf67af ecore_audio: Add vio_set method / write cb to output
ecore_audio_obj_out now also supports VIO. Add attribute need_writer so
we can generalize the idler creation for subclasses at a later time.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-26 18:49:24 +01:00
Daniel Willmann 72870c0b6e ecore_audio: Remove duplicate variables/move to appropriate place
* The idler for the write callback is now in the output struct because
  different outputs might need it.
* Remove paused attribute from output - we have it in Ecore_Audio_Object
  already

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-26 18:49:24 +01:00
Daniel Willmann 3fdc608da1 ecore_audio: Move sndfile VIO into a file to access from in- and output
The VIO wrapper functions are needed from the sndfile inputs and outputs
so move them to a separate file and access from both.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-26 18:49:24 +01:00
Daniel Willmann 3b70c0bc83 ecore_audio: Zero copy in pulse output
Using pa_stream_write_begin we can just request a buffer to write into
This reduces the amount of calloc()/free() and memcpy calls.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-26 18:49:24 +01:00
Daniel Willmann 97d4b50c91 ecore_audio: Add more return values for methods, catch up with API
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-23 17:13:39 +01:00