Undesired looping of streams

View: New views
1 Messages — Rating Filter:   Alert me  

Undesired looping of streams

by Richard Andersson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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();


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();




No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.60/2166 - Release Date: 06/09/09 18:08:00


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Audiere-users mailing list
Audiere-users@...
https://lists.sourceforge.net/lists/listinfo/audiere-users