summaryrefslogtreecommitdiffstats
path: root/include/media/MediaPlayerInterface.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-04 09:36:37 -0800
committerGlenn Kasten <gkasten@google.com>2012-01-05 13:34:54 -0800
commite1c3962e268ffc12bfd1bd9ea84da1f135f36960 (patch)
treed24fac9434dbe5808a6c31a50414da7b5ce47c9a /include/media/MediaPlayerInterface.h
parenta2a0a5d7d56baa831870f4bf2a0d942a477d92ef (diff)
downloadframeworks_av-e1c3962e268ffc12bfd1bd9ea84da1f135f36960.zip
frameworks_av-e1c3962e268ffc12bfd1bd9ea84da1f135f36960.tar.gz
frameworks_av-e1c3962e268ffc12bfd1bd9ea84da1f135f36960.tar.bz2
Use audio_format_t consistently
Was int, uint32_t, uint16_t, and uint8_t with 2-bit bitfield. Also replace 0 by AUDIO_FORMAT_DEFAULT and replace 1 by AUDIO_FORMAT_PCM_16_BIT. Change-Id: Ia8804f53f1725669e368857d5bb2044917e17975
Diffstat (limited to 'include/media/MediaPlayerInterface.h')
-rw-r--r--include/media/MediaPlayerInterface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/MediaPlayerInterface.h b/include/media/MediaPlayerInterface.h
index 80f43a3..1f6bdda 100644
--- a/include/media/MediaPlayerInterface.h
+++ b/include/media/MediaPlayerInterface.h
@@ -85,7 +85,7 @@ public:
// audio data.
virtual status_t open(
uint32_t sampleRate, int channelCount,
- int format=AUDIO_FORMAT_PCM_16_BIT,
+ audio_format_t format=AUDIO_FORMAT_PCM_16_BIT,
int bufferCount=DEFAULT_AUDIOSINK_BUFFERCOUNT,
AudioCallback cb = NULL,
void *cookie = NULL) = 0;