Skip to content

Commit

Permalink
LibAudio: Silence some debug spam in the WAV loader.
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Jul 28, 2019
1 parent ae4a9e0 commit 66f8ea9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Libraries/LibAudio/AWavLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ RefPtr<ABuffer> ABuffer::from_pcm_data(ByteBuffer& data, int num_channels, int b
Vector<ASample> fdata;
fdata.ensure_capacity(data.size() * 2);

#ifdef AWAVLOADER_DEBUG
dbg() << "Reading " << bits_per_sample << " bits and " << num_channels << " channels, total bytes: " << data.size();
#endif

switch (bits_per_sample) {
case 8:
Expand Down

0 comments on commit 66f8ea9

Please sign in to comment.