Ticket #2265: audiooutputbase.h.diff

File audiooutputbase.h.diff, 1.6 KB (added by awk@…, 14 years ago)

patch to audiooutputbase.h to change visibility of member variables

  • audiooutputbase.h

     
    128128    bool set_initial_vol;
    129129    bool buffer_output_data_for_use; //  used by AudioOutputNULL
    130130   
     131    // timestretch
     132    soundtouch::SoundTouch * pSoundStretch;
     133
     134    int audiotime; // timecode of audio leaving the soundcard (same units as
     135                   //                                          timecodes) ...
     136
     137    int audbuf_timecode;    /* timecode of audio most recently placed into
     138                   buffer */
     139
    131140 private:
    132141    // resampler
    133142    bool need_resampler;
     
    137146    float src_out[AUDIO_SRC_OUT_SIZE];
    138147    short tmp_buff[AUDIO_TMP_BUF_SIZE];
    139148
    140     // timestretch
    141     soundtouch::SoundTouch * pSoundStretch;
    142 
    143149    bool blocking; // do AddSamples calls block?
    144150
    145151    int lastaudiolen;
     
    155161
    156162    pthread_mutex_t avsync_lock; /* must hold avsync_lock to read or write
    157163                                    'audiotime' and 'audiotime_updated' */
    158     int audiotime; // timecode of audio leaving the soundcard (same units as
    159                    //                                          timecodes) ...
    160164    struct timeval audiotime_updated; // ... which was last updated at this time
    161165
    162166    /* Audio circular buffer */
    163167    unsigned char audiobuffer[AUDBUFSIZE];  /* buffer */
    164168    int raud, waud;     /* read and write positions */
    165     int audbuf_timecode;    /* timecode of audio most recently placed into
    166                    buffer */
    167169
    168170    int numlowbuffer;
    169171