mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 21:35:16 +00:00
example/a2dp_sink: fix init for hal_audio_dma
This commit is contained in:
parent
ae1d123737
commit
4be06e9f3c
@ -485,7 +485,7 @@ static int media_processing_init(avdtp_media_codec_configuration_sbc_t configura
|
|||||||
memset(ring_buffer_storage, 0, sizeof(ring_buffer_storage));
|
memset(ring_buffer_storage, 0, sizeof(ring_buffer_storage));
|
||||||
btstack_ring_buffer_init(&ring_buffer, ring_buffer_storage, sizeof(ring_buffer_storage));
|
btstack_ring_buffer_init(&ring_buffer, ring_buffer_storage, sizeof(ring_buffer_storage));
|
||||||
audio_stream_started = 0;
|
audio_stream_started = 0;
|
||||||
audio_stream_paused = 0;
|
audio_stream_paused = 1;
|
||||||
#endif
|
#endif
|
||||||
media_initialized = 1;
|
media_initialized = 1;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user