Chromium Code Reviews
DescriptionMoved the implementations of ReleaseOutputStream() and ReleaseInputStream() to AudioManagerBase and let all the AudioManagerPlatforms inherit the same implementations.
Also moved the MakeAudioOutputStream() and MakeAudioInputStream() to AudioManagerBase, separate the AUDIO_PCM_LINEAR mode and AUDIO_PCM_LOW_LATENCY mode into two different functions inside the AudioManagerPlatforms. So that the structure is clearer and also easier to deprecate the AUDIO_PCM_LINEAR for the future.
Made the destructor of the AudioManagerPlatforms protected so it can be called by only the AudioManagerBase.
BUG=116064
TEST=media_unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125389
Patch Set 1 #
Total comments: 1
Patch Set 2 : small changes on the code, ready for review #
Total comments: 7
Patch Set 3 : fix the memory leak in the alsa unittests #
Total comments: 26
Patch Set 4 : addressed tommi's comments and changed alsa unittest to use Close() to delete stream #
Total comments: 6
Patch Set 5 : changed the GetMaxOutputStreamsAllowed #
Total comments: 17
Patch Set 6 : addressed Andrew's comments and fixed the media_unittests on Mac #Patch Set 7 : rebased and fixed windows compiling #
Messages
Total messages: 17 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||