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...
Audiere SoundLib qustion
-
- Posts: 4
- Joined: Tue Sep 02, 2003 8:50 am
- Location: Germany, Cologne
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
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?
-
- Posts: 271
- Joined: Sat Aug 23, 2003 5:52 pm
- Location: Hurricane Central, Florida
stream->stop();
you can download the Audiere documentation at http://audiere.sourceforge.net/documentation.php
you can download the Audiere documentation at http://audiere.sourceforge.net/documentation.php