os: add tail accessor to Audio_out stream

Issue #1767.
This commit is contained in:
Josef Söntgen 2015-08-27 10:35:20 +02:00 committed by Christian Helmuth
parent 663e8fad9b
commit de8794321b

View File

@ -170,6 +170,13 @@ class Audio_out::Stream
*/
unsigned pos() const { return _pos; }
/**
* Current audio allocation position
*
* \return position
*/
unsigned tail() const { return _tail; }
/**
* Retrieve next packet for given packet
*