///////////////////////////////////////////////////////
| 130 | |
| 131 | //////////////////////////////////////////////////////////// |
| 132 | bool SoundBuffer::loadFromStream(InputStream& stream) |
| 133 | { |
| 134 | InputSoundFile file; |
| 135 | if (file.openFromStream(stream)) |
| 136 | return initialize(file); |
| 137 | |
| 138 | err() << "Failed to open sound buffer from stream" << std::endl; |
| 139 | return false; |
| 140 | } |
| 141 | |
| 142 | |
| 143 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no test coverage detected