summaryrefslogtreecommitdiff
path: root/src/audio/player.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-25 08:34:30 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-25 08:34:30 +0300
commitd57240fea98543eb5b0394a3e01268ee2e08b6ec (patch)
tree54081d3590753a2dcf081464c0ea6c2dcdff954e /src/audio/player.c
parent6497df3c6c9f9344db516751ee3c8732d4cfaf38 (diff)
iOS: Fixed audio issues
Fighting with ARC, and increased the audio sample buffer size to reduce wakeups.
Diffstat (limited to 'src/audio/player.c')
-rw-r--r--src/audio/player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/player.c b/src/audio/player.c
index 20b40f73..9e026561 100644
--- a/src/audio/player.c
+++ b/src/audio/player.c
@@ -617,7 +617,7 @@ static iContentSpec contentSpec_Player_(const iPlayer *d) {
617 iAssert(content.inputFormat == content.output.format || 617 iAssert(content.inputFormat == content.output.format ||
618 (content.inputFormat == AUDIO_S24LSB && content.output.format == AUDIO_S16) || 618 (content.inputFormat == AUDIO_S24LSB && content.output.format == AUDIO_S16) ||
619 (content.inputFormat == AUDIO_F64LSB && content.output.format == AUDIO_F32)); 619 (content.inputFormat == AUDIO_F64LSB && content.output.format == AUDIO_F32));
620 content.output.samples = 2048; 620 content.output.samples = 8192;
621 return content; 621 return content;
622} 622}
623 623