comparison 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
comparison
equal deleted inserted replaced
1242:0f89ebbf890a 1243:7c765d74d643
546 case type_vgm: get_info_t( tag, in, &info, (Vgm_Emu::header_t*) 0 ); break; 546 case type_vgm: get_info_t( tag, in, &info, (Vgm_Emu::header_t*) 0 ); break;
547 case type_spc: get_info_t( tag, in, &info, (Spc_Emu::header_t*) 0 ); break; 547 case type_spc: get_info_t( tag, in, &info, (Spc_Emu::header_t*) 0 ); break;
548 case type_nsfe:get_info_t( tag, in, &info, (Nsfe_Emu::header_t*)0 ); break; 548 case type_nsfe:get_info_t( tag, in, &info, (Nsfe_Emu::header_t*)0 ); break;
549 } 549 }
550 550
551 info.ti->length = info.length;
552
553 if ( info.ti->length <= 0 )
554 info.ti->length = audcfg.loop_length * 1000;
555
551 return info.ti; 556 return info.ti;
552 } 557 }
553 558
554 // Playback 559 // Playback
555 560