summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio (follow)
AgeCommit message (Collapse)Author
2013-12-26efl: Unified eina critical manro to CRI.Daniel Juyung Seo
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-11-17ecore-audio - protect against more list-walking while list is modifiedCarsten Haitzler (Rasterman)
2013-11-10ecore-audio - handle deletion of objects from outputs list in ctx fail cbCarsten Haitzler (Rasterman)
2013-11-10ecore-audio - remove the obj from the list before calling eo super destructorCarsten Haitzler (Rasterman)
2013-11-07Changed Eo class names to be consistent.Tom Hacohen
All the class names are now of the format: Lib_Type_Subtype_Extra.
2013-09-27Revert "eo: libs,test,benchmarks Eo_Class -> Eo"Tom Hacohen
This reverts commit 1714fe93f42d6950171d0ab9069bfb808a62fd31. 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-27eo: libs,test,benchmarks Eo_Class -> EoJérémy Zurcher
Conflicts: src/tests/eo/suite/eo_test_general.c
2013-09-12ecore_audio: Add missing break in _format_set()Stefan Schmidt
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-08-27ecore-audio - expose ready and fail events so multisense can avoid leaksCarsten Haitzler (Rasterman)
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-06Get the 'fd' from the handler First (regardless of read or write) soChris Michael
that it can be used in the below event callback. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05Init fd to zero (removes compiler warning).Chris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05Actually declare fd at the top of function.Chris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05ecore_main_fd_handler_fd_get can return -1 so we need to check for aChris Michael
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-07-08ecore_audio: Add missing break in switch-clause in format_setDaniel Willmann
Thanks coverity for finding that Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-09ecore_audio: Handle destruction of sndfile inputDaniel Willmann
Correctly close any file we have open and release VIO data Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-05ecore_audio: _read is a system defined symbol on Windows.Cedric Bail
2013-05-03Revert "ecore_audio: Add alsa support"Rafael Antognolli
This reverts commit 4db03f700cfaa8261db11a3a0c7162f0e7b71f0d.
2013-05-03Revert "ecore_audio: Remove old structs that we don't need anymore"Rafael Antognolli
This reverts commit 96d98696849ac2b141d6eb9d68238ff8c628c1ac.
2013-05-03ecore_audio: Remove old structs that we don't need anymoreDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-03ecore_audio: Add alsa supportDaniel Willmann
This is not well tested and thus disabled by default Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-02revert the revert... damn you git!Carsten Haitzler (Rasterman)
Revert "Revert "Efl: replace eo_data_get for objects data referencing."" This reverts commit b64a2994b3b277cbe7fce17d7ee275fd0d78c925.
2013-05-02Revert "Efl: replace eo_data_get for objects data referencing."Carsten Haitzler (Rasterman)
This reverts commit 654a3f5f94c2464b8563d27da94a78398c112962.
2013-05-01ecore_audio: Document the remaining in-/outputsDaniel Willmann
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-01ecore_audio: Add documentation for ecore_audio_obj_outDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-01ecore_audio: Add documentation for ecore_audio_obj_inDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-01ecore_audio: Update documentation and document ecore_audio_objDaniel Willmann
Remove old unused function declarations Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-01Efl: replace eo_data_get for objects data referencing.Daniel Zaoui
2013-04-29ecore_audio: Remember previous seekable state in vio_setDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-26ecore_audio: Add vio_set method / write cb to outputDaniel Willmann
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-26ecore_audio: Remove duplicate variables/move to appropriate placeDaniel Willmann
* 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-26ecore_audio: Move sndfile VIO into a file to access from in- and outputDaniel Willmann
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-26ecore_audio: Zero copy in pulse outputDaniel Willmann
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-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: Remove unnecessary methods in tone inputDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19ecore_audio: Fix seeking in tone inputDaniel Willmann
Also make seekable be a property of the input as this doesn't make sense for the output. Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19ecore_audio: Fix possible memory leak in pulse main loop integrationDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Fix warningsDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Change method signature of read and read_internalDaniel Willmann
Use size_t and ssize_t as len/return value 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_pulse: Fix small bug that would delay PA stream deletionDaniel Willmann
In case of short reads just make sure that playback is started immediately. No need to drain just yet as that just causes issues with delayed removals of streams. Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Support VIO in sndfile inputDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Implement virtual IO for generic inputDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Add pulseaudio output for eoDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Change signature of read function, reorder methodsDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Implement notification when samplerate changesDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Allow setting frequency and length in tone inputDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Add tone input classDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio: Add sndfile in- and outputDaniel Willmann
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18ecore_audio_obj_in: Implemented read and event sendingDaniel Willmann
A protected read function must now be implemented by the child class to perform the actual reading. Signals on playback loop and end are sent. Signed-off-by: Daniel Willmann <d.willmann@samsung.com>