Re: [linux-audio-dev] Re: [linux-audio-user] hydrogen crashes / extract waves from .mid-files of ddrum

From: Paul Davis <paul@email-addr-hidden>
Date: Tue Feb 22 2005 - 23:10:33 EET

looks very much like a race in H2 to me:

>inline void audioEngine_process_clearAudioBuffers(uint32_t nFrames)
>{
>*---> memset( m_pMainBuffer_L, 0, nFrames * sizeof( float ) ); // cle
>ar main out Left
> memset( m_pMainBuffer_R, 0, nFrames * sizeof( float ) ); // cle
>ar main out Right

>(gdb) bt full
>#0 0xb759949b in memset (dstpp=0x0, c=0, len=512)

so, the port buffer pointer was null. going further down the stack:

>#2 0x08074381 in audioEngine_process (nframes=128, arg=0x0) at

i'm suprised to see that the "arg" is null.

> sampleRate = 1.17287768e-35

odd, though possibly OK.

--p
Received on Wed Feb 23 00:15:12 2005

This archive was generated by hypermail 2.1.8 : Wed Feb 23 2005 - 00:15:12 EET