diff options
author | Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com> | 2014-05-26 15:16:30 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-06-01 10:17:16 +0300 |
commit | 8f14d896d1b1b252b601313bffdb55408736df2b (patch) | |
tree | 9868126f40a141441c148f0e65cdb784bfea7e41 /android/hal-audio.h | |
parent | 323e9c14ddc25bf79d42bf4564c7a74ebf5ec7ea (diff) | |
download | bluez-8f14d896d1b1b252b601313bffdb55408736df2b.tar.gz |
android/hal-audio: Fix media_packet definition
rtp_payload field in media_packet is specific for SBC codec thus it
should be moved to SBC codec implementation and removed from generic
structs.
Diffstat (limited to 'android/hal-audio.h')
-rw-r--r-- | android/hal-audio.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/android/hal-audio.h b/android/hal-audio.h index cc1a81c4f..dc1a81259 100644 --- a/android/hal-audio.h +++ b/android/hal-audio.h @@ -35,14 +35,6 @@ struct rtp_header { uint32_t csrc[0]; } __attribute__ ((packed)); -struct rtp_payload { - unsigned frame_count:4; - unsigned rfa0:1; - unsigned is_last_fragment:1; - unsigned is_first_fragment:1; - unsigned is_fragmented:1; -} __attribute__ ((packed)); - #elif __BYTE_ORDER == __BIG_ENDIAN struct rtp_header { @@ -60,21 +52,12 @@ struct rtp_header { uint32_t csrc[0]; } __attribute__ ((packed)); -struct rtp_payload { - unsigned is_fragmented:1; - unsigned is_first_fragment:1; - unsigned is_last_fragment:1; - unsigned rfa0:1; - unsigned frame_count:4; -} __attribute__ ((packed)); - #else #error "Unknown byte order" #endif struct media_packet { struct rtp_header hdr; - struct rtp_payload payload; uint8_t data[0]; }; |