13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CountVoiceNotesGetThresholdEventGetThresholdStatusOpenSoundSetSoundNoiseSetVoiceAccentSetVoiceEnvelopeSetVoiceNoteSetVoiceQueueSizeSetVoiceSoundSetVoiceThresholdStartSoundStopSoundSyncAIiVoicesWaitSoundStateReturns the number of notes in thespecified queue.Returns a long pointer to a threshold flag.Returns the threshold-event status for eachvoice.Opens the play device for exclusive use.Sets the source and duration of a noisefrom the play device.Places an accent in the voice queue.Places the voice envelope in the voicequeue.Places a note in the specified voice queue.Allocates a specified number of bytes forthe voice queue.Places the specified sound frequency anddurations in a voice queue.Sets the threshold level for a given voice.Starts playing each voice queue.Stops playing all voice queues and flushestheir contents.Places a sync mark in each voice queue.Waits until the play driver enters thespecified state.Utility macros and functionsUtility macros and functions return contents of words and bytes,create unsigned long integers and data structures, and performspecialized arithmetic. The following list briefly describes eachutility macro or function:FunctionHIBYTEHIWORDLOBYTELOWORDMAKEINTATOMMAKEINTRESOURCEMAKELONGMAKEPOINTDescriptionReturns the high-order byte of an integer.Returns the high-order word of a longinteger.Returns the low-order byte of an integer.Returns the low-order word of a longinteger.Casts an integer for use as a functionargument.Converts an integer value into a longpointer to a string, with the high-orderword of the long pointer set to zero.Creates an unsigned long integer.Converts a long value that contains the x­and y-coordinates of a point into a POINTdata structure.Chapter 3, System seNices interface functions143

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!