Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
6818 Discussions

Splitter SetTimePosition problem with PCM (*.wav)

Sascha
Beginner
851 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
Moderator
851 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
Sascha
Beginner
851 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
Reply