kmid uses the MidPlayer component of kdelibs to load and play midi files. In kmidclient.cpp kmidClient::slotPlay() does:
if ((m_kMid.pid=fork())==0)
{
player->play(0,(void (*)(void))kmidOutput);
_exit(0);
}
m_kMid.pctl->millisecsPlayed=0;
which calls kdelib's libkmid/player.cc MidiPlayer::play() in a child process.
It looks as if that child process is the root cause of the problem. I've currently got a kdelib/libkmid debug version building. Hopefully I can learn more from that.
kmid uses the MidPlayer component of kdelibs to load and play midi files. In kmidclient.cpp kmidClient: :slotPlay( ) does:
if ((m_kMid. pid=fork( ))==0) >play(0, (void (*)(void) )kmidOutput) ; pctl->millisecs Played= 0;
{
player-
_exit(0);
}
m_kMid.
which calls kdelib's libkmid/player.cc MidiPlayer::play() in a child process.
It looks as if that child process is the root cause of the problem. I've currently got a kdelib/libkmid debug version building. Hopefully I can learn more from that.