Revision 482adb6d server/src/AudioPlayerRSB.cpp

View differences:

server/src/AudioPlayerRSB.cpp
61 61
}
62 62

  
63 63
// this will return once we start playing
64
void AudioPlayerRSB::play(boost::shared_ptr<AudioData> _audio_data) {
64
void AudioPlayerRSB::play(std::shared_ptr<AudioData> _audio_data) {
65 65
	audio_data = _audio_data;
66 66

  
67 67
	printf("> AudioPlayerRSB: play() %d samples requested\n", (int)audio_data->samples.size());
......
73 73
	}
74 74

  
75 75
	// ok, we can play the audio. copy/setup data:
76
	// audio_data_ptr = boost::shared_ptr<rst::audition::SoundChunk>(boost::make_shared<rst::audition::SoundChunk>(*audio_chunk));
76
	// audio_data_ptr = std::shared_ptr<rst::audition::SoundChunk>(boost::make_shared<rst::audition::SoundChunk>(*audio_chunk));
77 77
	playback_requested = true;
78 78
}
79 79

  
......
155 155
}
156 156

  
157 157
void AudioPlayerRSB::publish_audio_data() {
158
	boost::shared_ptr<rst::audition::SoundChunk> request(new rst::audition::SoundChunk());
158
	std::shared_ptr<rst::audition::SoundChunk> request(new rst::audition::SoundChunk());
159 159

  
160 160
	request->set_channels(audio_data->sample_channels);
161 161
	request->set_data(audio_data->samples.data());

Also available in: Unified diff