Mercurial > audlegacy-plugins
comparison src/cdaudio-ng/cdaudio-ng.c @ 1984:489e32a8e106
change some places to use set_params() instead of set_info() directly
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 07 Oct 2007 14:19:19 -0500 |
parents | 5fa26178eaef |
children | 9d0f5be50219 |
comparison
equal
deleted
inserted
replaced
1983:47057148c992 | 1984:489e32a8e106 |
---|---|
508 is_paused = FALSE; | 508 is_paused = FALSE; |
509 | 509 |
510 tuple = create_aud_tuple_from_trackinfo(pinputplayback->filename); | 510 tuple = create_aud_tuple_from_trackinfo(pinputplayback->filename); |
511 title = aud_tuple_formatter_make_title_string(tuple, get_gentitle_format()); | 511 title = aud_tuple_formatter_make_title_string(tuple, get_gentitle_format()); |
512 | 512 |
513 inputplugin.set_info(title, calculate_track_length(trackinfo[trackno].startlsn, trackinfo[trackno].endlsn), 1411200, 44100, 2); | 513 pinputplayback->set_params(pinputplayback, title, calculate_track_length(trackinfo[trackno].startlsn, trackinfo[trackno].endlsn), 1411200, 44100, 2); |
514 g_free(title); | 514 g_free(title); |
515 aud_tuple_free(tuple); | 515 aud_tuple_free(tuple); |
516 | 516 |
517 if (use_dae) { | 517 if (use_dae) { |
518 CDDEBUG("using digital audio extraction\n"); | 518 CDDEBUG("using digital audio extraction\n"); |