Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
umireon committed Jul 25, 2024
1 parent dd8a17f commit bf86623
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ static inline void copyStereoInt16UpsamplingBy6(float *__nonnull dst,
}
}

static inline long copyStereoInt16UpsamplingFrom44100To48000(float *__nonnull dst,
int16_t *__nonnull src,
long numSamples) {
static inline long copyStereoInt16UpsamplingFrom44100To48000(
float *__nonnull dst, int16_t *__nonnull src, long numSamples) {
long numOutputSamples = numSamples * 48000 / 44100;
for (long outputIndex = 0; outputIndex < numOutputSamples; outputIndex++) {
double inputSamplingPoint = outputIndex * 44100 / 48000;
Expand Down

0 comments on commit bf86623

Please sign in to comment.