Commit c3dcb986 by wangguotao

modify track for ndi audio

parent 1e65d165
/.vs
/*.pdb
/*.log
/MomentaMedia/*.log
/MomentaMedia/x64/
/x64/Debug/MomentaMedia.exe
/x64/Debug/*.exe
/x64/Debug/MomentaMedia.pdb
/x64/Release/MomentaMedia.exe
/x64/Release/MomentaMedia.log
/x64/Release/MomentaMedia.pdb
\ No newline at end of file
/x64/Release/*.log
/x64/Release/*.pdb
/x64/Release/*.exe
/x64/Release/*.ilk
\ No newline at end of file
......@@ -115,7 +115,7 @@ void NDIOutputThread::SendAudioFunc()
auto buffer = frame->buffer;
auto size = frame->size;
auto audio_tm = frame->frame_time_stamp;
auto dst_data =AudioFrame.p_data;
if (audio_size < size)
{
......@@ -123,7 +123,7 @@ void NDIOutputThread::SendAudioFunc()
audio_size = size;
AudioFrame.p_data = (uint8_t*)malloc(audio_size);
}
auto dst_data = AudioFrame.p_data;
if (AudioCvtPtr)
{
AudioCvtPtr->SetParams(frame->channel, bmdAudioSampleType32bitInteger);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment