radio interface: fix init

5561f1129d introduced some changes,
but while RadioInterface lost its call to close() that was previously
used to improperly reset the buffers upon init() that call was
accidentally not removed for RadioInterfaceMulti and
RadioInterfaceResamp, so those reset previously initialized values to 0
during init(), which break osmo-trx for weird setups.

Change-Id: I74fc1586f8ae0832f4093ba8a44a1c70c78ec3d8
This commit is contained in:
Eric Wild 2023-01-09 20:13:05 +01:00
parent d0c1055051
commit 0c433350da
2 changed files with 0 additions and 4 deletions

View File

@ -153,8 +153,6 @@ bool RadioInterfaceMulti::init(int type)
return false;
}
close();
convertSendBuffer.resize(1);
convertRecvBuffer.resize(1);

View File

@ -98,8 +98,6 @@ bool RadioInterfaceResamp::init(int type)
{
float cutoff = 1.0f;
close();
switch (type) {
case RadioDevice::RESAMP_64M:
resamp_inrate = RESAMP_64M_INRATE;