Revision 482adb6d server/src/AudioPlayerLibAO.cpp
server/src/AudioPlayerLibAO.cpp | ||
---|---|---|
53 | 53 |
} |
54 | 54 |
|
55 | 55 |
// this will return once we start playing |
56 |
void AudioPlayerLibAO::play(boost::shared_ptr<AudioData> audio) {
|
|
56 |
void AudioPlayerLibAO::play(std::shared_ptr<AudioData> audio) {
|
|
57 | 57 |
audio_data = audio; |
58 | 58 |
|
59 | 59 |
printf("> AudioPlayerLibAO: play() %d samples requested\n", (int)audio_data->samples.size()); |
... | ... | |
82 | 82 |
printf("> playback running.\n"); |
83 | 83 |
} |
84 | 84 |
|
85 |
ao_sample_format AudioPlayerLibAO::extract_ao_format(boost::shared_ptr<AudioData> audio) {
|
|
85 |
ao_sample_format AudioPlayerLibAO::extract_ao_format(std::shared_ptr<AudioData> audio) {
|
|
86 | 86 |
ao_sample_format ao_format; |
87 | 87 |
|
88 | 88 |
// get bits per sample |
Also available in: Unified diff