mirror of https://github.com/odrling/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
|
@ -191,6 +191,12 @@ protected:
|
||||||
virtual void OnSetSamplesPerPixel() { }
|
virtual void OnSetSamplesPerPixel() { }
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
/// @brief Constructor
|
||||||
|
AudioRendererBitmapProvider() : provider(0), pixel_samples(0) { };
|
||||||
|
|
||||||
|
/// @brief Destructor
|
||||||
|
~AudioRendererBitmapProvider() { }
|
||||||
|
|
||||||
/// @brief Rendering function
|
/// @brief Rendering function
|
||||||
/// @param bmp Bitmap to render to
|
/// @param bmp Bitmap to render to
|
||||||
/// @param start First pixel from beginning of the audio stream to render
|
/// @param start First pixel from beginning of the audio stream to render
|
||||||
|
|
Loading…
Reference in New Issue