forked from mia/Aegisub
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:
parent
f810fd20ce
commit
dcebd9be94
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue