AudioTrack 클래스

정의

오디오 트랙을 나타냅니다.

public ref class AudioTrack sealed : IMediaTrack
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AudioTrack final : IMediaTrack
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AudioTrack : IMediaTrack
Public NotInheritable Class AudioTrack
Implements IMediaTrack
상속
Object Platform::Object IInspectable AudioTrack
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

MediaPlaybackAudioTrackList.GetAt를 호출하여 이 클래스의 instance 가져옵니다.

버전 기록

Windows 버전 SDK 버전 추가된 값
1607 14393 GetEncodingProperties
1607 14393 속성
1607 14393 OpenFailed
1607 14393 PlaybackItem
1607 14393 SupportInfo

속성

Id

오디오 트랙의 식별자를 가져옵니다.

Label

오디오 트랙의 레이블을 가져오거나 설정합니다.

Language

오디오 트랙의 언어를 나타내는 문자열을 가져옵니다.

Name

AudioTrack의 이름을 가져옵니다.

PlaybackItem

AudioTrack이 포함된 MediaPlaybackItem을 가져옵니다.

SupportInfo

AudioTrack에 대한 지원 정보를 가져옵니다. 이 정보에는 오디오 디코더의 상태, 디코더에 의해 적용된 오디오 저하에 대한 정보 및 오디오 트랙이 연결된 MediaSource의 상태 포함됩니다.

TrackKind

트랙에 포함된 데이터의 형식을 나타내는 값을 가져옵니다. AudioTrack 개체의 경우 이 값은 항상 MediaTrackKind.Audio입니다.

메서드

GetEncodingProperties()

AudioTrack의 오디오 인코딩 속성을 가져옵니다.

이벤트

OpenFailed

AudioTrack이 열리지 않을 때 발생합니다.

적용 대상

추가 정보