Use ## to create sections (Learn more)
diff --git a/apps/talk.c b/apps/talk.c
index c264bd7..b190271 100644
@@ -736,9 +736,12 @@ bool talk_voice_required(void)
/* return size of voice file */
static int talk_get_buffer(void)
- int ret = voicefile_size;
#if CONFIG_CODEC == SWCODEC
+ int ret = voicefile_size;
ret += MAX_THUMBNAIL_BUFSIZE;
+ /* entire audio buffer is used */
+ int ret = audio_buffer_available();
Share the private access URL responsibly.
Anyone will be able to find and view this paste. Google will index it.
Use Pastie in your quest to save humanity, not in your evil plots to take over the world!