ogl_device* ogl_;\r
std::vector<std::shared_ptr<host_buffer>> buffers_;\r
std::vector<safe_ptr<device_buffer>> textures_;\r
- std::vector<int32_t> audio_data_;\r
+ audio_buffer audio_data_;\r
const core::pixel_format_desc desc_;\r
const void* tag_;\r
core::field_mode::type mode_;\r
void write_frame::swap(write_frame& other){impl_.swap(other.impl_);}\r
\r
boost::iterator_range<uint8_t*> write_frame::image_data(size_t index){return impl_->image_data(index);}\r
-std::vector<int32_t>& write_frame::audio_data() { return impl_->audio_data_; }\r
+audio_buffer& write_frame::audio_data() { return impl_->audio_data_; }\r
const boost::iterator_range<const uint8_t*> write_frame::image_data(size_t index) const\r
{\r
return boost::iterator_range<const uint8_t*>(impl_->image_data(index).begin(), impl_->image_data(index).end());\r