[FL-3040] Audio support for SubGhz (#2131)

* Furi_hal_speaker: multiple resource usage
* Furi_hal_speaker: fix multiple resource usage
* Furi_hal_speaker: fix music_player_worker
* Furi_hal_speaker: fix mutex release queue handling
* SubGhz: add furi_hal_subghz_set_debug_pin
* SubGhz: add sound SubGhz Read, SubGhz Read RAW
* furi_hal_speaker: add __attribute__((warn_unused_result)) for furi_hal_speaker_acquire()
* Furi_hal_speaker: fix review comments
* SubGhz: cleanup naming and locking timings
* SubGhz,FuriHal: fix speaker deinit logic and subghz speaker release sequence
* FuriHal: crash on speaker acquire/release from IRQ
* Furi, FuriHal: FURI_WARN_UNUSED and documentation update
* Bump api symbols version: fix broken speaker

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
Skorpionm
2022-12-17 02:20:10 +04:00
committed by GitHub
parent 3681a5478c
commit 2dea6969fe
14 changed files with 325 additions and 113 deletions

View File

@@ -1,5 +1,5 @@
entry,status,name,type,params
Version,+,10.1,,
Version,+,11.0,,
Header,+,applications/services/bt/bt_service/bt.h,,
Header,+,applications/services/cli/cli.h,,
Header,+,applications/services/cli/cli_vcp.h,,
@@ -1282,7 +1282,11 @@ Function,+,furi_hal_rtc_set_log_level,void,uint8_t
Function,+,furi_hal_rtc_set_pin_fails,void,uint32_t
Function,+,furi_hal_rtc_set_register,void,"FuriHalRtcRegister, uint32_t"
Function,+,furi_hal_rtc_validate_datetime,_Bool,FuriHalRtcDateTime*
Function,+,furi_hal_speaker_acquire,_Bool,uint32_t
Function,-,furi_hal_speaker_deinit,void,
Function,-,furi_hal_speaker_init,void,
Function,+,furi_hal_speaker_is_mine,_Bool,
Function,+,furi_hal_speaker_release,void,
Function,+,furi_hal_speaker_set_volume,void,float
Function,+,furi_hal_speaker_start,void,"float, float"
Function,+,furi_hal_speaker_stop,void,
@@ -1316,6 +1320,7 @@ Function,+,furi_hal_subghz_read_packet,void,"uint8_t*, uint8_t*"
Function,+,furi_hal_subghz_reset,void,
Function,+,furi_hal_subghz_rx,void,
Function,+,furi_hal_subghz_rx_pipe_not_empty,_Bool,
Function,+,furi_hal_subghz_set_async_mirror_pin,void,const GpioPin*
Function,+,furi_hal_subghz_set_frequency,uint32_t,uint32_t
Function,+,furi_hal_subghz_set_frequency_and_path,uint32_t,uint32_t
Function,+,furi_hal_subghz_set_path,void,FuriHalSubGhzPath
1 entry status name type params
2 Version + 10.1 11.0
3 Header + applications/services/bt/bt_service/bt.h
4 Header + applications/services/cli/cli.h
5 Header + applications/services/cli/cli_vcp.h
1282 Function + furi_hal_rtc_set_pin_fails void uint32_t
1283 Function + furi_hal_rtc_set_register void FuriHalRtcRegister, uint32_t
1284 Function + furi_hal_rtc_validate_datetime _Bool FuriHalRtcDateTime*
1285 Function + furi_hal_speaker_acquire _Bool uint32_t
1286 Function - furi_hal_speaker_deinit void
1287 Function - furi_hal_speaker_init void
1288 Function + furi_hal_speaker_is_mine _Bool
1289 Function + furi_hal_speaker_release void
1290 Function + furi_hal_speaker_set_volume void float
1291 Function + furi_hal_speaker_start void float, float
1292 Function + furi_hal_speaker_stop void
1320 Function + furi_hal_subghz_reset void
1321 Function + furi_hal_subghz_rx void
1322 Function + furi_hal_subghz_rx_pipe_not_empty _Bool
1323 Function + furi_hal_subghz_set_async_mirror_pin void const GpioPin*
1324 Function + furi_hal_subghz_set_frequency uint32_t uint32_t
1325 Function + furi_hal_subghz_set_frequency_and_path uint32_t uint32_t
1326 Function + furi_hal_subghz_set_path void FuriHalSubGhzPath