diff options
author | Daniel Willmann <d.willmann@samsung.com> | 2013-04-12 17:40:31 +0100 |
---|---|---|
committer | Daniel Willmann <d.willmann@samsung.com> | 2013-04-18 19:12:17 +0100 |
commit | 845aeb5c63fb309041bde94f61a648ceb0504dc4 (patch) | |
tree | 20fb8bbf441a5d19c47fe8ae19ade2959110e045 /src/lib/ecore_audio/ecore_audio_protected.h | |
parent | bd948a81a49b300363ea41adc954f2c0605bbfcf (diff) |
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>
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_audio/ecore_audio_protected.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/ecore_audio/ecore_audio_protected.h b/src/lib/ecore_audio/ecore_audio_protected.h new file mode 100644 index 0000000000..0e962cea17 --- /dev/null +++ b/src/lib/ecore_audio/ecore_audio_protected.h | |||
@@ -0,0 +1,10 @@ | |||
1 | #ifndef ECORE_AUDIO_PROTECTED_H_ | ||
2 | #define ECORE_AUDIO_PROTECTED_H_ | ||
3 | |||
4 | #include "Eo.h" | ||
5 | #include "Ecore.h" | ||
6 | #include "Ecore_Audio.h" | ||
7 | |||
8 | #define ecore_audio_obj_in_read_internal(buf, len, ret) ECORE_AUDIO_OBJ_IN_ID(ECORE_AUDIO_OBJ_IN_SUB_ID_READ_INTERNAL), EO_TYPECHECK(char *, buf), EO_TYPECHECK(int, len), EO_TYPECHECK(int *, ret) | ||
9 | |||
10 | #endif | ||