Skip to content

Commit

Permalink
ci: yarn format
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Makowski committed Dec 10, 2024
1 parent d2e3c44 commit e629adf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ - (int)getBufferSizeInFrames
// which is safer to base our internal AudioBus sizes.
// Buut no documentation => no guarantee :)
// If something is crackling when it should play silence, start here 📻
double maxBufferDuration = fmax(0.02, fmax(self.audioSession.IOBufferDuration, self.audioSession.preferredIOBufferDuration));
double maxBufferDuration =
fmax(0.02, fmax(self.audioSession.IOBufferDuration, self.audioSession.preferredIOBufferDuration));
return (int)(maxBufferDuration * self.audioSession.sampleRate + 1);
}

Expand Down

0 comments on commit e629adf

Please sign in to comment.