Skip to content

Commit d092c93

Browse files
committed
update buffer size again
1 parent dee788a commit d092c93

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGES.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
0.1.2
2+
-----
3+
- Change previous change to be 1.25 seconds
4+
15
0.1.1
26
------
37
- Keep 0.75s of data before speech starts to prevent cutting off of the first syllable

auroraapi/audio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def _pyaudio_record(length, silence_len):
178178
if not _is_silent(d):
179179
break
180180
data.extend(d)
181-
if len(data) > 12 * BUF_SIZE:
181+
if len(data) > 32 * BUF_SIZE:
182182
data = data[BUF_SIZE:]
183183

184184
yield data

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Versions should comply with PEP440. For a discussion on single-sourcing
1111
# the version across setup.py and the project code, see
1212
# https://packaging.python.org/en/latest/single_source_version.html
13-
version='0.1.1',
13+
version='0.1.2',
1414

1515
description='Python SDK for Aurora',
1616

0 commit comments

Comments
 (0)