MultiChannel::GetSampleRate()makes the assumption that the sample rate for all channels should be the same. My classifier has some connections that have a sample rate of 0. I'm therefore not sure this assumption is correct.
I reckon the safest thing is probably to return zero if any of the channels has zero sample rate, else if they are the same then return that.
MultiChannel::GetSampleRate()
makes the assumption that the sample rate for all channels should be the same. My classifier has some connections that have a sample rate of 0. I'm therefore not sure this assumption is correct.I reckon the safest thing is probably to return zero if any of the channels has zero sample rate, else if they are the same then return that.