mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Fix the buffer_samples value. For signed linear, the number of samples needed
to fill the buffer is half the buffer size. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -206,7 +206,7 @@ static struct ast_translator slin8_to_slin16 = {
|
||||
.framein = slin8_to_slin16_framein,
|
||||
.sample = slin8_to_slin16_sample,
|
||||
.desc_size = sizeof(struct slin8_to_slin16_pvt),
|
||||
.buffer_samples = OUTBUF_SIZE,
|
||||
.buffer_samples = (OUTBUF_SIZE / sizeof(int16_t)),
|
||||
.buf_size = OUTBUF_SIZE,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user