From 8f168ea0f33a957a489227d30ba8c8b6e79b51f1 Mon Sep 17 00:00:00 2001 From: "satish@chromium.org" Date: Thu, 2 Sep 2010 21:48:54 +0000 Subject: 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 --- media/audio/linux/alsa_output.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'media/audio/linux/alsa_output.h') 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 -- cgit v1.1