|
|
|
@ -154,10 +154,13 @@ bool CController::InitVocoders()
|
|
|
|
|
|
|
|
|
|
|
|
const auto desc(deviceset.front().second);
|
|
|
|
const auto desc(deviceset.front().second);
|
|
|
|
if (deviceset.back().second.compare(desc))
|
|
|
|
if (deviceset.back().second.compare(desc))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (desc.compare(0, 9, "USB-3006 ")) // the USB-3006 device doesn't need this check
|
|
|
|
{
|
|
|
|
{
|
|
|
|
std::cerr << "Both devices have to be the same type: " << desc << " != " << deviceset.back().second << std::endl;
|
|
|
|
std::cerr << "Both devices have to be the same type: " << desc << " != " << deviceset.back().second << std::endl;
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Edvtype dvtype = Edvtype::dv3003;
|
|
|
|
Edvtype dvtype = Edvtype::dv3003;
|
|
|
|
if (0==desc.compare("ThumbDV") || 0==desc.compare("DVstick-30") || 0==desc.compare("USB-3000"))
|
|
|
|
if (0==desc.compare("ThumbDV") || 0==desc.compare("DVstick-30") || 0==desc.compare("USB-3000"))
|
|
|
|
|