IDataExchangeHandlerTrait

Trait IDataExchangeHandlerTrait 

Source
pub trait IDataExchangeHandlerTrait {
    // Required methods
    unsafe fn openQueue(
        &self,
        processor: *mut IAudioProcessor,
        blockSize: uint32,
        numBlocks: uint32,
        alignment: uint32,
        userContextID: DataExchangeUserContextID,
        outID: *mut DataExchangeQueueID,
    ) -> tresult;
    unsafe fn closeQueue(&self, queueID: DataExchangeQueueID) -> tresult;
    unsafe fn lockBlock(
        &self,
        queueId: DataExchangeQueueID,
        block: *mut DataExchangeBlock,
    ) -> tresult;
    unsafe fn freeBlock(
        &self,
        queueId: DataExchangeQueueID,
        blockID: DataExchangeBlockID,
        sendToController: TBool,
    ) -> tresult;
}

Required Methods§

Source

unsafe fn openQueue( &self, processor: *mut IAudioProcessor, blockSize: uint32, numBlocks: uint32, alignment: uint32, userContextID: DataExchangeUserContextID, outID: *mut DataExchangeQueueID, ) -> tresult

Source

unsafe fn closeQueue(&self, queueID: DataExchangeQueueID) -> tresult

Source

unsafe fn lockBlock( &self, queueId: DataExchangeQueueID, block: *mut DataExchangeBlock, ) -> tresult

Source

unsafe fn freeBlock( &self, queueId: DataExchangeQueueID, blockID: DataExchangeBlockID, sendToController: TBool, ) -> tresult

Implementors§