added a working() method.
This commit is contained in:
parent
00fc8205da
commit
9ae48c2d7d
1 changed files with 1 additions and 0 deletions
1
src/sl.h
1
src/sl.h
|
@ -112,6 +112,7 @@ public:
|
||||||
|
|
||||||
void play ( void *buffer, size_t length ) { write ( buffer, length ) ; }
|
void play ( void *buffer, size_t length ) { write ( buffer, length ) ; }
|
||||||
|
|
||||||
|
int working () { return !error ; }
|
||||||
int not_working () { return error ; }
|
int not_working () { return error ; }
|
||||||
|
|
||||||
int getBps () { return bps ; }
|
int getBps () { return bps ; }
|
||||||
|
|
Loading…
Reference in a new issue