Mercurial > audlegacy-plugins
comparison src/adplug/adplug-xmms.cc @ 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 | fa9f85cebade |
children | b0ff8640f338 |
comparison
equal
deleted
inserted
replaced
1983:47057148c992 | 1984:489e32a8e106 |
---|---|
799 dbg_printf ("buffer, "); | 799 dbg_printf ("buffer, "); |
800 sndbuf = (char *) malloc (SNDBUFSIZE * sampsize); | 800 sndbuf = (char *) malloc (SNDBUFSIZE * sampsize); |
801 | 801 |
802 // Set XMMS main window information | 802 // Set XMMS main window information |
803 dbg_printf ("xmms, "); | 803 dbg_printf ("xmms, "); |
804 adplug_ip.set_info (plr.songtitle, plr.songlength, freq * sampsize * 8, | 804 playback->set_params (playback, plr.songtitle, plr.songlength, freq * sampsize * 8, |
805 freq, stereo ? 2 : 1); | 805 freq, stereo ? 2 : 1); |
806 | 806 |
807 // Rewind player to right subsong | 807 // Rewind player to right subsong |
808 dbg_printf ("rewind, "); | 808 dbg_printf ("rewind, "); |
809 plr.p->rewind (plr.subsong); | 809 plr.p->rewind (plr.subsong); |