include: audio: Remove packed_struct from struct ap_buffer_s

NOTE: This change suppresses unaligned access warnings with arm gcc9

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-02-28 13:52:47 +09:00 committed by Xiang Xiao
parent 161104c76a
commit 0bd17b2c9c

View File

@ -403,7 +403,7 @@ struct ap_buffer_info_s
/* This structure describes an Audio Pipeline Buffer */
begin_packed_struct struct ap_buffer_s
struct ap_buffer_s
{
struct dq_entry_s dq_entry; /* Double linked queue entry */
struct audio_info_s i; /* The info for samples in this buffer */
@ -417,7 +417,7 @@ begin_packed_struct struct ap_buffer_s
uint16_t flags; /* Buffer flags */
uint16_t crefs; /* Number of reference counts */
FAR uint8_t *samp; /* Offset of the first sample */
} end_packed_struct;
};
/* Structure defining the messages passed to a listening audio thread
* for dequeuing buffers and other operations. Also used to allocate