Add constructor and destructor to AudioRendererBitmapProvider base class.

GCC warned that it was missing a virtual destructor while having virtual methods.

Originally committed to SVN as r3399.
This commit is contained in:
Niels Martin Hansen 2009-08-13 16:14:41 +00:00
parent f810fd20ce
commit dcebd9be94

View file

@ -191,6 +191,12 @@ protected:
virtual void OnSetSamplesPerPixel() { }
public:
/// @brief Constructor
AudioRendererBitmapProvider() : provider(0), pixel_samples(0) { };
/// @brief Destructor
~AudioRendererBitmapProvider() { }
/// @brief Rendering function
/// @param bmp Bitmap to render to
/// @param start First pixel from beginning of the audio stream to render