| Index: media/audio/linux/alsa_output.cc
|
| ===================================================================
|
| --- media/audio/linux/alsa_output.cc (revision 57255)
|
| +++ media/audio/linux/alsa_output.cc (working copy)
|
| @@ -376,7 +376,7 @@
|
| }
|
|
|
| void AlsaPcmOutputStream::OpenTask(uint32 packet_size) {
|
| - DCHECK_EQ(message_loop_, MessageLoop::current());
|
| + DCHECK_EQ(MessageLoop::current(), message_loop_);
|
|
|
| // Initialize the configuration variables.
|
| packet_size_ = packet_size;
|
| @@ -422,7 +422,7 @@
|
| }
|
|
|
| void AlsaPcmOutputStream::StartTask() {
|
| - DCHECK_EQ(message_loop_, MessageLoop::current());
|
| + DCHECK_EQ(MessageLoop::current(), message_loop_);
|
|
|
| if (stop_stream_) {
|
| return;
|
| @@ -454,7 +454,7 @@
|
| void AlsaPcmOutputStream::CloseTask() {
|
| // NOTE: Keep this function idempotent to handle errors that might cause
|
| // multiple CloseTasks to be posted.
|
| - DCHECK_EQ(message_loop_, MessageLoop::current());
|
| + DCHECK_EQ(MessageLoop::current(), message_loop_);
|
|
|
| // Shutdown the audio device.
|
| if (playback_handle_ && !CloseDevice(playback_handle_)) {
|
| @@ -470,7 +470,7 @@
|
| }
|
|
|
| void AlsaPcmOutputStream::BufferPacket(bool* source_exhausted) {
|
| - DCHECK_EQ(message_loop_, MessageLoop::current());
|
| + DCHECK_EQ(MessageLoop::current(), message_loop_);
|
|
|
| // If stopped, simulate a 0-lengthed packet.
|
| if (stop_stream_) {
|
| @@ -558,7 +558,7 @@
|
| }
|
|
|
| void AlsaPcmOutputStream::WritePacket() {
|
| - DCHECK_EQ(message_loop_, MessageLoop::current());
|
| + DCHECK_EQ(MessageLoop::current(), message_loop_);
|
|
|
| // If the device is in error, just eat the bytes.
|
| if (stop_stream_) {
|
| @@ -611,7 +611,7 @@
|
| }
|
|
|
| void AlsaPcmOutputStream::WriteTask() {
|
| - DCHECK_EQ(message_loop_, MessageLoop::current());
|
| + DCHECK_EQ(MessageLoop::current(), message_loop_);
|
|
|
| if (stop_stream_) {
|
| return;
|
| @@ -625,7 +625,7 @@
|
| }
|
|
|
| void AlsaPcmOutputStream::ScheduleNextWrite(bool source_exhausted) {
|
| - DCHECK_EQ(message_loop_, MessageLoop::current());
|
| + DCHECK_EQ(MessageLoop::current(), message_loop_);
|
|
|
| if (stop_stream_) {
|
| return;
|
| @@ -778,7 +778,7 @@
|
| }
|
|
|
| snd_pcm_sframes_t AlsaPcmOutputStream::GetAvailableFrames() {
|
| - DCHECK_EQ(message_loop_, MessageLoop::current());
|
| + DCHECK_EQ(MessageLoop::current(), message_loop_);
|
|
|
| if (stop_stream_) {
|
| return 0;
|
|
|