Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/3rdparty/phonon/ds9/volumeeffect.cpp

    r2 r561  
    6969        {
    7070            QVector<AM_MEDIA_TYPE> ret;
    71 
    72             AM_MEDIA_TYPE mt;
    73             mt.majortype = MEDIATYPE_Audio;
    74             mt.subtype = MEDIASUBTYPE_PCM;
    75             mt.bFixedSizeSamples = 1;
    76             mt.bTemporalCompression = 0;
    77             mt.pUnk = 0;
    78             mt.lSampleSize = 1;
    79             mt.cbFormat = 0;
    80             mt.pbFormat = 0;
    81             mt.formattype = GUID_NULL;
     71            AM_MEDIA_TYPE mt = { MEDIATYPE_Audio, MEDIASUBTYPE_PCM, 1, 0, 1, GUID_NULL, 0, 0, 0};
    8272            ret << mt;
    8373            return ret;
     
    8777        {
    8878        public:
    89             VolumeMemInputPin(QBaseFilter *parent, const QVector<AM_MEDIA_TYPE> &mt) : QMemInputPin(parent, mt, true /*transform*/)
     79            VolumeMemInputPin(QBaseFilter *parent, const QVector<AM_MEDIA_TYPE> &mt, QPin *output) : QMemInputPin(parent, mt, true /*transform*/, output)
    9080            {
    9181            }
     
    150140            //then creating the input
    151141            mt << audioMediaType();
    152             m_input = new VolumeMemInputPin(this, mt);
    153             m_input->addOutput(m_output); //make the connection here
     142            m_input = new VolumeMemInputPin(this, mt, m_output);
    154143        }
    155144
Note: See TracChangeset for help on using the changeset viewer.