Mercurial > audlegacy
changeset 1243:7c765d74d643 trunk
[svn] - fill in the length part of the tuple (oops)
author | nenolod |
---|---|
date | Wed, 14 Jun 2006 23:24:23 -0700 |
parents | 0f89ebbf890a |
children | 1a93e6f2c98d |
files | ChangeLog Plugins/Input/console/Audacious_Driver.cpp |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Jun 14 23:19:56 2006 -0700 +++ b/ChangeLog Wed Jun 14 23:24:23 2006 -0700 @@ -1,3 +1,12 @@ +2006-06-15 06:19:56 +0000 William Pitcock <nenolod@nenolod.net> + revision [1398] + - get_song_tuple() implementation (scrobblerific!) + + + Changes: Modified: + +46 -1 trunk/Plugins/Input/console/Audacious_Driver.cpp + + 2006-06-15 06:08:51 +0000 William Pitcock <nenolod@nenolod.net> revision [1396] - flac_get_tuple()
--- a/Plugins/Input/console/Audacious_Driver.cpp Wed Jun 14 23:19:56 2006 -0700 +++ b/Plugins/Input/console/Audacious_Driver.cpp Wed Jun 14 23:24:23 2006 -0700 @@ -548,6 +548,11 @@ case type_nsfe:get_info_t( tag, in, &info, (Nsfe_Emu::header_t*)0 ); break; } + info.ti->length = info.length; + + if ( info.ti->length <= 0 ) + info.ti->length = audcfg.loop_length * 1000; + return info.ti; }