summaryrefslogtreecommitdiffstats
path: root/media/audio/linux/alsa_output.h
diff options
context:
space:
mode:
authorsatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 21:48:54 +0000
committersatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 21:48:54 +0000
commit8f168ea0f33a957a489227d30ba8c8b6e79b51f1 (patch)
treee5aed0b85ec73e970cf7c22d0dc15897ddf38baa /media/audio/linux/alsa_output.h
parent87339f0bdb7fa60bad0616348a6a2aa705d4716a (diff)
downloadchromium_src-8f168ea0f33a957a489227d30ba8c8b6e79b51f1.zip
chromium_src-8f168ea0f33a957a489227d30ba8c8b6e79b51f1.tar.gz
chromium_src-8f168ea0f33a957a489227d30ba8c8b6e79b51f1.tar.bz2
Implement audio recording for Linux via ALSA.
There are no new unit tests because a cross platform unit test added in CL 3357004 covers this code. BUG=53598 TEST=media_unittests --gtest_filter=AudioInputTest.* Review URL: http://codereview.chromium.org/3299005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/linux/alsa_output.h')
-rw-r--r--media/audio/linux/alsa_output.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/media/audio/linux/alsa_output.h b/media/audio/linux/alsa_output.h
index f6fd0d6..cbc50b3 100644
--- a/media/audio/linux/alsa_output.h
+++ b/media/audio/linux/alsa_output.h
@@ -142,10 +142,6 @@ class AlsaPcmOutputStream :
static uint32 FramesToMicros(uint32 frames, uint32 sample_rate);
static uint32 FramesToMillis(uint32 frames, uint32 sample_rate);
std::string FindDeviceForChannels(uint32 channels);
- snd_pcm_t* OpenDevice(const std::string& device_name,
- uint32 channels,
- uint32 latency);
- bool CloseDevice(snd_pcm_t* handle);
snd_pcm_sframes_t GetAvailableFrames();
// Attempts to find the best matching linux audio device for the given number