Track
TrackSource::takeNextTrack()
{
    fillBuffer();
    if (m_buffer.isEmpty()) 
        return Track();

    Track result = toTrack(m_buffer.takeFirst());
    fillBuffer();
    emit changed();
    return result;
}
Exemple #2
0
void JSDictionary::convertValue(ExecState*, JSValue value, RefPtr<TrackBase>& result)
{
    result = toTrack(value);
}