C++, GNU, Linux
Play an audio file in a c++ application using gstream via a system cmd like this:
$ gst-launch-0.10 playbin uri=file:///home/krebs/test.mp3 > /dev/null 2>&1.
The "kill" function should be used to stop.
To kill the gsrteam process a id is reqired and i don't now how to get it. ok, there is a possibility seraching the "/proc/" folder by the process name, but i hope therer is easier solution.