psf-loop.patch
audacious-plugins-3.9/src/psf/eng_psf.cc 2015-08-09 00:51:51.000000000 -0400 | ||
---|---|---|
29 | 29 |
#include <stdlib.h> |
30 | 30 | |
31 | 31 |
#include <libaudcore/audstrings.h> |
32 |
#include <libaudcore/plugin.h> |
|
33 |
#include <libaudcore/audio.h> |
|
34 |
#include <libaudcore/runtime.h> |
|
32 | 35 | |
33 | 36 |
#include "ao.h" |
34 | 37 |
#include "eng_protos.h" |
... | ... | |
313 | 316 |
printf("length %d fade %d\n", lengthMS, fadeMS); |
314 | 317 |
#endif |
315 | 318 | |
316 |
if (lengthMS == 0) |
|
319 |
if (lengthMS == 0 || aud_get_bool(NULL, "no_playlist_advance"))
|
|
317 | 320 |
{ |
318 | 321 |
lengthMS = ~0; |
319 | 322 |
} |
320 |
-- audacious-plugins-3.9/src/psf/eng_psf2.cc.orig 2015-05-30 18:40:23.000000000 -0400
|
|
323 |
++ audacious-plugins-3.9/src/psf/eng_psf2.cc 2015-08-09 00:52:09.000000000 -0400
|
|
... | ... | |
46 | 46 |
#include <string.h> |
47 | 47 |
#include <stdlib.h> |
48 | 48 | |
49 |
#include <libaudcore/audstrings.h> |
|
50 |
#include <libaudcore/plugin.h> |
|
51 |
#include <libaudcore/audio.h> |
|
52 |
#include <libaudcore/runtime.h> |
|
53 | ||
49 | 54 |
#include <zlib.h> |
50 | 55 |
#include <libaudcore/audstrings.h> |
51 | 56 | |
... | ... | |
529 | 534 | |
530 | 535 |
lengthMS = psfTimeToMS(c->inf_length); |
531 | 536 |
fadeMS = psfTimeToMS(c->inf_fade); |
532 |
if (lengthMS == 0) |
|
537 |
if (lengthMS == 0 || aud_get_bool(NULL, "no_playlist_advance"))
|
|
533 | 538 |
{ |
534 | 539 |
lengthMS = ~0; |
535 | 540 |
} |
... | ... | |
639 | 644 | |
640 | 645 |
lengthMS = psfTimeToMS(c->inf_length); |
641 | 646 |
fadeMS = psfTimeToMS(c->inf_fade); |
642 |
if (lengthMS == 0) |
|
647 |
if (lengthMS == 0 || aud_get_bool(NULL, "no_playlist_advance"))
|
|
643 | 648 |
{ |
644 | 649 |
lengthMS = ~0; |
645 | 650 |
} |