- Timestamp:
- 02/27/09 21:16:08 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegImageStream.hpp
r9826 r9827 8 8 #include <OpenThreads/Thread> 9 9 10 #include "AudioSinkInterface.hpp"11 #include "FFmpegSampleFormat.hpp"12 13 14 10 15 11 #ifdef _WIN32 … … 19 15 #define OSGFFMPEG_EXPORT_API __declspec(dllexport) 20 16 #else 21 #define OSGFFMPEG_EXPORT_API __declspec(dllimport) 17 #define OSGFFMPEG_EXPORT_API __declspec(dllimport); 22 18 #endif 23 19 #else … … 56 52 virtual void setAudioSink(osg::AudioSinkInterface* audio_sink); 57 53 58 void fillAudioBuffer(void * const buffer, const size_t size); 54 void consumeAudioBuffer(void * const buffer, const size_t size); 55 56 bool audioStream() const; 57 int audioFrequency() const; 58 int audioNbChannels() const; 59 osg::AudioStream::SampleFormat audioSampleFormat() const; 59 60 60 61 double duration() const; … … 64 65 double videoFrameRate() const; 65 66 66 bool audioStream() const;67 int audioFrequency() const;68 int audioNbChannels() const;69 FFmpegSampleFormat audioSampleFormat() const;70 67 71 68 private:
