diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-20 19:04:00 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-20 19:04:00 +0000 |
commit | 99aecf0eb0bf591fffddacbc8d5efabec889dc65 (patch) | |
tree | 6f94dc8605b7ce8569d9dedec00277bd6132afc1 /media/audio | |
parent | 499149c6dddfb863b3e2bbd8ef47d24a5da1227c (diff) | |
download | chromium_src-99aecf0eb0bf591fffddacbc8d5efabec889dc65.zip chromium_src-99aecf0eb0bf591fffddacbc8d5efabec889dc65.tar.gz chromium_src-99aecf0eb0bf591fffddacbc8d5efabec889dc65.tar.bz2 |
Remove the folding define macro.
It will never be disabled anyways and just leaves a block of code open for bitrot.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/171017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23852 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio')
-rw-r--r-- | media/audio/win/waveout_output_win.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/media/audio/win/waveout_output_win.cc b/media/audio/win/waveout_output_win.cc index e4d34dc..0b4cc6f 100644 --- a/media/audio/win/waveout_output_win.cc +++ b/media/audio/win/waveout_output_win.cc @@ -29,9 +29,6 @@ // to make sure we are not executing inside the audio source's OnMoreData() // or that we take locks inside WaveCallback() or QueueNextPacket(). -// Enable or disable software folding -#define FOLDING 1 - namespace { // We settled for a triple buffering scheme. It seems to strike a good balance @@ -63,11 +60,7 @@ PCMWaveOutAudioOutputStream::PCMWaveOutAudioOutputStream( volume_(1), channels_(channels) { format_.wFormatTag = WAVE_FORMAT_PCM; -#ifdef FOLDING format_.nChannels = channels > 2 ? 2 : channels; -#else - format_.nChannels = channels; -#endif format_.nSamplesPerSec = sampling_rate; format_.wBitsPerSample = bits_per_sample; format_.cbSize = 0; |