anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceSoundSource::SetData

Sets sound data.

C++
bool SetData(WAVEFORMATEX * pFormat, void * pData, int DataBytesCount, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
WAVEFORMATEX * pFormat 
[in] Pointer to a WAVEFORMATEX structure that describes pData format. 
void * pData 
[in] Sound binary data, without any header. 
int DataBytesCount 
[in] pData buffer bytes count. 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

true if the device received the command, false otherwise.

SetData sends a sound buffer (WAV format) to the device. The data is sent to the device over the network.

SetDataFromfile

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!