Skip to content

Commit

Permalink
fix: add missing reference to audioFile object in README
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstark committed Feb 6, 2025
1 parent 4f0911b commit 640ce95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ AudioFile is written and maintained by Adam Stark.
Write the audio file data directly to a vector of bytes (without writing to a file on disk):

std::vector<uint8_t> fileData;
saveToMemory (fileData, AudioFileFormat::Wave);
audioFile.saveToMemory (fileData, AudioFileFormat::Wave);

or

saveToMemory (fileData, AudioFileFormat::Aiff);
audioFile.saveToMemory (fileData, AudioFileFormat::Aiff);

## Examples

Expand Down

0 comments on commit 640ce95

Please sign in to comment.