ioap_event_next()

Return the location of the next unread acoustic processing event.

Synopsis:


#include <acoustic/acoustic.h>

int ioap_event_next(_evt)
    (ioap_event_t*)IOAP_ROUNDUP8((char*)_evt + _evt->length) ;

Arguments:

_evt
Pointer to the next event to read.

Library:

libacoustic

Description:

The ioap_event_next() function returns a pointer to the location of the next unread acoustic processing event. Use this function to retrieve the next event in the event buffer returned by ioap_hf_read_events().

Returns:

>0
Success: a pointer to next valid event.
NULL
There are no more acoustic processing events to be read.

Errors:

n/a

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes