|
a/upqo/avtransport_qo.h |
|
b/upqo/avtransport_qo.h |
|
... |
|
... |
191 |
virtual void seek(int secs) {
|
191 |
virtual void seek(int secs) {
|
192 |
qDebug() << "AVT: seek to " << secs << " S. m_cursecs " << m_cursecs;
|
192 |
qDebug() << "AVT: seek to " << secs << " S. m_cursecs " << m_cursecs;
|
193 |
m_srv->seek(UPnPClient::AVTransport::SEEK_REL_TIME, secs);
|
193 |
m_srv->seek(UPnPClient::AVTransport::SEEK_REL_TIME, secs);
|
194 |
}
|
194 |
}
|
195 |
|
195 |
|
|
|
196 |
// Retrieve the current track length in seconds. This is useful
|
|
|
197 |
// if the available metadata does not have a duration (esp. happens with video)
|
|
|
198 |
virtual int trackSecs() {
|
|
|
199 |
return m_cursecs;
|
|
|
200 |
}
|
196 |
virtual void fetchState() {
|
201 |
virtual void fetchState() {
|
197 |
update(true);
|
202 |
update(true);
|
198 |
}
|
203 |
}
|
199 |
|
204 |
|
200 |
// Called by timer every sec
|
205 |
// Called by timer every sec
|