Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6633 Discussions

Splitter SetTimePosition problem with PCM (*.wav)

Sascha
Beginner
151 Views
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 Kudos
2 Replies
Chao_Y_Intel
Employee
151 Views
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
Sascha
Beginner
151 Views
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.
Reply