/* $Id$
This file is part of libmspal
-Copyright © 2008 Mikko Rasa, Mikkosoft Productions
+Copyright © 2008-2009 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
unsigned Source::get_buffers_queued() const
{
- int n;
+ int n=0;
get_attribute(AL_BUFFERS_QUEUED, &n);
return n;
}
unsigned Source::get_buffers_processed() const
{
- int n;
+ int n=0;
get_attribute(AL_BUFFERS_PROCESSED, &n);
return n;
}