comparison src/xmms-sid.c @ 472:3f02945a0c48

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 25 Jan 2007 05:58:05 +0000
parents 08038c161936
children 53bdac2e0dcb
comparison
equal deleted inserted replaced
471:1733f81f7480 472:3f02945a0c48
409 if (!myStatus.sidPlayer->plrInitSong(&myStatus)) { 409 if (!myStatus.sidPlayer->plrInitSong(&myStatus)) {
410 xs_error(_("Couldn't initialize SID-tune '%s' (sub-tune #%i)!\n"), 410 xs_error(_("Couldn't initialize SID-tune '%s' (sub-tune #%i)!\n"),
411 myTune->sidFilename, myStatus.currSong); 411 myTune->sidFilename, myStatus.currSong);
412 goto xs_err_exit; 412 goto xs_err_exit;
413 } 413 }
414 414
415
416 /* Open the audio output */ 415 /* Open the audio output */
417 XSDEBUG("open audio output (%d, %d, %d)\n", 416 XSDEBUG("open audio output (%d, %d, %d)\n",
418 myStatus.audioFormat, myStatus.audioFrequency, myStatus.audioChannels); 417 myStatus.audioFormat, myStatus.audioFrequency, myStatus.audioChannels);
419 418
420 if (!xs_plugin_ip.output-> 419 if (!xs_plugin_ip.output->
432 431
433 audioOpen = TRUE; 432 audioOpen = TRUE;
434 433
435 /* Set song information for current subtune */ 434 /* Set song information for current subtune */
436 XSDEBUG("set tune info\n"); 435 XSDEBUG("set tune info\n");
436 myStatus.sidPlayer->plrUpdateSIDInfo(&myStatus);
437 tmpTitle = xs_make_titlestring(myTune, myStatus.currSong); 437 tmpTitle = xs_make_titlestring(myTune, myStatus.currSong);
438 438
439 xs_plugin_ip.set_info( 439 xs_plugin_ip.set_info(
440 tmpTitle, 440 tmpTitle,
441 (songLength > 0) ? (songLength * 1000) : 0, 441 (songLength > 0) ? (songLength * 1000) : 0,