matrix-io / matrix-creator-hal

Hardware Abstraction Layer for MATRIX Creator & MATRIX Voice
https://matrix-io.github.io/matrix-documentation/matrix-hal/overview/
GNU General Public License v3.0
70 stars 50 forks source link

GetSampling Rate Bug? #96

Open darkyellow opened 4 years ago

darkyellow commented 4 years ago

In microphone_array.cpp there is a function GetSamplingRate and SetSamplingRate

Set uses MIC_sampling_frequencies[i][1]; to write a value but Get uses MIC_sampling_frequencies[i][0]; to match back on.

Shouldn't these be the same?