Skip to content

Commit

Permalink
Use 16bit values for internal DAC.
Browse files Browse the repository at this point in the history
  • Loading branch information
OtherCrashOverride committed Sep 20, 2018
1 parent 8eafdce commit c573693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions odroid-go-common/components/odroid/odroid_audio.c
Expand Up @@ -167,8 +167,8 @@ void odroid_audio_submit(short* stereoAudioBuffer, int frameCount)
// Convert for built in DAC
for (short i = 0; i < currentAudioSampleCount; i += 2)
{
int32_t dac0;
int32_t dac1;
uint16_t dac0;
uint16_t dac1;

if (Volume == 0.0f)
{
Expand Down

0 comments on commit c573693

Please sign in to comment.