OpenSpeech Browser

Getting Started
Architecture Description
Integration Guide

Copyright (c) 1998-2001 SpeechWorks International, Inc. All Rights Reserved.



typedef struct VXIapPlayListNode

Definition of a play list node, used to deliver a linked list of audio for playback

[more]VXIchar* contentType
MIME content type for the data being passed, even when the data is provided from a file.
[more]VXIchar* filePath
Full path to a local file that contains the content to present.
[more]VXIptr content
In-memory content to present.
[more]VXIlong contentLen
Length, in bytes, of the content to present.
[more]struct VXIapPlayListNode *previous
Previous node in the play list.
[more]struct VXIapPlayListNode *next
Next node in the play list.
[more]void (*Destroy)(struct VXIapPlayListNode** node)
Destructor to destroy the node.


Documentation

Definition of a play list node, used to deliver a linked list of audio for playback
oVXIchar* contentType
MIME content type for the data being passed, even when the data is provided from a file. Audio Player implementations must use this, not file extension mapping rules, to determine the audio type for playback. The supported MIME content types are determined by the Audio Player implementation.

oVXIchar* filePath
Full path to a local file that contains the content to present. NULL if in-memory content is being supplied instead (will be NULL for all streaming play operations).

oVXIptr content
In-memory content to present. NULL if a file path is being supplied instead.

oVXIlong contentLen
Length, in bytes, of the content to present. 0 if a file path is being supplied.

ostruct VXIapPlayListNode *previous
Previous node in the play list. NULL if this is the head of the list. The Audio Player implementation may freely modify this for its own purposes whenever it accepts the node by returning VXIap_RESULT_SUCCESS from TriggerPlay( ) or TriggerStreamingPlay( ).

ostruct VXIapPlayListNode *next
Next node in the play list. NULL if this is the end of the list. The Audio Player implementation may freely modify this for its own purposes whenever it accepts the node by returning VXIap_RESULT_SUCCESS from TriggerPlay( ) or TriggerStreamingPlay( ).

ovoid (*Destroy)(struct VXIapPlayListNode** node)
Destructor to destroy the node. The Audio Player implementation must call this destructor on each individual node in the linked list when it no longer requires the node, preferably as soon as the data is no longer required. Destruction of a node does NOT cause the destruction of the previous or next nodes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.