summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--media/audio/linux/alsa_output.cc2
-rw-r--r--media/audio/linux/alsa_output.h5
-rw-r--r--media/audio/linux/audio_manager_linux.cc2
3 files changed, 5 insertions, 4 deletions
diff --git a/media/audio/linux/alsa_output.cc b/media/audio/linux/alsa_output.cc
index 0dc9ca9..f53d855 100644
--- a/media/audio/linux/alsa_output.cc
+++ b/media/audio/linux/alsa_output.cc
@@ -69,7 +69,7 @@ static const unsigned int kTargetLatencyMicroseconds = 10000;
// adjust accordingly.
static const int64 kMinSleepMilliseconds = 10L;
-const char* AlsaPCMOutputStream::kDefaultDevice = "plug:default";
+const char* AlsaPCMOutputStream::kDefaultDevice = "default";
AlsaPCMOutputStream::AlsaPCMOutputStream(const std::string& device_name,
int min_buffer_ms,
diff --git a/media/audio/linux/alsa_output.h b/media/audio/linux/alsa_output.h
index b6d405b..42cd3c8 100644
--- a/media/audio/linux/alsa_output.h
+++ b/media/audio/linux/alsa_output.h
@@ -43,8 +43,9 @@ class AlsaPCMOutputStream :
public AudioOutputStream,
public base::RefCountedThreadSafe<AlsaPCMOutputStream> {
public:
- // Set to "plug:default" which should allow ALSA to do whatever is
- // necessary to simulate an audio device capable of handling our PCMs.
+ // Set to "default" which should avoid locking the sound device and allow
+ // ALSA to multiplex sound from different processes that want to write PCM
+ // data.
static const char* kDefaultDevice;
// Create a PCM Output stream for the ALSA device identified by
diff --git a/media/audio/linux/audio_manager_linux.cc b/media/audio/linux/audio_manager_linux.cc
index afe1c3c..69e8b9b 100644
--- a/media/audio/linux/audio_manager_linux.cc
+++ b/media/audio/linux/audio_manager_linux.cc
@@ -22,7 +22,7 @@ AudioOutputStream* AudioManagerLinux::MakeAudioStream(Format format,
int channels,
int sample_rate,
char bits_per_sample) {
- // TODO(ajwong): Do we want to be able to configure the device? plug:default
+ // TODO(ajwong): Do we want to be able to configure the device? default
// should work correctly for all mono/stereo, but not surround, which needs
// surround40, surround51, etc.
//