![]() |
| [[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]] |
|
|
#1 |
|
New Member
Join Date: Apr 2004
Posts: 1
|
Hi,
i've implemented an avi-player for my Application. The video part works fine, now i try to play the audio stream. I've decided to play the audio with openAL but i got several problems, hope someone of u could help... Before i try to play the audio data directly from the stream, i will test the audio playback from memory. Therefore i loading the wave datas by the following way: Code:
To Play the data i try to use the alBufferData-Method by the following way: Code:
I got no compiler or linker failures and the method call works, but when i call alSourcePlay i hear nothing (volume 20.0f) ... Can anyone tell me what i've made wrong? Or knows a tutorial or a solution how i can handle this problem? Thx in advance, Christian |
|
|
|
|
|
#2 |
|
New Member
Join Date: Sep 2004
Posts: 15
|
Does playing wav's work (just loading from harddisk)?
Just a guess (I'm by no way an expert) - is the wav compressed as adpcm? I couldn't play these when I started playing around with openAL, so I just converted them to standard wav's. btw... isn't the max for volume 1.0f? Regards, Roger |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|