DynamicSwitch_Standalone
buffer_ctl
is only used within DynamicSwitch_Standalone.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
DynamicSwitch_Standalone
buffer_ctl
buffer_ctl variable
Syntax
from
audio.c:37
static
Audio_BufferTypeDef
buffer_ctl
;
References
Location
Referrer
Text
audio.c:37
static
Audio_BufferTypeDef
buffer_ctl
;
audio.c:70
AUDIO_Start()
&
buffer_ctl
.
buff
[
0
]
,
audio.c:79
AUDIO_Start()
buffer_ctl
.
in_ptr
=
0
;
audio.c:99
AUDIO_Process()
if
(
(
buffer_ctl
.
out_ptr
=
USBH_AUDIO_GetOutOffset
(
&
hUSBHost
)
)
<
0
)
/* End
audio.c:106
AUDIO_Process()
else
if
(
buffer_ctl
.
out_ptr
>=
(
AUDIO_BLOCK_SIZE
*
AUDIO_BLOCK_NBR
)
)
/* End
audio.c:111
AUDIO_Process()
USBH_AUDIO_ChangeOutBuffer
(
&
hUSBHost
,
&
buffer_ctl
.
buff
[
0
]
)
;
audio.c:115
AUDIO_Process()
diff
=
buffer_ctl
.
out_ptr
-
buffer_ctl
.
in_ptr
;
audio.c:124
AUDIO_Process()
buffer_ctl
.
in_ptr
+=
AUDIO_BLOCK_SIZE
;
audio.c:126
AUDIO_Process()
if
(
buffer_ctl
.
in_ptr
>=
(
AUDIO_BLOCK_SIZE
*
AUDIO_BLOCK_NBR
)
)
audio.c:128
AUDIO_Process()
buffer_ctl
.
in_ptr
=
0
;
audio.c:132
AUDIO_Process()
&
buffer_ctl
.
buff
[
buffer_ctl
.
in_ptr
]
,
audio.c:315
USBH_AUDIO_FrequencySet()
USBH_AUDIO_Play
(
&
hUSBHost
,
&
buffer_ctl
.
buff
[
0
]
,
wav_info
.
FileSize
)
;
Data Use
Functions reading
buffer_ctl
buffer_ctl
AUDIO_Start()
AUDIO_Process()
USBH_AUDIO_FrequencySet()
all items filtered out
Type of
buffer_ctl
buffer_ctl
Audio_BufferTypeDef
all items filtered out