Skip to content

Commit

Permalink
added phase inversion for left output to account for rev4 errata.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhensley committed Jun 21, 2023
1 parent b10f95c commit f1c494e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BasicExample/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ void AudioCallback(AudioHandle::InputBuffer in,
*/
OUT_L[i] = IN_L[i] * volume_left;
OUT_R[i] = IN_R[i] * volume_right;

/** Due to minor errata on the Rev4 hardware we need to phase invert the
* left channel so both outputs have the same phase */
OUT_L[i] *= -1.f;
}
}

Expand Down

0 comments on commit f1c494e

Please sign in to comment.