+ PyObject *getInfoObject(int w);
+
+ // iAudioTrackSelection
+ int getNumberOfTracks();
+ RESULT selectTrack(unsigned int i);
+ RESULT getTrackInfo(struct iAudioTrackInfo &, unsigned int n);
+ int getCurrentTrack();
+
+ // iAudioChannelSelection
+ int getCurrentChannel();
+ RESULT selectChannel(int i);
+
+ // iSubtitleOutput
+ RESULT enableSubtitles(eWidget *parent, SWIG_PYOBJECT(ePyObject) entry);
+ RESULT disableSubtitles(eWidget *parent);
+ PyObject *getSubtitleList();
+ PyObject *getCachedSubtitle();
+
+ // iStreamedService
+ RESULT streamed(ePtr<iStreamedService> &ptr);
+ PyObject *getBufferCharge();
+ int setBufferSize(int size);
+
+ struct audioStream
+ {
+ GstPad* pad;
+ audiotype_t type;
+ std::string language_code; /* iso-639, if available. */
+ std::string codec; /* clear text codec description */
+ audioStream()
+ :pad(0), type(atUnknown)
+ {
+ }
+ };
+ struct subtitleStream
+ {
+ GstPad* pad;
+ subtype_t type;
+ std::string language_code; /* iso-639, if available. */
+ subtitleStream()
+ :pad(0)
+ {
+ }
+ };
+ struct sourceStream
+ {
+ audiotype_t audiotype;
+ containertype_t containertype;
+ bool is_video;
+ bool is_streaming;
+ sourceStream()
+ :audiotype(atUnknown), containertype(ctNone), is_video(FALSE), is_streaming(FALSE)
+ {
+ }
+ };
+ struct bufferInfo
+ {
+ int bufferPercent;
+ int avgInRate;
+ int avgOutRate;
+ long long bufferingLeft;
+ bufferInfo()
+ :bufferPercent(0), avgInRate(0), avgOutRate(0), bufferingLeft(-1)
+ {
+ }
+ };