int t;
wav_convert2mono(&wav, &wav2, 44100);
samples = (U16*)wav2.data;
int t;
wav_convert2mono(&wav, &wav2, 44100);
samples = (U16*)wav2.data;
if(!object && name && *name) {
/* we have a name, but couldn't find it. Abort. */
return 0;
if(!object && name && *name) {
/* we have a name, but couldn't find it. Abort. */
return 0;