mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 07:44:43 +01:00
lf format specifier doesn't work well in some runtimes (Wine)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@964 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
66b3ca672e
commit
1c2ebea3bf
@ -1570,8 +1570,8 @@ void describe_vgmstream(VGMSTREAM * vgmstream, char * desc, int length) {
|
||||
concatn(length,desc,temp);
|
||||
|
||||
if (vgmstream->loop_flag) {
|
||||
snprintf(temp,TEMPSIZE,"loop start: %d samples (%.4lf seconds)\n"
|
||||
"loop end: %d samples (%.4lf seconds)\n",
|
||||
snprintf(temp,TEMPSIZE,"loop start: %d samples (%.4f seconds)\n"
|
||||
"loop end: %d samples (%.4f seconds)\n",
|
||||
vgmstream->loop_start_sample,
|
||||
(double)vgmstream->loop_start_sample/vgmstream->sample_rate,
|
||||
vgmstream->loop_end_sample,
|
||||
@ -1579,7 +1579,7 @@ void describe_vgmstream(VGMSTREAM * vgmstream, char * desc, int length) {
|
||||
concatn(length,desc,temp);
|
||||
}
|
||||
|
||||
snprintf(temp,TEMPSIZE,"stream total samples: %d (%.4lf seconds)\n",
|
||||
snprintf(temp,TEMPSIZE,"stream total samples: %d (%.4f seconds)\n",
|
||||
vgmstream->num_samples,
|
||||
(double)vgmstream->num_samples/vgmstream->sample_rate);
|
||||
concatn(length,desc,temp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user