Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
4 Views

Splitter SetTimePosition problem with PCM (*.wav)

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
Highlighted
Employee
4 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
0 Kudos
Highlighted
Beginner
4 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.
0 Kudos