The function names in the call stack won't necessarily be correct (it's just the symbol/function that precedes the address), but it does at least tell us which library it's in, and it looks like the problem originates from BASSMIDI in this case. Do you happen to be using either packed soundfonts or BASS_MIDI_StreamGetChannel? I'll send you a debug version to get some additional info (please confirm that you're using the iOS version).
Hi Ian! Thanks for the quick reply!
We are using the iOS version found here:
www.un4seen.com/stuff/bass24-iphone.zipWe are using mostly packed soundfonts and are not making any calls BASS_MIDI_StreamGetChannel. Here is the code we use to load our soundfont:
// create bass stream - 127 channels one for each note
m_stream = BASS_MIDI_StreamCreate( 127, BASS_STREAM_DECODE, 0 );
BASS_SetConfig(BASS_CONFIG_MIDI_VOICES, MAX_POLYPHONY );
// load new sound font
if( HSOUNDFONT sfNew = BASS_MIDI_FontInit( filepath, 0 ) )
{
BASS_MIDI_FONT sf;
sf.font = sfNew;
sf.preset = -1; // use all presets
sf.bank = 0; // use default bank(s)
// ....
// load font to prevent crackling in case it is packed
BASS_MIDI_FontLoad( sf.font, sf.preset, sf.bank );
// set default soundfont
BASS_MIDI_StreamSetFonts( 0, &sf, 1 );
// set for output stream too
BASS_MIDI_StreamSetFonts( m_stream, &sf, 1 );
// free old soundfont
BASS_MIDI_FontFree( m_sf );
// set our font
m_sf = sfNew;
}
A debug version of the library would be great. I can reliably reproduce this so if there's any way I can get more helpful info to you, I'd love to help.