Ticket #2265: audiooutputca.h.diff

File audiooutputca.h.diff, 756 bytes (added by awk@…, 14 years ago)

patch to audiooutputca.h to override Set/GetAudiotime? and member timestamp

  • audiooutputca.h

     
    2525                  bool lset_initial_vol, bool laudio_passthru);
    2626    virtual ~AudioOutputCA();
    2727   
     28    virtual int GetAudiotime(void);
     29
    2830    // callback for delivering audio to output device
    2931    bool RenderAudio(unsigned char *aubuf, int size,
    3032                     unsigned long long timestamp);
     
    4648    virtual inline void StartOutputThread(void);
    4749    virtual inline void StopOutputThread(void);
    4850
     51    void SetAudiotime(void);
     52
    4953private:
    5054
    5155    CoreAudioData * coreaudio_data;
    5256    int bufferedBytes;
     57    long CA_audiotime_updated;
    5358};
    5459
    5560#endif