McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 346

↗ View in doc context
page
346
source
cucm/v15/tapi-dev-guide/tapi-dev-guide.md
chunk_id
cucm::v15::tapi-dev-guide::tapi-dev-guide::357

• CALLBACK_FUNCTION -The dwCallback parameter specifies a callback procedure address. • CALLBACK_NULL -No callback mechanism. This value specifies the default setting. • CALLBACK_THREAD -The dwCallback parameter represents a thread identifier. • CALLBACK_WINDOW -The dwCallback parameter specifies a window handle. • WAVE_ALLOWSYNC -If this flag is specified, a synchronous waveform-audio device can be opened. If this flag is not specified while a synchronous driver is opened, the device will fail to open. • WAVE_FORMAT_DIRECT -If this flag is specified, the ACM driver does not perform conversions on the audio data. • WAVE_FORMAT_QUERY -If this flag is specified, waveOutOpen queries the device to determine whether it supports the given format, but the device does not actually open. • WAVE_MAPPED -If this flag is specified, the uDeviceID parameter specifies a waveform-audio device to which the wave mapper maps. waveOutPrepareHeader The waveOutPrepareHeader function prepares a waveform-audio data block for playback. Function Details MMRESULT waveOutPrepareHeader( HWAVEOUT hwo, LPWAVEHDR pwh, UINT cbwh ); Parameters hwo Handle of the waveform-audio output device. pwh Address of a WAVEHDR structure that identifies the data block to be prepared. cbwh Size, in bytes, of the WAVEHDR structure. waveOutReset The waveOutReset function stops playback on the given waveform-audio output device and resets the current position to zero. All pending playback buffers get marked as done and get returned to the application. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 314 Basic TAPI Implementation waveOutPrepareHeader

Page 346 content