Changeset 561 for trunk/src/3rdparty/phonon/qt7/mediaobject.h
- 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/qt7/mediaobject.h
r2 r561 25 25 26 26 #include "medianode.h" 27 28 #if QT_ALLOW_QUICKTIME 29 #include <QuickTime/QuickTime.h> 30 #endif 27 31 28 32 QT_BEGIN_NAMESPACE … … 39 43 40 44 class MediaObject : public MediaNode, 41 public Phonon::MediaObjectInterface, public Phonon::AddonInterface 45 public Phonon::MediaObjectInterface 46 #ifndef QT_NO_PHONON_MEDIACONTROLLER 47 , public Phonon::AddonInterface 48 #endif 42 49 { 43 50 Q_OBJECT … … 92 99 93 100 int videoOutputCount(); 101 102 #if QT_ALLOW_QUICKTIME 103 void displayLinkEvent(); 104 #endif 94 105 95 106 signals: … … 106 117 void currentSourceChanged(const MediaSource &newSource); 107 118 119 // Add-on interface: 120 void availableSubtitlesChanged(); 121 void availableAudioChannelsChanged(); 122 void titleChanged(int); 123 void availableTitlesChanged(int); 124 void chapterChanged(int); 125 void availableChaptersChanged(int); 126 void angleChanged(int); 127 void availableAnglesChanged(int); 128 108 129 protected: 109 130 void mediaNodeEvent(const MediaNodeEvent *event); … … 119 140 QuickTimeAudioPlayer *m_nextAudioPlayer; 120 141 MediaObjectAudioNode *m_mediaObjectAudioNode; 121 QuickTimeMetaData *m_metaData; 142 143 #if QT_ALLOW_QUICKTIME 144 CVDisplayLinkRef m_displayLink; 145 QMutex m_displayLinkMutex; 146 bool m_pendingDisplayLinkEvent; 147 void startDisplayLink(); 148 void stopDisplayLink(); 149 #endif 122 150 123 151 qint32 m_tickInterval; … … 128 156 129 157 int m_tickTimer; 130 int m_bufferTimer; 158 int m_videoTimer; 159 int m_audioTimer; 131 160 int m_rapidTimer; 132 161 … … 134 163 int m_swapTimeLeft; 135 164 QTime m_swapTime; 165 bool m_autoplayTitles; 136 166 137 167 void synchAudioVideo(); … … 142 172 void play_internal(); 143 173 void setupAudioSystem(); 144 void updateTimer(int &timer, int interval); 145 void bufferAudioVideo(); 174 void restartAudioVideoTimers(); 146 175 void updateRapidly(); 147 176 void updateCrossFade(); … … 155 184 void inspectGraph(); 156 185 bool isCrossFading(); 186 void setCurrentTrack(int track); 157 187 158 188 QString m_errorString;
Note:
See TracChangeset
for help on using the changeset viewer.