ado_pcm_dma_int_size()

Obtain the fragment size of a PCM channel

Synopsis:

#include <audio_driver.h>

uint32_t ado_pcm_dma_int_size (
            ado_pcm_config_t *config );

Arguments:

config
A pointer to the ado_pcm_config_t that describes the PCM channel.

Description:

The ado_pcm_dma_int_size() function returns the fragment size of the PCM channel given by the config structure config. This fragment size is the number of bytes to be transferred via DMA to or from the DMA buffer before an interrupt is signalled.

Returns:

The fragment size for the PCM DMA transfer.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes