Mercurial > audlegacy
changeset 4579:7f8a87023730
move playback_set_sample_params function call to playlist.c
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Wed, 21 May 2008 17:11:15 +0200 |
parents | d27f00f6b568 |
children | 910ed095b5a9 |
files | src/audacious/playlist.c src/audacious/ui_main.c |
diffstat | 2 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/playlist.c Wed May 21 16:51:37 2008 +0200 +++ b/src/audacious/playlist.c Wed May 21 17:11:15 2008 +0200 @@ -1108,6 +1108,7 @@ msg->samplerate = freq; msg->channels = nch; + playback_set_sample_params(rate, freq, nch); event_queue("playlist info change", msg); text = playlist_get_info_text(playlist);
--- a/src/audacious/ui_main.c Wed May 21 16:51:37 2008 +0200 +++ b/src/audacious/ui_main.c Wed May 21 17:11:15 2008 +0200 @@ -620,8 +620,6 @@ gchar *title; Playlist *playlist = playlist_get_active(); - playback_set_sample_params(bitrate, frequency, n_channels); - GDK_THREADS_ENTER(); if (bitrate != -1) { bitrate /= 1000;