diff options
author | Dima Zavin <dima@android.com> | 2011-04-27 17:13:46 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-04-27 17:13:46 -0700 |
commit | 058520e9eea39d01fc4dd640a15cb85090e30e81 (patch) | |
tree | 87e1db1e01d018a4283dca6c71d2c29418069f7f /include/media/stagefright/AudioSource.h | |
parent | d21e7b5d542cc9e93526182272c2bdc995c816fb (diff) | |
parent | 2986f5bed370709c10d24c058591d775e6092d89 (diff) | |
download | frameworks_base-058520e9eea39d01fc4dd640a15cb85090e30e81.zip frameworks_base-058520e9eea39d01fc4dd640a15cb85090e30e81.tar.gz frameworks_base-058520e9eea39d01fc4dd640a15cb85090e30e81.tar.bz2 |
Merge changes I22d9e018,Ib0701fcc,Ibc637918,I9eb7e002,I4adcec73
* changes:
audioflinger: don't do work in constructor, instead do it in onFirstRef
audioflinger: enumerate all the possible audio interfaces
audio/media: convert to using the audio HAL and new audio defs
libmedia: move AudioParameter out of AudioSystem
audioflinger: move legacy audio hw/policy out to libhardware_legacy
Diffstat (limited to 'include/media/stagefright/AudioSource.h')
-rw-r--r-- | include/media/stagefright/AudioSource.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/media/stagefright/AudioSource.h b/include/media/stagefright/AudioSource.h index 9e6f0e2..20a9e16 100644 --- a/include/media/stagefright/AudioSource.h +++ b/include/media/stagefright/AudioSource.h @@ -24,16 +24,18 @@ #include <media/stagefright/MediaBuffer.h> #include <utils/List.h> +#include <hardware/audio.h> + namespace android { class AudioRecord; struct AudioSource : public MediaSource, public MediaBufferObserver { // Note that the "channels" parameter is _not_ the number of channels, - // but a bitmask of AudioSystem::audio_channels constants. + // but a bitmask of audio_channels_t constants. AudioSource( int inputSource, uint32_t sampleRate, - uint32_t channels = AudioSystem::CHANNEL_IN_MONO); + uint32_t channels = AUDIO_CHANNEL_IN_MONO); status_t initCheck() const; |