pcm/Volume: remove assert() from destructor

While this assert() was useful when we had to track the object's state
manually, there was no practical purpose other than verifying old
code, and it complicates our new C++ code.
This commit is contained in:
Max Kellermann 2016-07-01 20:59:36 +02:00
parent a43b0f5253
commit 5c75096bcd

View File

@ -77,12 +77,6 @@ public:
#endif
}
#ifndef NDEBUG
~PcmVolume() {
assert(format == SampleFormat::UNDEFINED);
}
#endif
unsigned GetVolume() const {
return volume;
}