1 2 3 4 5 6 7 8 9 10 11
--- pcm.c.orig +++ pcm.c @@ -60,7 +60,7 @@ int mStoSamples(int hVox, int time) { float samples; float fsr; - if (!valid(hVox)) return; + if (!valid(hVox)) return 0; timelen = (float) time; fsr = (float) voxref(hVox).samplerate;