summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@gmail.com>2023-12-29 05:09:09 +0100
committerBenjamin Franzke <benjaminfranzke@gmail.com>2023-12-29 05:09:09 +0100
commitbdecab71a00655b336d90d7c1f3ecc39658a542a (patch)
tree58185c182d7768e044ba207268f93352cd5e340b /src
parentd5dbf11d1c727c2854ece57643eae8ab482e12bd (diff)
downloadcmumble-bdecab71a00655b336d90d7c1f3ecc39658a542a.tar.gz
cmumble-bdecab71a00655b336d90d7c1f3ecc39658a542a.tar.bz2
cmumble-bdecab71a00655b336d90d7c1f3ecc39658a542a.zip
Add FIXMEWIP
Diffstat (limited to 'src')
-rw-r--r--src/audio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/audio.c b/src/audio.c
index bfddf55..c5b03fd 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -158,6 +158,7 @@ static void stream_read_callback(pa_stream *s, size_t length, void *userdata)
assert(length > 0);
/* TODO replace this endlessly growing buffer with a ring buffer? */
+ /* FIXME: as this triggers Assertion 'size < (1024*1024*96)' failed at ../src/pulse/xmalloc.c:83, function pa_xrealloc(). Aborting. */
if (a->record_buffer) {
a->record_buffer = pa_xrealloc(a->record_buffer,
a->record_buffer_length + length);