summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-03-07 17:14:06 -0800
committerGlenn Kasten <gkasten@google.com>2014-03-07 17:14:06 -0800
commit1dafaf975636480dd42c57ef2c3b806739325ef8 (patch)
tree1203a45d33cc0dfec76a3b62089703acf8e358c9 /tests
parent7d20a9486d52d3e0747e34fb717830fcdad21933 (diff)
downloadandroid_frameworks_wilhelm-1dafaf975636480dd42c57ef2c3b806739325ef8.tar.gz
android_frameworks_wilhelm-1dafaf975636480dd42c57ef2c3b806739325ef8.tar.bz2
android_frameworks_wilhelm-1dafaf975636480dd42c57ef2c3b806739325ef8.zip
Fix checkbuild
Change-Id: Ic05acbd53a8f0a2ded837c8999a5de51ccd6bb8a
Diffstat (limited to 'tests')
-rw-r--r--tests/sandbox/playbq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sandbox/playbq.c b/tests/sandbox/playbq.c
index a6e7b46..f6da5be 100644
--- a/tests/sandbox/playbq.c
+++ b/tests/sandbox/playbq.c
@@ -237,7 +237,8 @@ int main(int argc, char **argv)
}
// The sample rate is a lie, but it doesn't actually matter
- const android::NBAIO_Format nbaio_format = android::Format_from_SR_C(44100, sfinfo.channels);
+ const android::NBAIO_Format nbaio_format = android::Format_from_SR_C(44100, sfinfo.channels,
+ AUDIO_FORMAT_PCM_16_BIT);
// verify the file format
switch (sfinfo.channels) {