search for: written_byt

Displaying 1 result from an estimated 1 matches for "written_byt".

Did you mean: written_bytes
2004 Sep 10
4
xmms-plugin problems
...t;buffer_free() < (int)bytes && file_info_.is_playing && file_info_.seek_to_in_sec == -1) < xmms_usleep(10000); < if(file_info_.is_playing && file_info_.seek_to_in_sec == -1) < flac_ip.output->write_audio(reservoir_, bytes); --- > unsigned written_bytes = 0, bytes_ = 512 * ((file_info_.bits_per_sample+7)/8) * file_info_.channels; > > while (written_bytes < bytes) { > if (written_bytes + bytes_ > bytes) > bytes_ = bytes - written_bytes; > flac_ip.add_vis_pcm(flac_ip.output->written_time(), file_inf...