| 153 | } |
| 154 | |
| 155 | bool Sample::Write(const char* path /*=nullptr*/) |
| 156 | { |
| 157 | const std::string writeTo = path ? path : mReadPath; |
| 158 | WriteDataToFile(writeTo, &mData, mNumSamples); |
| 159 | return true; |
| 160 | } |
| 161 | |
| 162 | //static |
| 163 | bool Sample::WriteDataToFile(const std::string& path, float** data, int numSamples, int channels) |
no outgoing calls
no test coverage detected