mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 13:28:16 +02:00
more debugging to track down a mixer crash
This commit is contained in:
parent
ad95190e15
commit
2a1357e8e1
1 changed files with 3 additions and 2 deletions
|
@ -220,6 +220,7 @@ int main(int argc, const char* argv[]) {
|
|||
bearingRelativeAngleToSource *= (M_PI / 180);
|
||||
|
||||
float sinRatio = fabsf(sinf(bearingRelativeAngleToSource));
|
||||
printf("BRA: %f, SR: %f\n", bearingRelativeAngleToSource, sinRatio);
|
||||
numSamplesDelay = PHASE_DELAY_AT_90 * sinRatio;
|
||||
weakChannelAmplitudeRatio = 1 - (PHASE_AMPLITUDE_RATIO_AT_90 * sinRatio);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue