Skip to content

Commit

Permalink
兼容低版本ios录音参数
Browse files Browse the repository at this point in the history
Change-Id: I574bdbde1ebbaa4bce8664c79c4e30fa80fe0d33
(cherry picked from commit 384a05b)
  • Loading branch information
tonychanchen authored and oldcodefarmer committed Jan 12, 2023
1 parent 62a9a27 commit dafce12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/SDK/LinkVideo/FLV/TIoTAACEncoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit dafce12

Please sign in to comment.