AudioFile.WritePackets 메서드

정의

오버로드

WritePackets(Boolean, Int64, AudioStreamPacketDescription[], IntPtr, Int32)

오디오 파일에 오디오 패킷을 씁니다.

WritePackets(Boolean, Int64, Int32, IntPtr, Int32)

audo 파일에 패킷을 씁니다.

WritePackets(Boolean, Int32, AudioStreamPacketDescription[], Int64, Int32, IntPtr)

파일에 오디오 패킷을 씁니다.

WritePackets(Boolean, Int64, AudioStreamPacketDescription[], Byte[], Int32, Int32)

파일에 오디오 패킷을 씁니다.

WritePackets(Boolean, Int64, AudioStreamPacketDescription[], IntPtr, Int32, Int32)

audo 파일에 패킷을 씁니다.

WritePackets(Boolean, Int64, AudioStreamPacketDescription[], Byte[], Int32, Int32, Int32)

audo 파일에 패킷을 씁니다.

WritePackets(Boolean, Int64, AudioStreamPacketDescription[], IntPtr, Int32)

오디오 파일에 오디오 패킷을 씁니다.

public int WritePackets (bool useCache, long startingPacket, AudioToolbox.AudioStreamPacketDescription[] packetDescriptions, IntPtr buffer, int byteCount);
member this.WritePackets : bool * int64 * AudioToolbox.AudioStreamPacketDescription[] * nativeint * int -> int

매개 변수

useCache
Boolean

데이터를 캐시에 보관해야 하는지 여부입니다.

startingPacket
Int64

작성해야 하는 packetDescriptions의 시작 패킷입니다.

packetDescriptions
AudioStreamPacketDescription[]

버퍼의 내용을 설명하는 패킷 설명 배열입니다.

buffer
IntPtr

nativeint

오디오 데이터를 포함하는 버퍼입니다.

byteCount
Int32

반환

기록된 패킷 수 또는 오류 발생 횟수 -1입니다.

적용 대상

WritePackets(Boolean, Int64, Int32, IntPtr, Int32)

audo 파일에 패킷을 씁니다.

public int WritePackets (bool useCache, long startingPacket, int numPackets, IntPtr buffer, int byteCount);
member this.WritePackets : bool * int64 * int * nativeint * int -> int

매개 변수

useCache
Boolean
startingPacket
Int64

작성해야 하는 packetDescriptions의 시작 패킷입니다.

numPackets
Int32
buffer
IntPtr

nativeint

byteCount
Int32

반환

적용 대상

WritePackets(Boolean, Int32, AudioStreamPacketDescription[], Int64, Int32, IntPtr)

파일에 오디오 패킷을 씁니다.

public AudioToolbox.AudioFileError WritePackets (bool useCache, int numBytes, AudioToolbox.AudioStreamPacketDescription[] packetDescriptions, long startingPacket, ref int numPackets, IntPtr buffer);
member this.WritePackets : bool * int * AudioToolbox.AudioStreamPacketDescription[] * int64 *  * nativeint -> AudioToolbox.AudioFileError

매개 변수

useCache
Boolean

데이터를 캐시에 보관해야 하는지 여부입니다.

numBytes
Int32

쓸 바이트 수입니다.

packetDescriptions
AudioStreamPacketDescription[]

버퍼의 내용을 설명하는 패킷 설명 배열입니다.

startingPacket
Int64

작성해야 하는 packetDescriptions의 시작 패킷입니다.

numPackets
Int32

쓸 패킷 수가 실제로 작성된 패킷 수로 바뀝니다.

buffer
IntPtr

nativeint

오디오 데이터를 포함하는 버퍼입니다.

반환

상태 오류 코드입니다.

적용 대상

WritePackets(Boolean, Int64, AudioStreamPacketDescription[], Byte[], Int32, Int32)

파일에 오디오 패킷을 씁니다.

public int WritePackets (bool useCache, long startingPacket, AudioToolbox.AudioStreamPacketDescription[] packetDescriptions, byte[] buffer, int offset, int byteCount);
member this.WritePackets : bool * int64 * AudioToolbox.AudioStreamPacketDescription[] * byte[] * int * int -> int

매개 변수

useCache
Boolean

데이터를 캐시에 보관해야 하는지 여부입니다.

startingPacket
Int64

작성해야 하는 packetDescriptions의 시작 패킷입니다.

packetDescriptions
AudioStreamPacketDescription[]

버퍼의 내용을 설명하는 패킷 설명의 배열입니다.

buffer
Byte[]

오디오 데이터를 포함하는 버퍼입니다.

offset
Int32

packetDescriptions에서 쓸 첫 번째 패킷입니다.

byteCount
Int32

반환

기록된 패킷 수 또는 오류 발생 횟수 -1입니다.

적용 대상

WritePackets(Boolean, Int64, AudioStreamPacketDescription[], IntPtr, Int32, Int32)

audo 파일에 패킷을 씁니다.

public int WritePackets (bool useCache, long startingPacket, AudioToolbox.AudioStreamPacketDescription[] packetDescriptions, IntPtr buffer, int byteCount, out int errorCode);
member this.WritePackets : bool * int64 * AudioToolbox.AudioStreamPacketDescription[] * nativeint * int *  -> int

매개 변수

useCache
Boolean

데이터를 캐시에 보관해야 하는지 여부입니다.

startingPacket
Int64

작성해야 하는 packetDescriptions의 시작 패킷입니다.

packetDescriptions
AudioStreamPacketDescription[]

버퍼의 내용을 설명하는 패킷 설명 배열입니다.

buffer
IntPtr

nativeint

byteCount
Int32
errorCode
Int32

반환

적용 대상

WritePackets(Boolean, Int64, AudioStreamPacketDescription[], Byte[], Int32, Int32, Int32)

audo 파일에 패킷을 씁니다.

public int WritePackets (bool useCache, long startingPacket, AudioToolbox.AudioStreamPacketDescription[] packetDescriptions, byte[] buffer, int offset, int byteCount, out int errorCode);
member this.WritePackets : bool * int64 * AudioToolbox.AudioStreamPacketDescription[] * byte[] * int * int *  -> int

매개 변수

useCache
Boolean

데이터를 캐시에 보관해야 하는지 여부입니다.

startingPacket
Int64

작성해야 하는 packetDescriptions의 시작 패킷입니다.

packetDescriptions
AudioStreamPacketDescription[]

버퍼의 내용을 설명하는 패킷 설명 배열입니다.

buffer
Byte[]
offset
Int32
byteCount
Int32
errorCode
Int32

반환

적용 대상