diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2012-02-02 19:10:57 +0530 |
---|---|---|
committer | Ubuntu <vishal.bhoj@linaro.org> | 2014-06-05 09:53:27 +0000 |
commit | 48490e796805e703d8201b22bbe30f443ffb1e0e (patch) | |
tree | 4b652bb3ad8677a12e995863177b42775b9140bb | |
parent | d348e1e2f595d71aca61455d249af26bde8c356b (diff) | |
download | libhardware-48490e796805e703d8201b22bbe30f443ffb1e0e.tar.gz |
audio: workaround for angrybirds
Change-Id: If4201cda69441c73a6a299bfd96da1990d404443
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r-- | modules/audio/audio_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/audio/audio_hw.c b/modules/audio/audio_hw.c index 3051519c..bb2a00c5 100644 --- a/modules/audio/audio_hw.c +++ b/modules/audio/audio_hw.c @@ -42,7 +42,7 @@ struct stub_stream_in { static uint32_t out_get_sample_rate(const struct audio_stream *stream) { - return 44100; + return 16000; } static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) @@ -57,7 +57,7 @@ static size_t out_get_buffer_size(const struct audio_stream *stream) static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) { - return AUDIO_CHANNEL_OUT_STEREO; + return AUDIO_CHANNEL_OUT_MONO; } static audio_format_t out_get_format(const struct audio_stream *stream) |