AudioBuffer 클래스

정의

오디오 데이터를 포함하는 버퍼를 나타냅니다.

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

Windows 요구 사항

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

설명

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

속성

Capacity

버퍼가 보유할 수 있는 최대 바이트 수를 가져옵니다.

Length

버퍼에서 현재 사용 중인 바이트 수를 가져오거나 설정합니다.

메서드

Close()

개체 및 연결된 리소스를 삭제합니다.

CreateReference()

오디오 버퍼의 IMemoryBufferReference 표현을 반환합니다.

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

적용 대상

추가 정보