summaryrefslogtreecommitdiff
path: root/src/examples/ecore
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-14 21:14:52 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-15 13:11:00 -0500
commit30e52e9413fbd0f108e5ebbd76fcf6b4d08a6760 (patch)
treeb6fbad82c9910688074c1a4304ec3b6b5800823d /src/examples/ecore
parentac909ac04c680955eb6ce78a2c59865953b347bd (diff)
ecore_audio: remove "name" property
Diffstat (limited to 'src/examples/ecore')
-rw-r--r--src/examples/ecore/ecore_audio_custom.c2
-rw-r--r--src/examples/ecore/ecore_audio_playback.c4
-rw-r--r--src/examples/ecore/ecore_audio_to_ogg.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/ecore/ecore_audio_custom.c b/src/examples/ecore/ecore_audio_custom.c
index 9d88c756a6..8089918089 100644
--- a/src/examples/ecore/ecore_audio_custom.c
+++ b/src/examples/ecore/ecore_audio_custom.c
@@ -64,7 +64,7 @@ main(int argc, const char *argv[])
64 printf("error when creating ecore audio source.\n"); 64 printf("error when creating ecore audio source.\n");
65 goto end; 65 goto end;
66 } 66 }
67 ecore_audio_obj_name_set(in, "wail"); 67 efl_name_set(in, "wail");
68 ecore_audio_obj_in_samplerate_set(in, 44100); 68 ecore_audio_obj_in_samplerate_set(in, 44100);
69 ecore_audio_obj_in_channels_set(in, 1); 69 ecore_audio_obj_in_channels_set(in, 1);
70 ecore_audio_obj_volume_set(in, 0.7); 70 ecore_audio_obj_volume_set(in, 0.7);
diff --git a/src/examples/ecore/ecore_audio_playback.c b/src/examples/ecore/ecore_audio_playback.c
index 5945393e8c..31713031b4 100644
--- a/src/examples/ecore/ecore_audio_playback.c
+++ b/src/examples/ecore/ecore_audio_playback.c
@@ -272,7 +272,7 @@ main(int argc, const char *argv[])
272 } 272 }
273 } 273 }
274 free(tmp); 274 free(tmp);
275 ecore_audio_obj_name_set(in, argv[i]); 275 efl_name_set(in, argv[i]);
276 } 276 }
277 else 277 else
278 { 278 {
@@ -283,7 +283,7 @@ main(int argc, const char *argv[])
283 goto end; 283 goto end;
284 } 284 }
285 tmp = strdup(argv[i]); 285 tmp = strdup(argv[i]);
286 ecore_audio_obj_name_set(in, basename(tmp)); 286 efl_name_set(in, basename(tmp));
287 free(tmp); 287 free(tmp);
288 ret = ecore_audio_obj_source_set(in, argv[i]); 288 ret = ecore_audio_obj_source_set(in, argv[i]);
289 if (!ret) { 289 if (!ret) {
diff --git a/src/examples/ecore/ecore_audio_to_ogg.c b/src/examples/ecore/ecore_audio_to_ogg.c
index fec1cc587e..194e31e648 100644
--- a/src/examples/ecore/ecore_audio_to_ogg.c
+++ b/src/examples/ecore/ecore_audio_to_ogg.c
@@ -50,7 +50,7 @@ main(int argc, char *argv[])
50 50
51 51
52 in = efl_add(ECORE_AUDIO_OBJ_IN_SNDFILE_CLASS, NULL); 52 in = efl_add(ECORE_AUDIO_OBJ_IN_SNDFILE_CLASS, NULL);
53 ecore_audio_obj_name_set(in, basename(argv[1])); 53 efl_name_set(in, basename(argv[1]));
54 ret = ecore_audio_obj_source_set(in, argv[1]); 54 ret = ecore_audio_obj_source_set(in, argv[1]);
55 if (!ret) { 55 if (!ret) {
56 printf("Could not set %s as input\n", argv[1]); 56 printf("Could not set %s as input\n", argv[1]);