Added SDL audio path

This commit is contained in:
Robert Osfield 2009-03-03 20:59:16 +00:00
parent ac49ca81ca
commit 97e987a9d9

View File

@ -381,8 +381,6 @@ class SDLAudioSink : public osg::AudioSink
void SDLAudioSink::soundReadCallback(void * const user_data, Uint8 * const data, const int datalen) void SDLAudioSink::soundReadCallback(void * const user_data, Uint8 * const data, const int datalen)
{ {
osg::notify(osg::NOTICE)<<"SDLAudioSink::soundReadCallback"<<std::endl;
SDLAudioSink * sink = reinterpret_cast<SDLAudioSink*>(user_data); SDLAudioSink * sink = reinterpret_cast<SDLAudioSink*>(user_data);
osg::ref_ptr<osg::AudioStream> as = sink->_audioStream.get(); osg::ref_ptr<osg::AudioStream> as = sink->_audioStream.get();
if (as.valid()) if (as.valid())