mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-25 06:40:10 +00:00
hfp_plc: annotate PCM samples are in host endianess
This commit is contained in:
parent
59c97ae1ec
commit
7cd567c849
@ -68,6 +68,7 @@ typedef struct cvsd_plc_state {
|
|||||||
int frame_count;
|
int frame_count;
|
||||||
} btstack_cvsd_plc_state_t;
|
} btstack_cvsd_plc_state_t;
|
||||||
|
|
||||||
|
// All int16 audio samples are in host endiness
|
||||||
void btstack_cvsd_plc_init(btstack_cvsd_plc_state_t *plc_state);
|
void btstack_cvsd_plc_init(btstack_cvsd_plc_state_t *plc_state);
|
||||||
void btstack_cvsd_plc_bad_frame(btstack_cvsd_plc_state_t *plc_state, int16_t *out);
|
void btstack_cvsd_plc_bad_frame(btstack_cvsd_plc_state_t *plc_state, int16_t *out);
|
||||||
void btstack_cvsd_plc_good_frame(btstack_cvsd_plc_state_t *plc_state, int16_t *in, int16_t *out);
|
void btstack_cvsd_plc_good_frame(btstack_cvsd_plc_state_t *plc_state, int16_t *in, int16_t *out);
|
||||||
|
@ -63,6 +63,7 @@ typedef struct sbc_plc_state {
|
|||||||
int nbf;
|
int nbf;
|
||||||
} btstack_sbc_plc_state_t;
|
} btstack_sbc_plc_state_t;
|
||||||
|
|
||||||
|
// All int16 audio samples are in host endiness
|
||||||
void btstack_sbc_plc_init(btstack_sbc_plc_state_t *plc_state);
|
void btstack_sbc_plc_init(btstack_sbc_plc_state_t *plc_state);
|
||||||
void btstack_sbc_plc_bad_frame(btstack_sbc_plc_state_t *plc_state, int16_t *ZIRbuf, int16_t *out);
|
void btstack_sbc_plc_bad_frame(btstack_sbc_plc_state_t *plc_state, int16_t *ZIRbuf, int16_t *out);
|
||||||
void btstack_sbc_plc_good_frame(btstack_sbc_plc_state_t *plc_state, int16_t *in, int16_t *out);
|
void btstack_sbc_plc_good_frame(btstack_sbc_plc_state_t *plc_state, int16_t *in, int16_t *out);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user