comparison src/audacious/playlist.c @ 4581:cf6711eeb12f

implement event_queue_with_data_free()
author Tomasz Mon <desowin@gmail.com>
date Wed, 21 May 2008 18:40:05 +0200
parents 7f8a87023730
children aec8fc12e075
comparison
equal deleted inserted replaced
4580:910ed095b5a9 4581:cf6711eeb12f
1107 msg->bitrate = rate; 1107 msg->bitrate = rate;
1108 msg->samplerate = freq; 1108 msg->samplerate = freq;
1109 msg->channels = nch; 1109 msg->channels = nch;
1110 1110
1111 playback_set_sample_params(rate, freq, nch); 1111 playback_set_sample_params(rate, freq, nch);
1112 event_queue("playlist info change", msg); 1112 event_queue_with_data_free("playlist info change", msg);
1113 1113
1114 text = playlist_get_info_text(playlist); 1114 text = playlist_get_info_text(playlist);
1115 event_queue("title change", text); 1115 event_queue_with_data_free("title change", text);
1116 1116
1117 if ( playlist->position ) 1117 if ( playlist->position )
1118 hook_call( "playlist set info" , playlist->position ); 1118 hook_call( "playlist set info" , playlist->position );
1119 } 1119 }
1120 1120