@Properties(inherit=nvcuvid.class) public class CUAUDIOFORMAT extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CUAUDIOFORMAT()
Default native constructor.
|
CUAUDIOFORMAT(long size)
Native array allocator.
|
CUAUDIOFORMAT(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
bitrate()
OUT: For uncompressed, can also be used to determine bits per sample
|
CUAUDIOFORMAT |
bitrate(int setter) |
int |
channels()
OUT: number of audio channels
|
CUAUDIOFORMAT |
channels(int setter) |
int |
codec()
OUT: Compression format
|
CUAUDIOFORMAT |
codec(int setter) |
CUAUDIOFORMAT |
getPointer(long i) |
CUAUDIOFORMAT |
position(long position) |
int |
reserved1()
Reserved for future use
|
CUAUDIOFORMAT |
reserved1(int setter) |
int |
reserved2()
Reserved for future use
|
CUAUDIOFORMAT |
reserved2(int setter) |
int |
samplespersec()
OUT: sampling frequency
|
CUAUDIOFORMAT |
samplespersec(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public CUAUDIOFORMAT()
public CUAUDIOFORMAT(long size)
Pointer.position(long)
.public CUAUDIOFORMAT(Pointer p)
Pointer(Pointer)
.public CUAUDIOFORMAT position(long position)
public CUAUDIOFORMAT getPointer(long i)
getPointer
in class Pointer
public CUAUDIOFORMAT codec(int setter)
public CUAUDIOFORMAT channels(int setter)
public CUAUDIOFORMAT samplespersec(int setter)
@Cast(value="unsigned int") public int bitrate()
public CUAUDIOFORMAT bitrate(int setter)
public CUAUDIOFORMAT reserved1(int setter)
public CUAUDIOFORMAT reserved2(int setter)
Copyright © 2024. All rights reserved.