Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 386909 | Differences between
and this patch

Collapse All | Expand All

(-)src/hairtunes.c.orig (-1 / +5 lines)
Lines 89-95 Link Here
89
// maximal resampling shift - conservative
89
// maximal resampling shift - conservative
90
#define OUTFRAME_BYTES (4*(frame_size+3))
90
#define OUTFRAME_BYTES (4*(frame_size+3))
91
91
92
93
alac_file *decoder_info;
92
alac_file *decoder_info;
94
93
95
#ifdef FANCY_RESAMPLING
94
#ifdef FANCY_RESAMPLING
Lines 849-854 Link Here
849
            inbuf = buffer_get_frame();
848
            inbuf = buffer_get_frame();
850
        } while (!inbuf && audio_running);
849
        } while (!inbuf && audio_running);
851
850
851
        if(!audio_running)
852
        {
853
          return 0; //don't access inbuf if audio stopped
854
        }
855
852
#ifdef FANCY_RESAMPLING
856
#ifdef FANCY_RESAMPLING
853
        if (fancy_resampling) {
857
        if (fancy_resampling) {
854
	        int i;
858
	        int i;

Return to bug 386909