Audiere SoundLib qustion

Discussion about everything. New games, 3d math, development tips...
Post Reply
TheBeginner
Posts: 4
Joined: Tue Sep 02, 2003 8:50 am
Location: Germany, Cologne

Audiere SoundLib qustion

Post by TheBeginner »

Hy,

(Sorry for my bad englich)

how can i stop the playback of Audiere (There is no Forum at audiere.sourceforge.net)

This is my code:

#include <audiere.h>
using namespace audiere;
#pragma comment(lib, "audiere.lib")

void main(){

AudioDevicePtr device(OpenDevice());
OutputStreamPtr stream(OpenSound(device, "gangster.wav", true));
stream->setRepeat(true);
stream->setVolume(1.0f); // 50% volume
stream->play()
}



Now i want to stop the Playback of gangster.wav and start a new soundfile...
Please HELP ma...
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

You could join Audiere's Users discussion mailing lists (almost the same as a forum) and ask your question there:
http://audiere.sourceforge.net/lists.php

Or try the documentation:
http://audiere.sourceforge.net/documentation.php

Code: Select all

virtual void ADR_CALL audiere::OutputStream::stop  (     )  [pure virtual] 
 
   Stop playback of the output stream. If the stream is already stopped, this does nothing. 

Implemented in audiere::DSOutputBuffer, audiere::DSOutputStream, audiere::MixerStream, and audiere::NullOutputStream. 
Crud, how do I do this again?
[dx/x]=HUNT3R
Posts: 271
Joined: Sat Aug 23, 2003 5:52 pm
Location: Hurricane Central, Florida

Post by [dx/x]=HUNT3R »

stream->stop();

you can download the Audiere documentation at http://audiere.sourceforge.net/documentation.php
beginner

Post by beginner »

Thanks Guys... :D
Post Reply