Richard Andersson
2009-06-10 23:50:48 UTC
Hi,
I'm having a problem with Audiere. When I try to play a streamed sound
all I get is an infinite loop of the first couple of seconds. Tried ogg
(vbr and cbr), mp3, wav, always the same result. I'm using the 1.9.4
binary directly from the site and followed the tutorial. The code
(below) seems pretty straightforward... Do anyone know what the problem
could be?
AudioDevicePtr device(OpenDevice());
if (!device) {
// failure
}
OutputStreamPtr stream(OpenSound(device, "Theme.ogg", true));
if (!stream) {
// failure
}
stream->play();
I'm having a problem with Audiere. When I try to play a streamed sound
all I get is an infinite loop of the first couple of seconds. Tried ogg
(vbr and cbr), mp3, wav, always the same result. I'm using the 1.9.4
binary directly from the site and followed the tutorial. The code
(below) seems pretty straightforward... Do anyone know what the problem
could be?
AudioDevicePtr device(OpenDevice());
if (!device) {
// failure
}
OutputStreamPtr stream(OpenSound(device, "Theme.ogg", true));
if (!stream) {
// failure
}
stream->play();