mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-03-24 20:51:10 +08:00
ggwave : add default constructor
This commit is contained in:
@@ -102,7 +102,7 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
|
||||
std::vector<char> bufferPCM(nBytes);
|
||||
std::memcpy(bufferPCM.data(), ggWave.txData(), nBytes);
|
||||
std::memcpy(bufferPCM.data(), ggWave.txWaveform(), nBytes);
|
||||
|
||||
fprintf(stderr, "Output size = %d bytes\n", (int) bufferPCM.size());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user