Re: [Helix-client-dev] 24bit 96khz AIFF playback

Gregory Wright <[email protected]> Wed, 16 Jun 2010 09:42:35 -0700
Newsgroups gmane.comp.multimedia.helix.devel
Message-ID <[email protected]>
I have not played with cayenne for years, but from the 
trace, and the fact that changing the packet size changes
the way it plays back, seems to suggest that something is 
wrong with a buffer size somewhere, as you suggest, probably
in AIFF FF. I would look around there and make sure
there isn't a buffer overwrite or some bad math on the size
of the packet/CHXBuffer.

--greg.


On Jun 16, 2010, at 9:15 AM, John Stirling wrote:

> Attached diff make it play but with intermittent clicks in audio on 
> average every second
> 
> Increasing the packet size to eg 15000 seems to increase the click 
> frequency.
> 
> Any ideas on what's going wrong here ?
> 
> The equivalent 24/96 .wav file plays smoothly with no clicks..
> 
> 
> 
> John Stirling wrote:
>> We have a patched helix cayenne and have 24/96 .wav playback working.
>> 
>> Just trying to get 24/96 AIFF playback going as well, but crashing at 
>> the moment
>> 
>> presumably datatype/aiff/fileformat/ is the likely cuplrit ?
>> 
>> backtrace -
>> 
>> #0  0xb7f37410 in ?? ()
>> #1  0xb4c45604 in ?? ()
>> #2  0x00000006 in ?? ()
>> #3  0x00004b33 in ?? ()
>> #4  0xb7b98640 in raise () from /lib/i686/cmov/libc.so.6
>> #5  0xb7b9a018 in abort () from /lib/i686/cmov/libc.so.6
>> #6  0xb7bd534d in __fsetlocking () from /lib/i686/cmov/libc.so.6
>> #7  0xb7bdb624 in malloc_usable_size () from /lib/i686/cmov/libc.so.6
>> #8  0x00d91233 in operator delete () from 
>> /usr/local/reciva/lib/libstdc++.so.5
>> #9  0x00d9128f in operator delete[] () from 
>> /usr/local/reciva/lib/libstdc++.so.5
>> #10 0xb7854794 in CHXBuffer::Deallocate () from ./clntcore.so
>> #11 0xb7854596 in CHXBuffer::SetSize () from ./clntcore.so
>> #12 0xb78543c4 in CHXBuffer::Set () from ./clntcore.so
>> #13 0xb5d3a5a2 in CPCMAudioFormat::DecodeAudioData () from ./audplin.so
>> #14 0xb5d3a42f in CPCMAudioFormat::DecodeAudioData () from ./audplin.so
>> #15 0xb5d30c44 in CAudioFormat::CreateAudioFrame () from ./audplin.so
>> #16 0xb5d34af1 in CAudioRenderer::DoAudio () from ./audplin.so
>> #17 0xb5d3405c in CAudioRenderer::OnTimeSync () from ./audplin.so
>> #18 0xb78cfde6 in SourceInfo::OnTimeSync () from ./clntcore.so
>> #19 0xb78cfb90 in SourceInfo::OnTimeSync () from ./clntcore.so
>> #20 0xb785ca28 in HXPlayer::OnTimeSync () from ./clntcore.so
>> #21 0xb78a1ae2 in CHXAudioPlayer::OnTimeSync () from ./clntcore.so
>> #22 0xb78acb87 in CHXAudioSession::OnTimeSync () from ./clntcore.so
>> #23 0xb7850ef4 in CHXAudioDevice::OnTimeSync () from ./clntcore.so
>> #24 0xb78444f5 in CAudioOutUNIX::DoTimeSyncs () from ./clntcore.so
>> #25 0xb7844831 in CAudioOutUNIX::HXPlaybackCountCB::Func () from 
>> ./clntcore.so
>> #26 0xb7873979 in PQ::dispatch_element () from ./clntcore.so
>> #27 0xb784d26b in ClientPQ::execute () from ./clntcore.so
>> #28 0xb784c0ba in HXScheduler::ExecuteCurrentFunctions () from 
>> ./clntcore.so
>> #29 0xb784be63 in HXScheduler::OnTimeSync () from ./clntcore.so
>> #30 0xb789f825 in Timeline::OnTimeSync () from ./clntcore.so
>> #31 0xb789f8a2 in Timeline::CallAllTimeSyncs () from ./clntcore.so
>> #32 0xb7847f0b in HXClientEngine::EventOccurred () from ./clntcore.so
>> #33 0xb7d061ca in vMAIN_DoEvent () from ./libreciva_hxplayer.so
>> #34 0xb7d0929b in vHXP_PlayerDoEvent () at ../include/atomicbase.h:622
>> #35 0x0809024b in vpKickLoop (vpNothing=0x0) at helix_kicker.c:436
>> #36 0xb7cce4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
>> #37 0xb7c4d6de in clone () from /lib/i686/cmov/libc.so.6
>> 
>> 
>> 
>> 
> 
> 
> -- 
> Reciva Ltd, Unit 1, The Old Granary, Westwick, CAMBRIDGE CB24 3AR
> Registered in England & Wales No. 04719949 
> 
> <diff.txt><ATT00001..txt>