Ignore:
Timestamp:
12/15/07 21:04:05 (16 years ago)
Author:
radscorpion
Message:

Eye candy property page for the decoder filter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dsfilters/dec_mpc/src/mpc_filter.h

    r371 r374  
    4949class CMPCDecoder :
    5050        public CTransformFilter,
    51         public ISpecifyPropertyPages
     51        public ISpecifyPropertyPages,
     52        public IMusepackDecoder
    5253{
    5354public:
     
    6667        mpc_bits_reader         bits;
    6768        mpc_demux                       *demux;
     69
     70        // let's do some bitrate math
     71        double                          bitrate_blur;
     72        double                          bitrate_cnt;
     73        double                          bitrate_decay;
     74        __int64                         frames_decoded;
    6875
    6976public:
     
    99106        int OpenDemux(mpc_demux **dmx, mpc_streaminfo *si);
    100107
     108        // IMusepackDecoder
     109        STDMETHODIMP GetStreamVersion(int *version);
     110        STDMETHODIMP GetSamplerate(int *samplerate);
     111        STDMETHODIMP GetChannels(int *channels);
     112        STDMETHODIMP GetReplaygain(float *gain);
     113        STDMETHODIMP GetBitrate(float *bitrate);
     114        STDMETHODIMP GetFramesDecoded(__int64 *frames);
     115
     116
    101117};
    102118
Note: See TracChangeset for help on using the changeset viewer.