Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Splitter SetTimePosition problem with PCM (*.wav)

Sascha
初学者
1,736 次查看
Hi,

if I try "m_pSplitter->SetTimePosition(0.0)" on the wav-file, I have sound problem,
without "SetTimePosition" all works fine, also without sound interference.
I have attached the screenshot so you can see what I mean.

Thanks for any help.40674-splitter.png
0 项奖励
2 回复数
Chao_Y_Intel
主持人
1,736 次查看
Hello,

could you suggest which version of IPP sample, and what sample code you are using? That may help to have some further check on the problem.

thanks,
Chao
0 项奖励
Sascha
初学者
1,736 次查看
I am using UMC 7.0.2. I have written my own application based on ".\ ipp-samples\audio-video-codecs"

I think, I have found the problem:
\codec\demuxer\src\umc_stream_parser.cpp
void StreamParser::Reset(void)
{
m_ParserState = HEADER;
if (m_pPacket) m_pPacket->Reset();
}
I have change this function to:
void StreamParser::Reset(void)
{
m_ParserState = HEADER;
m_uiTracks = 0; //set back the tracks number
if (m_pPacket) m_pPacket->Reset();
}

On the screenshot(see my first post) is the header data the reason of sound problem.
0 项奖励
回复