Fixed test reporting of sample count

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@5 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-02-01 02:41:08 +00:00
parent b3633585e1
commit dc66a07cc9

View File

@ -26,7 +26,7 @@ int main(int argc, char ** argv) {
printf("loop start: %d samples (%lf seconds)\n",s->loop_start_sample,(double)s->loop_start_sample/s->sample_rate);
printf("loop end: %d samples (%lf seconds)\n",s->loop_end_sample,(double)s->loop_end_sample/s->sample_rate);
}
printf("file total samples %d (%lf seconds)\n",s->num_samples);
printf("file total samples %d (%lf seconds)\n",s->num_samples,(double)s->num_samples/s->sample_rate);
len = get_vgmstream_play_samples(2.0,10.0,s);
printf("samples to play %d (%lf seconds)\n",len,(double)len/s->sample_rate);