Partager via


Waveform Audio Functions (Compact 2013)

3/26/2014

The following functions are used by the wave API.

Programming element

Description

PlaySound

Plays a sound specified by a file name, resource, or system event.

sndPlaySound

Plays a waveform sound.

waveInAddBuffer

Sends an input buffer to the specified waveform-audio input device.

waveInClose

Closes the specified waveform-audio input device.

waveInGetDevCaps

Retrieves the capabilities of a specified waveform-audio input device.

waveInGetErrorText

Retrieves a textual description of the error identified by the specified error number.

waveInGetID

Gets the device identifier for the specified waveform-audio input device.

waveInGetNumDevs

Retrieves the number of waveform input devices present in the system.

waveInGetPosition

Retrieves the current input position of the specified waveform input device.

waveInGetProperty

Queries the value of a specific property in a property set for waveform audio input.

waveInMessage

Sends messages to the waveform output device drivers.

waveInOpen

Opens a specified waveform input device for recording.

waveInPrepareHeader

Prepares a buffer for waveform input.

waveInProc

Callback function used with the waveform-audio input device.

waveInReset

Stops input on a specified waveform input device and resets the current position to 0.

waveInSetProperty

Sets the value of a specific property in a property set for waveform audio input.

waveInStart

Starts input on the specified waveform input device.

waveInStop

Stops waveform input.

waveInUnprepareHeader

Cleans up the preparation performed by waveInPrepareHeader.

waveOutBreakLoop

Breaks a loop on a specified waveform output device.

waveOutClose

Closes the specified waveform output device.

waveOutGetDevCaps

Queries a specified waveform device to determine its capabilities.

waveOutGetErrorText

Retrieves a textual description of the error identified by the specified error number.

waveOutGetID

Gets the device identifier for a waveform output device.

waveOutGetNumDevs

Retrieves the number of waveform output devices present in the system.

waveOutGetPitch

Queries the current pitch setting of a waveform output device.

waveOutGetPlaybackRate

Queries the current playback rate setting of a waveform output device.

waveOutGetPosition

Retrieves the current playback position of the specified waveform output device.

waveOutGetProperty

Queries the value of a specific property in a property set for waveform audio output.

waveOutGetVolume

Queries the current volume setting of a waveform output device.

waveOutMessage

Sends messages to the waveform output device drivers.

waveOutOpen

Opens a specified waveform output device for playback.

waveOutPause

Pauses playback on a specified waveform output device.

waveOutProc

Callback function used with the waveform-audio output device.

waveOutPrepareHeader

Prepares a waveform data block for playback.

waveOutReset

Stops playback on a specified waveform output device and resets the current position to 0.

waveOutRestart

Restarts a paused waveform output device.

waveOutSetPitch

Sets the pitch of a waveform output device.

waveOutSetPlaybackRate

Sets the playback rate of a waveform output device.

waveOutSetProperty

Sets the value of a specific property in a property set for waveform audio output.

waveOutSetVolume

Sets the volume of a waveform output device.

waveOutUnprepareHeader

Cleans up the preparation performed by waveOutPrepareHeader.

waveOutWrite

Sends a data block to the specified waveform output device.

See Also

Reference

Waveform Audio Reference

Other Resources

Waveform Audio