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
Daniel Willmann
6781342d3c
ecore_audio: Guard against attaching an input twice
...
Add check in input_attach and change test case accordingly
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 18:34:16 +01:00
Daniel Willmann
3b5f002f17
ecore_audio: Remove unnecessary methods in tone input
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 15:29:44 +01:00
Daniel Willmann
1c0107afd8
ecore_audio: Fix seeking in tone input
...
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-19 15:28:00 +01:00
Daniel Willmann
fe292a34fb
ecore_audio: Fix possible memory leak in pulse main loop integration
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 13:43:52 +01:00
Daniel Willmann
2d85906367
ecore_audio: Fix warnings
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:34:33 +01:00
Daniel Willmann
88835840ea
ecore_audio: Change method signature of read and read_internal
...
Use size_t and ssize_t as len/return value
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:32:46 +01:00
Daniel Willmann
e99ab4623a
ecore_audio: Add return value to input_attach method
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:32:46 +01:00
Daniel Willmann
e93ddc9bb3
ecore_audio_pulse: Fix small bug that would delay PA stream deletion
...
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-18 19:16:40 +01:00
Daniel Willmann
d2326d229e
ecore_audio: Support VIO in sndfile input
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:16:40 +01:00
Daniel Willmann
e89153a21d
ecore_audio: Implement virtual IO for generic input
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:15:39 +01:00
Daniel Willmann
7255656738
ecore_audio: Add pulseaudio output for eo
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann
01e4c9597e
ecore_audio: Change signature of read function, reorder methods
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann
76509b2340
ecore_audio: Implement notification when samplerate changes
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann
38b3738384
ecore_audio: Allow setting frequency and length in tone input
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann
e865d5b0a4
ecore_audio: Add tone input class
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann
422d3313e8
ecore_audio: Add sndfile in- and output
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann
845aeb5c63
ecore_audio_obj_in: Implemented read and event sending
...
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>
2013-04-18 19:12:17 +01:00
Daniel Willmann
bd948a81a4
ecore_audio: Add new methods to ecore_audio objects
...
obj_format_get/set
obj_in_looped_get/set
obj_in_length_get
Change signature of seek
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann
1dab08a39e
ecore_audio: Clean up the headers
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann
b22ac214e2
ecore_audio: Add EO_TYPECHECK to the method ID macro
...
Better checks should prevent typos/cnp issues when registering methods
for functions.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann
48b78234a8
ecore_audio: Build Eo-based Ecore_Audio and tests now
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann
bfc4601673
ecore_audio: Add new eo-based ecore_audio objects
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:16 +01:00
Daniel Willmann
4d318ba913
ecore_audio: Implement speed get/set functions
...
You can now change the playback speed of an input
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-02 16:26:47 +01:00
Daniel Willmann
75aa9118d0
ecore_audio: Rename ecore_audio_*_userdata_{get,set} userdata -> data
...
As mentioned by Cedric *_data_set is used in other places of EFL
already.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-02 16:21:44 +01:00
Cedric BAIL
2063e4353d
efl: integrate eina_log_timing.
2013-03-27 21:43:45 +09:00
Gustavo Sverzut Barbieri
5c7967827b
efl: easy warning fixes.
...
SVN revision: 82277
2013-01-05 15:42:26 +00:00
Gustavo Sverzut Barbieri
0cfc04ae7d
efl/ecore_audio: fix doxygen hierarchy.
...
SVN revision: 81833
2012-12-28 19:47:31 +00:00
Jonas M. Gastal
e3ae81e65f
efl: Created Ecore group and added existing Ecore groups to it.
...
SVN revision: 81293
2012-12-18 18:38:44 +00:00
Daniel Willmann
15ec12fabc
efl: Add ChangeLog, NEWS and @since for ecore_audio
...
Vtorri is right of course.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 81268
2012-12-18 15:51:47 +00:00
Daniel Willmann
eb15fa9e9c
ecore_audio: Add rudimentary ALSA support
...
By rudimentary I mean I barely got it to work. For my particular test
case. It will not work for you and needs lots of love until it can be
used.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80999
2012-12-14 23:38:21 +00:00