33 #ifndef _NSOUND_AUDIO_BACKEND_LIBAO_H_
34 #define _NSOUND_AUDIO_BACKEND_LIBAO_H_
55 uint32 sample_rate = 44100,
57 uint32 bits_per_sample = 16);
103 setOption(
const std::string & key,
const std::string & value);
121 std::vector< std::string >
options_;
AudioBackendLibao(uint32 sample_rate=44100, uint32 channels=1, uint32 bits_per_sample=16)
AudioBackendLibao(const AudioBackendLibao ©)
AudioBackendType getBackendType()
std::vector< std::string > options_
void setOption(const std::string &key, const std::string &value)
Set libao options.
void scanDevices(AudioPlayback &pb, const AudioStream &test_clip)
void play(void *data, uint32 n_bytes)
std::stringstream error_buffer_
AudioBackendLibao & operator=(const AudioBackendLibao &rhs)