mirror of https://github.com/odrling/Aegisub
Delete pointless empty destructor in DummyAudioProvider
Originally committed to SVN as r6103.
This commit is contained in:
parent
a5fce1d1be
commit
975bb7b26f
|
@ -39,11 +39,6 @@
|
|||
#include "audio_provider_dummy.h"
|
||||
#include "utils.h"
|
||||
|
||||
|
||||
/// @brief Constructor
|
||||
/// @param dur_ms
|
||||
/// @param _noise
|
||||
///
|
||||
DummyAudioProvider::DummyAudioProvider(unsigned long dur_ms, bool _noise) {
|
||||
noise = _noise;
|
||||
channels = 1;
|
||||
|
@ -52,16 +47,6 @@ DummyAudioProvider::DummyAudioProvider(unsigned long dur_ms, bool _noise) {
|
|||
num_samples = (int64_t)dur_ms * sample_rate / 1000;
|
||||
}
|
||||
|
||||
/// @brief Destructor
|
||||
///
|
||||
DummyAudioProvider::~DummyAudioProvider() {
|
||||
}
|
||||
|
||||
/// @brief Get audio
|
||||
/// @param buf
|
||||
/// @param start
|
||||
/// @param count
|
||||
///
|
||||
void DummyAudioProvider::GetAudio(void *buf, int64_t, int64_t count) const {
|
||||
short *workbuf = (short*)buf;
|
||||
|
||||
|
|
|
@ -47,7 +47,6 @@ class DummyAudioProvider : public AudioProvider {
|
|||
|
||||
public:
|
||||
DummyAudioProvider(unsigned long dur_ms, bool _noise);
|
||||
~DummyAudioProvider();
|
||||
|
||||
bool AreSamplesNativeEndian() const { return true; }
|
||||
void GetAudio(void *buf, int64_t start, int64_t count) const;
|
||||
|
|
Loading…
Reference in New Issue