src/include/sof/audio/dcblock/dcblock.h
/**
 * \brief Retrieves a DC Blocking processing function matching
 *	  the source buffer's frame format.
 * \param src_fmt the frames' format of the source buffer
 */
\brief Retrieves a DC Blocking processing function matching
the source buffer's frame format.
\param src_fmt the frames' format of the source buffer
\ brief Retrieves a DC Blocking processing function matching the source buffer ' s frame format . \ param src_fmt the frames ' format of the source buffer
static inline dcblock_func dcblock_find_func(enum sof_ipc_frame src_fmt)
{
	int i;
	for (i = 0; i < dcblock_fncount; i++) {
		if (src_fmt == dcblock_fnmap[i].src_fmt)
			return dcblock_fnmap[i].func;
	}
	return NULL;
}
static inline dcblock_func dcblock_find_func ( enum sof_ipc_frame src_fmt ) { int i ; for ( i = 0 ; i < dcblock_fncount ; i ++ ) { if ( src_fmt == dcblock_fnmap [ i ] . src_fmt ) return dcblock_fnmap [ i ] . func ; } return NULL ; }
\brief Retrieves a DC Blocking processing function matching
        the source buffer's frame format.
\ brief Retrieves a DC Blocking processing function matching the source buffer ' s frame format .
/* Find suitable processing function from map */