[kln2-devel] Installation problems solved
Brought to you by:
wiecko
From: Mo <Mo...@no...> - 2004-02-23 08:30:11
|
Hello everybody, Thanks for the foward Marek. It really did help :) > > Hi e-body, > Carlo had the same problems with compiling and here is his solution. > > Mo, I hope this works for you too. > ~Marek Yes, the following changes did help and the program now compiles :) > > > here the diff from file klearnnotes2/src/voice_recognition.cpp > 2564c2564 > < int prefetch_N = 5; > --- > > const int prefetch_N = 5; > 2612c2612 > < memcpy((prefetch+prefetch_pos*(FRAG_SIZE)), buffer_raw, > FRAG_SIZE); > --- > > memcpy(((unsigned char*)prefetch+prefetch_pos*(FRAG_SIZE)), > buffer_raw, FRAG_SIZE); > 2637c2637 > < memcpy(data->buffer, prefetch+(i%prefetch_N)*FRAG_SIZE, > FRAG_SIZE); > --- > > memcpy(data->buffer, (unsigned > char*)prefetch+(i%prefetch_N)*FRAG_SIZE, FRAG_SIZE); > I have updated the modified file to the CVS tree. > ** still a problem: I cannot manage to have MIDI playback running I am having this problem too :( "DEBUG: midi_turnOn(): couldn't open midi device!" Although I have ALSA working on my computer. What else am I missing? Thanks! -Mo |