mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 05:06:31 +01:00
interpolation: fix some warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@5261 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2641040701
commit
d45dfa5cb6
2 changed files with 7 additions and 4 deletions
|
|
@ -195,9 +195,12 @@ LibSamplerateInterpolation::add_channel_to (int input_buffer_size, int output_bu
|
|||
void
|
||||
LibSamplerateInterpolation::remove_channel_from ()
|
||||
{
|
||||
delete data.back ();
|
||||
SRC_DATA* d = data.back ();
|
||||
delete d;
|
||||
data.pop_back ();
|
||||
delete state.back ();
|
||||
if (state.back ()) {
|
||||
src_delete (state.back ());
|
||||
}
|
||||
state.pop_back ();
|
||||
reset_state ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue