typedef struct { VMWSTR filename; void* data; VMUINT32 data_len; VM_AUDIO_FORMAT format; VMINT8 reserved; VM_AUDIO_DEVICE output_path; VMBOOL async_mode; vm_audio_result_callback callback; void* user_data; } vm_audio_play_parameters_t;
typedef struct { VMWSTR filename; void* data; VMUINT32 data_len; VM_AUDIO_FORMAT format; VMINT8 reserved; VM_AUDIO_DEVICE output_path; VMBOOL async_mode; vm_audio_result_callback callback; void* user_data; } vm_audio_play_parameters_t;
open parameters
vmaudio_play.h
|
Members |
Description |
|
VMWSTR filename; |
File name of audio file, if playing from a data string, this should be set to NULL |
|
void* data; |
String data, if playing a file. Can be ignored if a file name is used |
|
VMUINT32 data_len; |
The length of string data. Can be ignored if a file name is used |
|
VM_AUDIO_FORMAT format; |
Audio format, please refer VM_AUDIO_FORMAT |
|
VMINT8 reserved; |
Reserved. Please set it to zero |
|
VM_AUDIO_DEVICE output_path; |
Output path. Uses VM_AUDIO_DEVICE_SPEAKER2 as a default setting |
|
VMBOOL async_mode; |
Async mode, if this is TRUE, play and stop will be asynchronous |
|
vm_audio_result_callback callback; |
Callback function |
|
void* user_data; |
User data |
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.