Added method to count currently playing tracks in Output classes

This commit is contained in:
Thulinma 2016-07-28 20:44:15 +02:00
parent 7afd3415b3
commit 0232417512
2 changed files with 5 additions and 0 deletions

View file

@ -60,6 +60,10 @@ namespace Mist {
isBlocking = blocking;
myConn.setBlocking(isBlocking);
}
uint32_t Output::currTrackCount() const{
return buffer.size();
}
void Output::updateMeta(){
//read metadata from page to myMeta variable