channel.c: Fix segfault with Monitor(wav,file,i)