Compartilhar via


AM_LINE21_CCSERVICE enumeration (il21dec.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Indicates the closed captioning service.

Syntax

typedef enum _AM_LINE21_CCSERVICE {
  AM_L21_CCSERVICE_None = 0,
  AM_L21_CCSERVICE_Caption1,
  AM_L21_CCSERVICE_Caption2,
  AM_L21_CCSERVICE_Text1,
  AM_L21_CCSERVICE_Text2,
  AM_L21_CCSERVICE_XDS,
  AM_L21_CCSERVICE_DefChannel = 10,
  AM_L21_CCSERVICE_Invalid
} AM_LINE21_CCSERVICE, *PAM_LINE21_CCSERVICE;

Constants

 
AM_L21_CCSERVICE_None
Value: 0
No current service.
AM_L21_CCSERVICE_Caption1
CC1 (caption channel).
AM_L21_CCSERVICE_Caption2
CC2 (caption channel).
AM_L21_CCSERVICE_Text1
T1 (text channel).
AM_L21_CCSERVICE_Text2
T2 (text channel)
AM_L21_CCSERVICE_XDS
Extended Data Services (XDS or EDS).
AM_L21_CCSERVICE_DefChannel
Value: 10
AM_L21_CCSERVICE_Invalid

Remarks

The Line 21 decoder supports CC1 and CC2 only.

Requirements

Requirement Value
Header il21dec.h

See also

DirectShow Enumerated Types

IAMLine21Decoder::GetCurrentService

IAMLine21Decoder::SetCurrentService