Changeset 561 for trunk/src/3rdparty/phonon/ds9/volumeeffect.cpp
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/3rdparty/phonon/ds9/volumeeffect.cpp
r2 r561 69 69 { 70 70 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}; 82 72 ret << mt; 83 73 return ret; … … 87 77 { 88 78 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) 90 80 { 91 81 } … … 150 140 //then creating the input 151 141 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); 154 143 } 155 144
Note:
See TracChangeset
for help on using the changeset viewer.