summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/playback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 5419888c27..c60468a7dd 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -993,6 +993,8 @@ static void audio_reset_buffer(void)
core_free(audiobuf_handle);
audiobuf_handle = 0;
}
+ if (core_allocatable() < (1 << 10))
+ talk_buffer_set_policy(TALK_BUFFER_LOOSE); /* back off voice buffer */
audiobuf_handle = core_alloc_maximum("audiobuf", &filebuflen, &ops);
if (audiobuf_handle > 0)