From dafce12bdeb318d7a34c6a28ec0a914a877a0e74 Mon Sep 17 00:00:00 2001 From: tonychan Date: Thu, 12 Jan 2023 16:27:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E4=BD=8E=E7=89=88=E6=9C=ACio?= =?UTF-8?q?s=E5=BD=95=E9=9F=B3=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I574bdbde1ebbaa4bce8664c79c4e30fa80fe0d33 (cherry picked from commit 384a05be76186586ccff844e641ea7671fb249c4) --- Source/SDK/LinkVideo/FLV/TIoTAACEncoder.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/SDK/LinkVideo/FLV/TIoTAACEncoder.m b/Source/SDK/LinkVideo/FLV/TIoTAACEncoder.m index ee3f44ab..02351212 100755 --- a/Source/SDK/LinkVideo/FLV/TIoTAACEncoder.m +++ b/Source/SDK/LinkVideo/FLV/TIoTAACEncoder.m @@ -28,7 +28,7 @@ OSStatus audioConverterComplexInputDataProc(AudioConverterRef inAudioConverter,U ioData->mBuffers[0].mData = param->source; ioData->mBuffers[0].mDataByteSize = param->sourceSize; ioData->mBuffers[0].mNumberChannels = param->channelCount; - *ioNumberDataPacket = 1024; + *ioNumberDataPacket = 1; param->sourceSize = 0; return noErr; }