Chromium Code Reviews
DescriptionReimplement the AlsaPcmOutputStream and fix the threading issues.
Changes the threading model from one thread per stream to one shared thread. Also, redoes the alsa reading/buffering logic to assume an asynchronous data source, and respect the different packet sizes. The Alsa device is set to non-blocking now. State transitions are cleaned up, and the threading semantics are reworked. Now linux audio will no longer crash on shutdown, seek, pause, or tab close. This implementation does still leak though. :( The leak will be fixed in another CL.
Patch Set 1 #Patch Set 2 : This right set of files. #
Total comments: 28
Patch Set 3 : Address Alpha's comments. #Patch Set 4 : More unittests. #
Total comments: 2
Patch Set 5 : More unittests. #Patch Set 6 : Enough tests for this version. #Patch Set 7 : This time for sure #Patch Set 8 : blah blah #
Total comments: 35
Patch Set 9 : Rebased, uploading to check. #Patch Set 10 : Again. #Patch Set 11 : Rebaselined correctly. #Patch Set 12 : Address Andrew's comments. Diff aginst Patch 8 please. #
Messages
Total messages: 11 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||