Mercurial > audlegacy
diff Plugins/Input/console/Audacious_Driver.cpp @ 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 | ece68ef26b94 |
line wrap: on
line diff
--- 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; }
