OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
60d056b
)
Use size_t for frame size
author
Glenn Kasten
<gkasten@google.com>
Fri, 13 Jan 2012 22:53:35 +0000
(14:53 -0800)
committer
Glenn Kasten
<gkasten@google.com>
Fri, 13 Jan 2012 22:53:35 +0000
(14:53 -0800)
Change-Id: Ib96808544ee6fd76d0c8ff42e27b9c05518e8415
include/hardware/audio.h
patch
|
blob
|
history
diff --git
a/include/hardware/audio.h
b/include/hardware/audio.h
index
ed97728
..
f32a520
100644
(file)
--- a/
include/hardware/audio.h
+++ b/
include/hardware/audio.h
@@
-215,9
+215,9
@@
typedef struct audio_stream_in audio_stream_in_t;
/**
* return the frame size (number of bytes per sample).
*/
-static inline
uint32
_t audio_stream_frame_size(struct audio_stream *s)
+static inline
size
_t audio_stream_frame_size(struct audio_stream *s)
{
-
in
t chan_samp_sz;
+
size_
t chan_samp_sz;
switch (s->get_format(s)) {
case AUDIO_FORMAT_PCM_16_BIT: