Mercurial > audlegacy
comparison audacious/playback.c @ 890:ed26947bbf57 trunk
[svn] Gapless support. This comes with a few caveats, that I will mention here:
1) It is not really gapless, it just removes any delays caused by
resetting the output device. Mileage depends on source performance.
However, this commit reduces any gaps I have to a period of time that is
unnoticable to me. (Of course, I have a 15k RPM SATA drive too.)
author | nenolod |
---|---|
date | Mon, 27 Mar 2006 13:05:09 -0800 |
parents | 41ae3a48e202 |
children | 3b990c26fc46 |
comparison
equal
deleted
inserted
replaced
889:21e0ef28e318 | 890:ed26947bbf57 |
---|---|
229 | 229 |
230 return FALSE; | 230 return FALSE; |
231 } | 231 } |
232 | 232 |
233 set_current_input_plugin(entry->decoder); | 233 set_current_input_plugin(entry->decoder); |
234 entry->decoder->output = get_current_output_plugin(); | 234 entry->decoder->output = &psuedo_output_plugin; |
235 entry->decoder->play_file(entry->filename); | 235 entry->decoder->play_file(entry->filename); |
236 | 236 |
237 ip_data.playing = TRUE; | 237 ip_data.playing = TRUE; |
238 | 238 |
239 return TRUE; | 239 return TRUE; |