mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
example/sco_demo_util: fix compile with POSIX_FILE_IO but without ENABLE_HFP_WIDE_BAND_SPEECH
This commit is contained in:
parent
c22a293dc0
commit
89714ad07e
@ -571,11 +571,13 @@ void sco_demo_send(hci_con_handle_t sco_handle){
|
||||
audio_input_paused = 1;
|
||||
} else {
|
||||
hfp_msbc_read_from_stream(sco_packet + 3, sco_payload_length);
|
||||
#ifdef ENABLE_HFP_WIDE_BAND_SPEECH
|
||||
#ifdef HAVE_POSIX_FILE_IO
|
||||
if (msbc_file_out){
|
||||
// log outgoing mSBC data for testing
|
||||
fwrite(sco_packet + 3, sco_payload_length, 1, msbc_file_out);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user