Track TrackSource::takeNextTrack() { fillBuffer(); if (m_buffer.isEmpty()) return Track(); Track result = toTrack(m_buffer.takeFirst()); fillBuffer(); emit changed(); return result; }
void JSDictionary::convertValue(ExecState*, JSValue value, RefPtr<TrackBase>& result) { result = toTrack(value); }