| 121 | |
| 122 | |
| 123 | std::shared_ptr<AudioBus> MakeBusFromMemory(const std::vector<uint8_t> & buffer, bool mixToMono) |
| 124 | { |
| 125 | std::lock_guard<std::mutex> lock(g_fileIOMutex); |
| 126 | nqr::AudioData * audioData = new nqr::AudioData(); |
| 127 | nyquist_io.Load(audioData, buffer); |
| 128 | return detail::LoadInternal(audioData, mixToMono); |
| 129 | } |
| 130 | |
| 131 | std::shared_ptr<AudioBus> MakeBusFromMemory(const std::vector<uint8_t> & buffer, const std::string & extension, bool mixToMono) |
| 132 | { |
nothing calls this directly
no test coverage detected