Skip to content

Commit 0c467dc

Browse files
jianglianfangxiaoxiang781216
authored andcommitted
audioutils/nxaudio: added pause/resume interface in nxaudio.h
Signed-off-by: jianglianfang <[email protected]>
1 parent 1f5ec0b commit 0c467dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/audioutils/nxaudio.h

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ int init_nxaudio_devname(FAR struct nxaudio_s *nxaudio,
6969
void fin_nxaudio(FAR struct nxaudio_s *nxaudio);
7070
int nxaudio_enqbuffer(FAR struct nxaudio_s *nxaudio,
7171
FAR struct ap_buffer_s *apb);
72+
int nxaudio_pause(FAR struct nxaudio_s *nxaudio);
73+
int nxaudio_resume(FAR struct nxaudio_s *nxaudio);
7274
int nxaudio_setvolume(FAR struct nxaudio_s *nxaudio, uint16_t vol);
7375
int nxaudio_start(FAR struct nxaudio_s *nxaudio);
7476
int nxaudio_msgloop(FAR struct nxaudio_s *nxaudio,

0 commit comments

Comments
 (0)