DVBCore  21.9.0
Open Source DVB Engine
stbhwav.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2004 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
24 // pre-processor mechanism so multiple inclusions don't cause compilation error
25 
26 #ifndef _STBHWAV_H
27 #define _STBHWAV_H
28 
29 #include "techtype.h"
30 #include "stbhwc.h"
31 #include "osdtype.h"
32 
33 //---Constant and macro definitions for public use-----------------------------
34 
35 //---Enumerations for public use-----------------------------------------------
36 
37 typedef enum e_stb_av_audio_mode
38 {
39  AV_AUDIO_STEREO = 0,
40  AV_AUDIO_LEFT = 1,
41  AV_AUDIO_RIGHT = 2,
42  AV_AUDIO_MONO = 3,
43  AV_AUDIO_MULTICHANNEL = 4
44 } E_STB_AV_AUDIO_MODE;
45 
46 typedef enum e_stb_av_decode_source
47 {
48  AV_DEMUX = 0,
49  AV_MEMORY = 1
50 } E_STB_AV_DECODE_SOURCE;
51 
52 typedef enum e_stb_av_video_codec
53 {
54  AV_VIDEO_CODEC_AUTO = 0,
55  AV_VIDEO_CODEC_MPEG1 = 1,
56  AV_VIDEO_CODEC_MPEG2 = 2,
57  AV_VIDEO_CODEC_H264 = 3,
58  AV_VIDEO_CODEC_H265 = 4,
59  AV_VIDEO_CODEC_AVS = 5,
60 } E_STB_AV_VIDEO_CODEC;
61 
62 typedef enum e_stb_av_audio_codec
63 {
64  AV_AUDIO_CODEC_AUTO = 0,
65  AV_AUDIO_CODEC_MP2 = 1,
66  AV_AUDIO_CODEC_MP3 = 2,
67  AV_AUDIO_CODEC_AC3 = 3,
68  AV_AUDIO_CODEC_EAC3 = 4,
69  AV_AUDIO_CODEC_AAC = 5,
70  AV_AUDIO_CODEC_HEAAC = 6,
71  AV_AUDIO_CODEC_AAC_ADTS = 7
72 } E_STB_AV_AUDIO_CODEC;
73 
74 typedef E_ASPECT_RATIO E_STB_AV_ASPECT_RATIO;
75 
76 typedef enum e_stb_av_video_format
77 {
78  VIDEO_FORMAT_UNDEFINED = 255,
79  VIDEO_FORMAT_AUTO = 0,
80  VIDEO_FORMAT_ORIGINAL,
81  VIDEO_FORMAT_PALBGH,
82  VIDEO_FORMAT_PALDKL,
83  VIDEO_FORMAT_PALI,
84  VIDEO_FORMAT_PALM,
85  VIDEO_FORMAT_PALN,
86  VIDEO_FORMAT_NTSC,
87  VIDEO_FORMAT_SECAMBGH,
88  VIDEO_FORMAT_SECAMDKL,
89  VIDEO_FORMAT_576IHD,
90  VIDEO_FORMAT_576PHD,
91  VIDEO_FORMAT_720HD, /* HD Format, 1280x720 progressive, 50 fps */
92  VIDEO_FORMAT_720P50HD = VIDEO_FORMAT_720HD,
93  VIDEO_FORMAT_720P60HD,
94  VIDEO_FORMAT_1080IHD, /* HD Format, 1920x1080 interlaced, 25 fps */
95  VIDEO_FORMAT_1080P25HD, /* HD Format, 1920x1080 progressive, 25 fps */
96  VIDEO_FORMAT_1080P30HD, /* HD Format, 1920x1080 progressive, 30 fps */
97  VIDEO_FORMAT_1080I50HD, /* HD Format, 1920x1080 interlaced, 50 fps */
98  VIDEO_FORMAT_1080P50HD, /* HD Format, 1920x1080 progressive, 50 fps */
99  VIDEO_FORMAT_1080P60HD, /* HD Format, 1920x1080 progressive, 60 fps */
100  VIDEO_FORMAT_2160P24UHD,
101  VIDEO_FORMAT_2160P25UHD,
102  VIDEO_FORMAT_2160P30UHD,
103  VIDEO_FORMAT_2160P50UHD,
104  VIDEO_FORMAT_2160P60UHD,
105 } E_STB_AV_VIDEO_FORMAT;
106 
107 typedef enum e_stb_av_outputs
108 {
109  AV_OUTPUT_TV_SCART = 0,
110  AV_OUTPUT_VCR_SCART = 1,
111  AV_OUTPUT_AUX_SCART = 2,
112  AV_OUTPUT_HDMI = 3
113 } E_STB_AV_OUTPUTS;
114 
115 typedef enum e_stb_av_sources
116 {
117  AV_SOURCE_ENCODER_SVIDEO = 0,
118  AV_SOURCE_ENCODER_RGB = 1,
119  AV_SOURCE_ENCODER_COMPOSITE = 2,
120  AV_SOURCE_VCR_SVIDEO = 3,
121  AV_SOURCE_VCR_RGB = 4,
122  AV_SOURCE_VCR_COMPOSITE = 5,
123  AV_SOURCE_AUX_SVIDEO = 6,
124  AV_SOURCE_AUX_RGB = 7,
125  AV_SOURCE_AUX_COMPOSITE = 8,
126  AV_SOURCE_DVD_SVIDEO = 9,
127  AV_SOURCE_DVD_RGB = 10,
128  AV_SOURCE_DVD_COMPOSITE = 11,
129  AV_SOURCE_ANALOG_TUNER = 12,
130  AV_SOURCE_ANALOG_TUNER_WITH_OSD = 13,
131  AV_SOURCE_HDMI = 14,
132  AV_SOURCE_CVBS = 15,
133  AV_SOURCE_TUNER = 16,
134  AV_SOURCE_NONE = 255
135 } E_STB_AV_SOURCES;
136 
137 typedef enum e_stb_av_srm_reply
138 {
139  SRM_OK = 0,
140  SRM_BUSY = 1,
141  SRM_NOT_REQUIRED = 2
142 } E_STB_AV_SRM_REPLY;
143 
144 typedef enum
145 {
146  VIDEO_INFO_VIDEO_RESOLUTION = 0x01,
147  VIDEO_INFO_SCREEN_RESOLUTION = 0x02,
148  VIDEO_INFO_VIDEO_ASPECT_RATIO = 0x04,
149  VIDEO_INFO_DISPLAY_ASPECT_RATIO = 0x08,
150  VIDEO_INFO_ASPECT_MODE = 0x10,
151  VIDEO_INFO_AFD = 0x20,
152  VIDEO_INFO_DECODER_STATUS = 0x40
153 } E_STB_AV_VIDEO_INFO_TYPE;
154 
155 typedef enum
156 {
157  DECODER_STATUS_NONE,
158  DECODER_STATUS_VIDEO,
159  DECODER_STATUS_IFRAME
160 } E_STB_AV_DECODER_STATUS;
161 
162 typedef enum
163 {
164  DIGITAL_AUDIO_PCM,
165  DIGITAL_AUDIO_COMPRESSED,
166  DIGITAL_AUDIO_AUTO
167 } E_STB_DIGITAL_AUDIO_TYPE;
168 
169 typedef enum e_stb_av_audio_route
170 {
171  SPEAKER_TV_N_AD_HEADPHONE_TV_N_AD,
172  SPEAKER_TV_ONLY_HEADPHONE_AD_ONLY,
173  SPEAKER_TV_N_AD_HEADPHONE_AD_ONLY,
174  SPEAKER_TV_ONLY_HEADPHONE_TV_N_AD,
175  AUTO_ROUTE_UNKNOWN,
176 } E_STB_AV_AUDIO_ROUTE;
177 
178 
179 //---Global type defs for public use-------------------------------------------
180 
181 typedef struct
182 {
183  BOOLEAN macrovision_set;
184  U8BIT macrovision;
185 
186  BOOLEAN aps_set;
187  U8BIT aps;
188 
189  BOOLEAN cgms_a_set;
190  U8BIT cgms_a;
191 
192  BOOLEAN ict_set;
193  U8BIT ict;
194 
195  BOOLEAN hdcp_set;
196  BOOLEAN hdcp;
197 
198  BOOLEAN scms_set;
199  U8BIT scms;
200 
201  BOOLEAN dot_set;
202  U8BIT dot;
204 
205 typedef struct
206 {
207  E_STB_AV_VIDEO_INFO_TYPE flags;
208  U16BIT video_width;
209  U16BIT video_height;
210  U16BIT screen_width;
211  U16BIT screen_height;
212  E_STB_AV_ASPECT_RATIO video_aspect_ratio;
213  E_STB_AV_ASPECT_RATIO display_aspect_ratio;
214  U8BIT afd;
215  E_STB_AV_DECODER_STATUS status;
217 
228 typedef void (*CC_DATA_CALLBACK)(U8BIT path, void* context, U8BIT* data, U16BIT data_len);
229 
230 
231 //---Global Function prototypes for public use---------------------------------
232 
238 void STB_AVInitialise(U8BIT audio_paths, U8BIT video_paths);
239 
245 void STB_AVBlankVideo(U8BIT path, BOOLEAN blank);
246 
253 void STB_AVSetVideoSource(U8BIT path, E_STB_AV_DECODE_SOURCE source, U32BIT param);
254 
261 BOOLEAN STB_AVSetVideoCodec(U8BIT path, E_STB_AV_VIDEO_CODEC codec);
262 
269 E_STB_AV_VIDEO_CODEC STB_AVGetVideoCodec(U8BIT path);
270 
275 void STB_AVStartVideoDecoding(U8BIT path);
276 
282 void STB_AVPauseVideoDecoding(U8BIT path);
283 
289 void STB_AVResumeVideoDecoding(U8BIT path);
290 
296 void STB_AVStopVideoDecoding(U8BIT decoder);
297 
304 void STB_AVSetAudioSource(U8BIT path, E_STB_AV_DECODE_SOURCE source, U32BIT param);
305 
312 BOOLEAN STB_AVSetAudioCodec(U8BIT path, E_STB_AV_AUDIO_CODEC codec);
313 
320 E_STB_AV_AUDIO_CODEC STB_AVGetAudioCodec(U8BIT path);
321 
328 void STB_AVChangeAudioMode(U8BIT path, E_STB_AV_AUDIO_MODE mode);
329 
334 void STB_AVStartAudioDecoding(U8BIT decoder);
335 
340 void STB_AVStopAudioDecoding(U8BIT decoder);
341 
347 void STB_AVSetAudioVolume(U8BIT path, U8BIT vol);
348 
354 U8BIT STB_AVGetAudioVolume(U8BIT path);
355 
361 void STB_AVSetAudioMute(U8BIT path, BOOLEAN mute);
362 
368 BOOLEAN STB_AVGetAudioMute(U8BIT path);
369 
377 void STB_AVSetADSource(U8BIT path, E_STB_AV_DECODE_SOURCE source, U32BIT param);
378 
386 BOOLEAN STB_AVSetADCodec(U8BIT path, E_STB_AV_AUDIO_CODEC codec);
387 
394 E_STB_AV_AUDIO_CODEC STB_AVGetADCodec(U8BIT path);
395 
402 void STB_AVChangeADMode(U8BIT path, E_STB_AV_AUDIO_MODE mode);
403 
408 void STB_AVStartADDecoding(U8BIT decoder);
409 
414 void STB_AVStopADDecoding(U8BIT decoder);
415 
421 void STB_AVSetADVolume(U8BIT path, U8BIT vol);
422 
428 U8BIT STB_AVGetADVolume(U8BIT path);
429 
439 void STB_AVGetSTC(U8BIT path, U8BIT stc[5]);
440 
447 void STB_AVSetTVType(U8BIT path, E_STB_AV_ASPECT_RATIO ratio, E_STB_AV_VIDEO_FORMAT format);
448 
455 void STB_AVGetScreenSize(U8BIT path, U16BIT *width, U16BIT *height);
456 
463 void STB_AVSetAVOutputSource(E_STB_AV_OUTPUTS output, E_STB_AV_SOURCES source, U32BIT param);
464 
469 void STB_AVSetAVOutput(BOOLEAN av_on);
470 
475 void STB_AVSetHDMIStandby(BOOLEAN standby);
476 
482 U8BIT STB_AVGetHDMISupportedModes(E_STB_AV_VIDEO_FORMAT **modes);
483 
490 void STB_AVGetHDMINativeResolution(U16BIT *width, U16BIT *height);
491 
495 void STB_AVEnableHDMIDecoding(void);
496 
500 void STB_AVDisableHDMIDecoding(void);
501 
506 BOOLEAN STB_AVIsHDCPAuthenticated(void);
507 
514 BOOLEAN STB_AVSetIFrameCodec(U8BIT path, E_STB_AV_VIDEO_CODEC codec);
515 
522 void STB_AVLoadIFrame(U8BIT path, U8BIT *data, U32BIT size);
523 
528 void STB_AVShowIFrame(U8BIT path);
529 
534 void STB_AVHideIFrame(U8BIT path);
535 
542 E_HW_STATUS STB_AVPlayAudioSample(U8BIT path, U32BIT loop_count);
543 
551 E_HW_STATUS STB_AVLoadAudioSample(U8BIT path, U8BIT *data, U32BIT size);
552 
558 E_HW_STATUS STB_AVPauseAudioSample(U8BIT path);
559 
565 E_HW_STATUS STB_AVResumeAudioSample(U8BIT path);
566 
571 void STB_AVStopAudioSample(U8BIT path);
572 
578 void STB_AVSetSpdifMode(U8BIT path, E_STB_DIGITAL_AUDIO_TYPE audio_type);
579 
585 void STB_AVSetHDMIAudioMode(U8BIT path, E_STB_DIGITAL_AUDIO_TYPE audio_type);
586 
592 void STB_AVSetAudioDelay(U8BIT path, U16BIT millisecond);
593 
600 void STB_AVSetVideoCallback(U8BIT path, void (*callback)(S_STB_AV_VIDEO_INFO *, void *), void *user_data);
601 
608 void STB_AVApplyVideoTransformation(U8BIT path, S_RECTANGLE *input, S_RECTANGLE *output);
609 
615 S16BIT STB_AVGetMinPlaySpeed(U8BIT video_decoder);
616 
622 S16BIT STB_AVGetMaxPlaySpeed(U8BIT video_decoder);
623 
633 S16BIT STB_AVGetNextPlaySpeed(U8BIT video_decoder, S16BIT speed, S16BIT inc,
634  BOOLEAN include_slow_speeds);
635 
641 
646 void STB_AVSetUhfModulatorChannel(U8BIT chan);
647 
652 U8BIT STB_AVGetUhfModulatorChannel(void);
653 
659 U8BIT STB_AVGetVideoFrameRate(U8BIT path);
660 
668 E_STB_AV_SRM_REPLY STB_AVApplySRM(U8BIT path, U8BIT *data, U32BIT len);
669 
670 void STB_AVCECOneTouchPlay(void);
671 E_STB_AV_VIDEO_FORMAT STB_AVGetHDMINativeFormat(void);
672 void STB_AVPlayMp3(U8BIT path, U8BIT *buffer, U32BIT buffer_size);
673 void STB_AVStopMp3(U8BIT path);
674 
685 void STB_AVRegisterCcCallback(U8BIT path, void* context, CC_DATA_CALLBACK callback);
686 
687 #endif // _STBHWAV_H
U8BIT STB_AVGetVideoFrameRate(U8BIT path)
Returns the frame rate of the video being decoded.
Header file - Function prototypes for A/V control.
void STB_AVGetScreenSize(U8BIT path, U16BIT *width, U16BIT *height)
Returns the current size of the screen in pixels.
U8BIT STB_AVGetUhfModulatorChannel(void)
Gets the current RF modulator channel.
void STB_AVChangeADMode(U8BIT path, E_STB_AV_AUDIO_MODE mode)
Configures the audio description channel mode (stereo/left/right) in the case where dual-mono audio i...
void STB_AVEnableHDMIDecoding(void)
Enables AV output to HDMI.
BOOLEAN STB_AVIsHDCPAuthenticated(void)
Returns whether HDCP has authenticated.
Function prototypes for HW control.
S16BIT STB_AVGetMaxPlaySpeed(U8BIT video_decoder)
Returns maximum video play speed as a percentage.
E_STB_AV_AUDIO_CODEC STB_AVGetADCodec(U8BIT path)
Returns the codec previously set for audio description on the given audio path. This function is curr...
void STB_AVSetSpdifMode(U8BIT path, E_STB_DIGITAL_AUDIO_TYPE audio_type)
Sets the SPDIF output mode, PCM or compressed audio.
S16BIT STB_AVGetMinPlaySpeed(U8BIT video_decoder)
Returns minimum video play speed as a percentage.
void STB_AVHideIFrame(U8BIT path)
Hides the i-frame currently being displayed.
E_HW_STATUS STB_AVPlayAudioSample(U8BIT path, U32BIT loop_count)
Plays back a previously loaded audio sample.
void(* CC_DATA_CALLBACK)(U8BIT path, void *context, U8BIT *data, U16BIT data_len)
Callback function used to notify new closed caption data.
Definition: stbhwav.h:228
void STB_AVLoadIFrame(U8BIT path, U8BIT *data, U32BIT size)
Provides the video data for an i-frame for subsequent decode and display.
void STB_AVGetHDMINativeResolution(U16BIT *width, U16BIT *height)
Returns the native resolution, i.e. the resolution that is set with a call to STB_AVSetTVType(path, ratio, VIDEO_FORMAT_AUTO);.
void STB_AVStopAudioDecoding(U8BIT decoder)
Stops audio decoding on the given audio path.
BOOLEAN STB_AVSetIFrameCodec(U8BIT path, E_STB_AV_VIDEO_CODEC codec)
Sets the codec to be used when decoding the next i-frame from memory.
void STB_AVSetHDMIAudioMode(U8BIT path, E_STB_DIGITAL_AUDIO_TYPE audio_type)
Sets the HDMI audio output mode, PCM or compressed.
void STB_AVStopADDecoding(U8BIT decoder)
Stops decoding audio description on the given audio path.
void STB_AVGetSTC(U8BIT path, U8BIT stc[5])
Returns the current 33-bit System Time Clock from the PCR PES. On some systems, this information may ...
Definition: osdtype.h:56
void STB_AVSetHDMIStandby(BOOLEAN standby)
Sets the standby state of the HDMI output.
void STB_AVSetAudioSource(U8BIT path, E_STB_AV_DECODE_SOURCE source, U32BIT param)
Sets the source of the input for the main audio on the given audio decoder path.
U8BIT STB_AVGetAudioVolume(U8BIT path)
Returns the current volume of the main audio output.
E_HW_STATUS STB_AVLoadAudioSample(U8BIT path, U8BIT *data, U32BIT size)
Loads an audio sample for subsequent playback.
void STB_AVSetVideoCallback(U8BIT path, void(*callback)(S_STB_AV_VIDEO_INFO *, void *), void *user_data)
Register callback for updated video information.
E_STB_AV_SRM_REPLY STB_AVApplySRM(U8BIT path, U8BIT *data, U32BIT len)
Apply System Renewability Message (SRM) to HDCP function.
U8BIT STB_AVGetADVolume(U8BIT path)
Returns the current volume of the audio description output.
void STB_AVShowIFrame(U8BIT path)
Decodes and displays the previously loaded i-frame data.
BOOLEAN STB_AVSetAudioCodec(U8BIT path, E_STB_AV_AUDIO_CODEC codec)
Sets the audio codec to be used when decoding audio with the given audio decoder path.
E_HW_STATUS STB_AVPauseAudioSample(U8BIT path)
Pauses playback of an audio sample.
S16BIT STB_AVGetNextPlaySpeed(U8BIT video_decoder, S16BIT speed, S16BIT inc, BOOLEAN include_slow_speeds)
Returns the next valid speed that is +/- inc above or below the given speed. Slow motion speeds (>-10...
BOOLEAN STB_AVSetVideoCodec(U8BIT path, E_STB_AV_VIDEO_CODEC codec)
Sets the video codec to be used when decoding video with the given video decoder path.
void STB_AVSetUhfModulatorChannel(U8BIT chan)
Sets the output channel of the RF Modulator.
void STB_AVSetVideoSource(U8BIT path, E_STB_AV_DECODE_SOURCE source, U32BIT param)
Sets the source of the input to the given video decoder path.
void STB_AVPauseVideoDecoding(U8BIT path)
Pauses video decoding on the given video path. The video should not be blanked.
void STB_AVSetAudioVolume(U8BIT path, U8BIT vol)
Sets the volume of the main audio output.
void STB_AVStartVideoDecoding(U8BIT path)
Starts video decoding on the given video path.
void STB_AVStopVideoDecoding(U8BIT decoder)
Stops video decoding on the given video path. The video is not expected to be blanked.
Definition: stbhwav.h:181
void STB_AVSetAudioMute(U8BIT path, BOOLEAN mute)
Mute or unmute the audio output on the given audio decoder path.
void STB_AVSetAVOutput(BOOLEAN av_on)
Turns on/off all AV outputs (e.g. for standby mode)
E_HW_STATUS STB_AVResumeAudioSample(U8BIT path)
Resumes playback of an audio sample.
void STB_AVStartADDecoding(U8BIT decoder)
Starts decoding audio description on the given audio path.
void STB_AVRegisterCcCallback(U8BIT path, void *context, CC_DATA_CALLBACK callback)
Registers CC callback function.
System Wide Global Technical Data Type Definitions.
BOOLEAN STB_AVSetADCodec(U8BIT path, E_STB_AV_AUDIO_CODEC codec)
Sets the codec to be used for audio description when decoding audio with the given audio decoder path...
void STB_AVApplyVideoTransformation(U8BIT path, S_RECTANGLE *input, S_RECTANGLE *output)
Apply video transformation.
void STB_AVInitialise(U8BIT audio_paths, U8BIT video_paths)
Initialises the AV components.
void STB_AVStartAudioDecoding(U8BIT decoder)
Starts audio decoding on the given audio path.
void STB_AVDisableHDMIDecoding(void)
Disables AV output to HDMI.
void STB_AVChangeAudioMode(U8BIT path, E_STB_AV_AUDIO_MODE mode)
Configures the main audio channel mode (stereo/left/right) in the case where dual-mono audio is used...
void STB_AVSetAVOutputSource(E_STB_AV_OUTPUTS output, E_STB_AV_SOURCES source, U32BIT param)
Routes a specified AV source to a specified AV output.
U8BIT STB_AVGetHDMISupportedModes(E_STB_AV_VIDEO_FORMAT **modes)
Returns the resolutions supported by the HDMI.
void STB_AVSetADVolume(U8BIT path, U8BIT vol)
Sets the volume of the audio description output.
BOOLEAN STB_AVGetAudioMute(U8BIT path)
Returns the current mute setting of the audio output on the given path.
void STB_AVSetADSource(U8BIT path, E_STB_AV_DECODE_SOURCE source, U32BIT param)
Sets the source of the input for the audio description audio on the given audio decoder path...
E_STB_AV_AUDIO_CODEC STB_AVGetAudioCodec(U8BIT path)
Returns the audio codec previously set for the given audio path. This function is currently unused wi...
void STB_AVStopAudioSample(U8BIT path)
Stops playback of an audio sample.
void STB_AVSetTVType(U8BIT path, E_STB_AV_ASPECT_RATIO ratio, E_STB_AV_VIDEO_FORMAT format)
Sets the aspect ratio and signal format for the connected television.
void STB_AVBlankVideo(U8BIT path, BOOLEAN blank)
Blanks or unblanks the video display.
void STB_AVResumeVideoDecoding(U8BIT path)
Resumes video decoding on the given video path that has previously been paused The video should not b...
E_STB_AV_VIDEO_CODEC STB_AVGetVideoCodec(U8BIT path)
Returns the video codec previously set for the given video path. This function is currently unused wi...
Definition: stbhwav.h:205
void STB_AVSetAudioDelay(U8BIT path, U16BIT millisecond)
Sets the audio delay on the given path.
void STB_AVSetCopyProtection(S_STB_AV_COPY_PROTECTION *copy_protection)
Apply the specified copy protection. This function is used for CI+.