audio: workaround for angrybirds
Change-Id: If4201cda69441c73a6a299bfd96da1990d404443
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
diff --git a/modules/audio/audio_hw.c b/modules/audio/audio_hw.c
index 3051519..bb2a00c 100644
--- a/modules/audio/audio_hw.c
+++ b/modules/audio/audio_hw.c
@@ -42,7 +42,7 @@
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 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)