Permalink
Browse files

Remove the basic example, it violated the omxil spec

  • Loading branch information...
1 parent 5015a26 commit 6e865b919dfb55eeb684e7b55ea1675406106abf @tigrux committed Mar 9, 2010
Showing with 2 additions and 643 deletions.
  1. +2 −10 Makefile
  2. +0 −8 README
  3. +0 −9 libomxil-bellagio.vapi
  4. +0 −387 omx-mp3-player.c
  5. +0 −229 omx-mp3-player.vala
View
@@ -2,19 +2,11 @@ MODULES=gobject-2.0 gthread-2.0 gmodule-2.0 gstreamer-0.10 libomxil-bellagio
CFLAGS=`pkg-config $(MODULES) --cflags` -I . -Wall -ggdb -fPIC
VALAFLAGS=-C --pkg gmodule-2.0 --pkg posix --pkg gstreamer-0.10 --target-glib=2.18
-all: omx-mp3-player gomx-mp3-player libgstgomx.so
+all: gomx-mp3-player libgstgomx.so
%%.o: %.c
-omx-mp3-player: omx-mp3-player.o
- $(CC) `pkg-config gobject-2.0 libomxil-bellagio --libs` $^ -o $@
-
-omx-mp3-player.c: omx-mp3-player.vala libomxil-bellagio.vapi omx.vapi
- valac $^ $(VALAFLAGS)
- touch $@
-
-
gomx-mp3-player: gomx-mp3-player.o gomx.o
$(CC) `pkg-config gobject-2.0 gthread-2.0 gmodule-2.0 --libs` $^ -o $@
@@ -40,4 +32,4 @@ gomx.c: gomx.vala omx.vapi
clean:
- rm -f *.o *.c *~ omx-mp3-player gomx-mp3-player libgstgomx.so gomx.vapi gomx.h
+ rm -f *.o *.c *~ gomx-mp3-player libgstgomx.so gomx.vapi gomx.h
View
8 README
@@ -1,16 +1,8 @@
omx-vala consists of:
- omx.vapi
Vala bindings for omxil 1.1
-- libomxil-bellagio.vapi
- Vala bindings for Bellagio OpenMaxIL
- gomx.vala
An object oriented wrapper for omx, based on gobject
- gstgomx.vala
A gstreamer plugin based on gomx.vala
-It currently includes two examples:
-- omx-mp3-player
- Bare example, uses only the plain omx.vapi
-- gomx-mp3-player
- Object oriented example, uses the gomx.vapi
-
View
@@ -1,9 +0,0 @@
-namespace Bellagio {
- [CCode (cname="tsem_t", cheader_filename="bellagio/tsemaphore.h", cprefix="tsem_")]
- public struct Semaphore {
- public int init(uint val);
- public Semaphore(uint val);
- public void up();
- public void down();
- }
-}
Oops, something went wrong.

0 comments on commit 6e865b9

Please sign in to comment.