asrp_play_item()

Play the audio item at the specified configuration node.

Synopsis:

#include <asr/asrp.h>
 
asrp_processing_flags_t asrp_play_item(cfg_item_t *base, const char *item_path)

Arguments:

base

The configuration node to start at.

item_path

A '/' separated list of node names that leads to the required node.

Library:

libasr

Description:

The asrp_play_item() function resolves the specified configuration and path to a URL and then plays the audio file specified by the URL.

Returns:

Flags to indicate which, if any, prompts were rendered.