Commit b76acb9d authored by jpbl's avatar jpbl

added missing png files

parent 4001ba01
......@@ -32,6 +32,10 @@ void
SFLAudio::NullSource::play(void *, int)
{}
void
SFLAudio::NullSource::stream(void *, int)
{}
void
SFLAudio::NullSource::stop()
{}
......@@ -32,6 +32,7 @@ namespace SFLAudio
virtual bool isNull() {return true;};
virtual bool isPlaying();
virtual void stream(void *data, int size);
virtual void play(void *data, int size);
virtual void stop();
};
......
......@@ -169,6 +169,11 @@ SFLAudio::OpenALSource::isPlaying()
return (state == AL_PLAYING);
}
void
SFLAudio::OpenALSource::stream(void *data, int size)
{
}
void
SFLAudio::OpenALSource::play(void *data, int size)
{
......
......@@ -43,6 +43,7 @@ namespace SFLAudio
// Source functions
virtual bool isPlaying();
virtual void play(void *data, int size);
virtual void stream(void *data, int size);
virtual void stop();
private:
......
......@@ -2,4 +2,4 @@ example01.cpp: This is an enumeration of device example.
example02.cpp: A simple WAV player with a direct handling of sound buffer.
example03.cpp: A simple WAV player, with 2 files playing at the same time.
example04.cpp: A simple WAV player. (Uses the simple WavEmitter class)
example04.cpp: A Capture example.
example05.cpp: A Capture example.
......@@ -33,6 +33,7 @@ namespace SFLAudio
virtual bool isNull() {return false;}
virtual bool isPlaying() = 0;
virtual void stream(void *data, int size) = 0;
virtual void play(void *data, int size) = 0;
virtual void stop() = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment