mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:07:45 +00:00
LibAudio: Silence some debug spam in the WAV loader.
This commit is contained in:
parent
ae4a9e017a
commit
66f8ea92cb
1 changed files with 2 additions and 0 deletions
|
@ -242,7 +242,9 @@ RefPtr<ABuffer> ABuffer::from_pcm_data(ByteBuffer& data, int num_channels, int b
|
||||||
Vector<ASample> fdata;
|
Vector<ASample> fdata;
|
||||||
fdata.ensure_capacity(data.size() * 2);
|
fdata.ensure_capacity(data.size() * 2);
|
||||||
|
|
||||||
|
#ifdef AWAVLOADER_DEBUG
|
||||||
dbg() << "Reading " << bits_per_sample << " bits and " << num_channels << " channels, total bytes: " << data.size();
|
dbg() << "Reading " << bits_per_sample << " bits and " << num_channels << " channels, total bytes: " << data.size();
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (bits_per_sample) {
|
switch (bits_per_sample) {
|
||||||
case 8:
|
case 8:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue