Sound playback: integrating sound system

yoursort

24-08-2008 17:21:04

Hi,

first thank you for this great plugin! I have checked the sample programm and succesfully implemented video playback in my own project. :)

But I really need sound playback. Can you give me some hints how to integrate an OpenAL sound system? I have read the forum posts and the wiki but I haven´t found something helpful. I really have no idea how to do this so I will be very happy if someone could help me!

Thanks in advance!

Kreso

26-08-2008 14:22:51

audio playback isn't supported yet. pjcast's version had it working to some degree, but I have to redesign it from the ground up and make some code to integrate it with popular audio libraries like OgreAL, FMOD and maby DirectSound.

Until then, do as most of us do, play the audio as a separate sound file :)

yoursort

27-08-2008 14:07:31

Thank you for your replay!
But can you tell me when you will implement sound? Because I need this very soon for a project for my studies. When you say it will be done in a few days then I can wait but otherwise I have think about playing sound separate as you mentioned.
Maybe after finishing my work I can contribute to this great project with some tutorials eg. multiple videos and a video player...

Greetings

Kreso

27-08-2008 15:04:37

When you say it will be done in a few days then I can wait

It won't be done anywhere near that soon. It will be done in a few months. it is not a priority since you can, as I've said before, play audio separately.


Maybe after finishing my work I can contribute to this great project with some tutorials eg. multiple videos and a video player...
Greetings


That would be great :)

yoursort

01-09-2008 20:14:45

can you give me some small hints: is there a way to play the audio directly from the theora-video? or do I have to extract the audio to wave or mp3 and use openal for audio?
what would you advise?
thx!

Kreso

02-09-2008 07:27:26

yes, you can extract it directly from theora. there is some code left over from pjcast's work still in the svn, if you're interested in developing this now, pathches are welcome :)

fakier

18-09-2008 16:25:42

hi
just, i took a lock on the old sound system.for me it works quite good.
well, also a theora developer wrote in an example "player_example.c"
that its hard to synchronize A/V.

Kreso

18-09-2008 21:29:47

as I've said, when I find some time, I intend to rewrite the audio system, that will be in sync with video and will b easily extensible, so you can use ogreal or fmod or whatever.