Hi Sebastian,
Sebastian Moors wrote:
(E) Sampler __render_note Note pos in the future?? Current frames:4294966272, note frame pos: 675918 (E) Sampler __render_note Note pos in the future?? Current frames: 4294966272, note frame pos: 675918
The attached patch is a stab in the dark... but it might work. Would you please try it? I think perhaps m_transport.m_nFrames isn't getting initialized in time.
Thanks, Gabriel
diff --git a/libs/hydrogen/src/hydrogen.cpp b/libs/hydrogen/src/hydrogen.cpp index 1529058..d0ac302 100644 --- a/libs/hydrogen/src/hydrogen.cpp +++ b/libs/hydrogen/src/hydrogen.cpp @@ -1028,12 +1028,11 @@ void audioEngine_setSong( Song *newSong ) audioEngine_renameJackPorts(); m_pAudioDriver->setBpm( m_pSong->__bpm ); + m_pAudioDriver->locate( 0 ); // change the current audio engine state m_audioEngineState = STATE_READY; - m_pAudioDriver->locate( 0 ); - AudioEngine::get_instance()->unlock(); EventQueue::get_instance()->push_event( EVENT_STATE, STATE_READY );
------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry
_______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
