Lines Matching defs:frames
49 /* calculate frames and update to bat */
53 /* The number of analyzed captured frames is arbitrarily set to half of
54 the number of frames of the wav file or the number of frames of the
56 bat->frames = header->length / bat->frame_size;
58 bat->frames /= 2;
174 wav->chunk.length = bat->frames * bat->frame_size;
226 int generate_input_data(struct bat *bat, void *buffer, int bytes, int frames)
259 err = generate_sine_wave(bat, frames, buffer);
263 load += frames;