Home
ASX User Manual
Contents
1. 232 10 5 dual mono record mainc 235 TOG 222522252 255 239 22222 cook RE POS Y 244 RERO ue oum Poo eG Se BOR E GR 246 T09 playlist o DP m 249 lOrecord maine ex Xoyov Hox 254 JO Ilsystem mane os so po m eR y 257 10 12tuner main c 2225s oo GE m Roy Rs 258 19 13yolanie inaE uuo ho S EROS on Ee oom HS 262 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen Chapter 1 Main Page 11 ASX Reference Manual Table of contents Introduction Installation and Usage Coding Conventions Compiling applications that use the ASX interface Functions Example code Porting Applications from PCXTools Deprecated 1 2 Introduction ASX is an audio API designed to work on both Windows and Linux operating systems It is high level in that unlike say the Windows WAVE or Direct Sound APIs which are buffer based it deals with audio files At a lower level ASX supports the AudioScience HPI API Windows and Linux as well as WAVE and DirectSound Windows and ALSA Linux The API is a C function library This means it can be used from many languages including C C C Java Visual Basic and Delphi 2 Main Page Windows 2000 XP Linux Application Applica
2. 163 8 2 1 4 enumerated integer 163 BO GAMS 2 Soe ac lee ap GEA d b esr s 163 5l foals oc 2c o 9 oy oem 163 Bug 252 550 Ge Ga 163 34139 222252224225 eS 163 NAM MET S Tr 163 5 2110 22 55 022405055 EE 163 2555 Ge A ac 163 SalI MOC 222222220524 EE 163 163 Dads lilt exe D 163 KoA SUNG LC 163 TOE ECC 163 163 163 82 1 19 Vall e 22 163 8 3 asxParameterRangeInfo NamedEnumerated Struct Reference 164 83 1 Field Documentation 164 SOLI 164 BB Wali RUEDAS 164 8 4 asxParameterValue Struct Reference 164 841 Field Documentation 164 SALA CLE Oa ewe a 164 SIZE ee ee RL gt ES 164 Bad sp 455 o Rom Dae 164 8414 164 9 File Documentation 165 91 ach Pile ROBORE os 6 kg Rok oo ROGO OR GE a e 165 9 1 1 Define Documentation 199 DELLI RPU ooe eds Re ES 199 DELIS RPT 2 22 22 Bie 3G 200 9 1 1 3 ARRAY SIZE km o9 200 ASXSZ AP 22 2212 200 9 1 1 5 ASX LONG STRING 200 9 1 1 6 5 LONGLONG STRING 200
3. printf Press ENTER to exit n getchar ASX System Delete hSystem return 0 void PrintControlName ASX HANDLE hControl char pszName int nLen enum asxCONTROL eControl ASX Control GetType hControl amp eControl ASXSTRING EnumToString eControl 0 0 amp nLen pszName char malloc nLen ASXSTRING_EnumToString eControl pszName nLen amp nLen printf Control s n pszName free pszName int CheckError ASX HANDLE hObj int nLine nt nError nt asxSubSystemErrorCode 0 ar pszAsxErrorString ar pszAsxSubSystemErrorString nt nLenl nLen2 i i ch ch i ASX Error GetLast hObj amp nError amp asxSubSystemErrorCode if nError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorString char malloc nLenl pszAsxSubSystemErrorString char malloc nLen2 ASX_Error_GetLastString hObj pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf Error d s Subsystem Error ld s Mn nError pszAsxErrorString asxSubSystemErrorCode pszAsxSubSystemErrorString printf When called from source s line dWMn FILE nLine printf Press ENTER to exit n getchar free pszAsxErrorString free pszAsxSubSystemErrorString ASX System Delete hSystem exit 1 return 1 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 5 dual_mono_record main c 235
4. 70 71025 ASX Recorder GetState 71 7 10 2 6 ASX_Recorder_Open 71 71027 ASX Recorder Pause 2 e656 6 ne ha ee 72 7 40 2 8 ASX Recorder Start 72 710 29 ASX _ MOD uuo RR RR ER 72 TAL Meter control functions lt s ssa e rreo eer e 73 7 111 Detailed Description 73 7 11 2 Function Documentation 73 7 11 2 1 ASX Meter 73 7 11 2 2 ASX Meter_GetChannels 74 FAL23 ASX Meter GetPeak 74 7 11 24 ASX_Meter_GetRMS 2 4 75 Generated Thu Dec 17 2015 10 17 26 for ASX by Doxygen CONTENTS 7 12 7 13 7 14 7 15 7 16 7 11 2 5 5 Meter SetBallistics 75 Volume control functions 76 3121 Detailed Description 2 2 2 2 22 77 7 12 2 Function Documentation TT 7 12 2 1 ASX _Volume_GetChannels 77 71222 ASX Volume 78 7 12 2222 ASX Volume 78 7 12 24 ASX Volume GetRange 78 7 12 2 5 ASX Volume SetAutofade 79 7 12 2 6 ASX Volume SetGain 79 71227 5 Volume SetMut 80 Level control functions 80 7 13 1 Detailed Description 22 80 7 13 2 Function Documentation 80 2432
5. pUserl A user defined pointer that is passed back when a callback is made Examples playlist main c 7 9 2 16 5 32 ASX ERROR ASX Player SetLoopMode ASX_HANDLE hPlayer const int nLooping Set the player to loop or single play mode Parameters hPlayer A handle to an ASX player control object nLooping for looping 0 for single play Returns Returns 0 if there is no error otherwise one of asxERROR is returned Returns asxXERROR INDEX OUT OF RANGE if the buffer is too small 7 9 2 17 5 32 ASX ERROR ASX Player SetPosition ASX HANDLE hPlayer const enum asx TIMESCALE nType const unsigned long Position Sets the playback to the given position Parameters hPlayer handle to an ASX player control object nType units of IPosition see asx TIMESCALE Pesition The poesition playbael from Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 66 Module Documentation Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 9 2 18 5 32 ASX ERROR ASX_Player_SetTimeScale ASX HANDLE hPlayer const float fTimeScale Set the playback timescale This function allows the user to adjust the time a file takes to playback without affecting the pitch Time scale range is 0 8 1 2 80 to 0120906 of original file time Note This function is only supported on the
6. eLog The error logging level to set Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples play main c 7 2 1 14 ASX32 int ASX System SupportsSubSystem const int asxSystemType Query ASX library for subsystem support Indicate if this instance of ASX library supports the given subsystem type Parameters asxSystem The ASX system type to query One of SubSystem types defines above Type Returns 1 if asxSystemType type supported 0 if asxSystemType is not supported 7 3 Handle functions The error functions operate on all ASX objects to collect report and clear errors Functions e ASX32_API enum asxXHANDLE TYPE ASX Handle GetType ASX HANDLE hHandle Get the handle type 7 3 1 Detailed Description The error functions operate on all ASX objects to collect report and clear errors Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 30 Module Documentation 7 3 2 Function Documentation 7 3 2 1 ASX32 enum asxHANDLE TYPE ASX Handle GetType ASX HANDLE hHandle Get the handle type Parameters hHandle A handle to any type of ASX object Returns Returns one of asHANDLE TYPE 7 4 Error functions The error functions operate on all ASX objects to collect report and clear errors Functions ASX Error GetLast Get the last error e ASX Error GetLastString Get the last er
7. Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 19 AESEBU receiver control functions 109 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 718 213 ASX32 ASX ERROR ASX SampleClock SetSampleRate HANDLE hSampleClock const int nSampleRate Deprecated This function has been superseded by ASX SampleClock SetLocalRate 7 19 AESEBU receiver control functions These functions implement AESEBU receiver operations Functions ASX AESEBUReceiver GetErrorStatus Get the status of the AESEBU receiver e 5 AESEBUReceiver GetSampleRate Get the sample rate of the AESEBU receiver ASX AESEBUReceiver EnumerateFormat Enumerate each AES3 receive format supported by the hardware 5 AESEBUReceiver SetFormat Set the format of the AESEBU receiver ASX AESEBUReceiver GetFormat Get the format of the AESEBU receiver 7 19 1 Detailed Description These functions implement AESEBU receiver operations 7 19 2 Function Documentation 7 19 21 5 32 ASX ERROR ASX AESEBUReceiver EnumerateFormat ASX HANDLE hAESEBURx const int nindex enum asxXAESEBU FORMAT peAesebuFormat int x pnCount Enumerate each AES3 receive format supported by the hardware Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 110 Module Documentation Parameters hAESE BURx A handle to an ASX AESEBU receiver control nIndex The in
8. Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 18 2 3 ASX32 ERROR 5 SampleClock EnumerateSampleRate ASX HANDLE hSampleClock const int nindex enum asxXSAMPLE RATE peSampleRate int x pnCount Deprecated This function has been superseded by 5 SampleClock EnumerateLocalRate Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 106 Module Documentation 7 18 24 5 32 ASX ERROR ASX_SampleClock_GetAutoSource ASX HANDLE hSampleClock int pnEnable Get the setting of the auto source property of the sample clock Parameters hSample Clock A handle to an ASX sample clock control xpnEnable Returns 1 if enabled or 0 if not Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 18 25 5 32 ERROR ASX SampleClock GetClockSource ASX HANDLE hSampleClock enum asxXSAMPLE CLOCK SOURCE peClockSource Get the sample clock source Parameters hSample Clock A handle to an ASX sample clock control peClock Source The returned sample clock source Returns Returns 0 if there is no error otherwise one of asxERROR is returned 718 26 5 32 ERROR ASX SampleClock GetLocalRate ASX HANDLE hSampleClock int pnSampleRate Get the sample rate for the local sample clock generator Parameters hSample Clock A h
9. S eee be ee cle ee S 55 Detailed Description o recre e eto aeai m xs 57 7 9 2 Function 58 1921 ASX Player Close 2 99 R9 58 7 9 2 2 ASX_Player_Format_GetDetails 59 7 9 2 3 ASX_Player_Format_GetString 59 7 9 24 ASX_Player_GetFilename 59 7 9 2 5 ASX_Player_GetLoopMode 60 79 2 6 ASX Player GetPosition 60 7822 ASX Player 2 os or Rr 61 7 9 2 8 ASX_Player_GetTimeScale 61 7828 ASX Player e Ro we aaa 61 79210 ASX Player OpenPlayhst 62 Pell ASX Player Pause 2 Ex 63 7 9 2 12 ASX Player PlaylistStatus 63 7 9 2 13 ASX Player PlaylistWait 64 792 14 ASX Player PreLo d 64 7 9 2 15 ASX Player RegisterCallback 65 7 9 2 16 ASX_Player_SetLoopMode 65 7 9 2 17 ASX Player SetPosiion 65 7 9 2 18 ASX Player SetTimeSeale 2 66 19 219 ASX Player 2 see mE RR Roe 66 79 2 20 BAX Player Step cs ee a s 66 792 2 ASX Player Walt zc XA 67 7 10 Recorder control fwmctianis p p s csl oo y oS 67 2101 Detailed Description 2 2A 68 7 10 2 Function Documentation 69 11021 ASX Recorder Clos 222 2224 69 7 10 2 2 ASX Recorder EnumerateFormat 70 7 10 2 3 5 Recorder GetFilename 70 7 10 24 _Recorder_GetPosition
10. ASX_ERROR ASX Mixer GetSourceNodeCount ASX_HANDLE hMixer int pnCount This function returns the nunber of source nodes in the mixer Parameters hMixer A handle to an ASX mixer object pnCount The retuned number of source nodes Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c and mixer main c 7 6 2 12 5 32 ASX_ERROR ASX_Mixer_ResetControls ASX HANDLE hMixer This function sets all the controls in the mixer to a known state SampleClock is set to Local and 44 1kHz Volume controls on a single node are set to 0dB Channel Modes are set to Normal Volume controls between a src and dest node are set to OdB if the node indexes match otherwise 100db Multiplexers are set to LineIn Level controls are set to 14dBu VOX control set to 100dB off Parameters hMixer A handle to an ASX mixer object Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 50 Module Documentation 7 7 Node functions The node functions are used to access nodes objects Functions ASX_Node_GetType Returns the node type of the given node ASX_Node_GetIndex Returns the index of the given node ASX_Node_GetLocation Returns the location of the given node in terms of module slots and position on the module tha
11. Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples play main c 7 10 Recorder control functions These functions support file recording Functions ASX Recorder Open Opens the recorder using the specified format ASX Recorder Start Starts the recording ASX Recorder Stop Stops the recording ASX Recorder Pause Pauses the recording Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 68 Module Documentation ASX_Recorder_Close Closes the recording file ASX_Recorder_GetPosition Gets the current record position ASX_Recorder_GetState Get the current record state ASX_Recorder_GetFilename Get the current filename if any ASX Recorder EnumerateFormat Enumerates supported recorder formats 7 10 1 Detailed Description These functions support file recording Formats supported for recording in this ver sion asxFILE FORMAT WAV _RAW Filename Extension _ 8 or PCMI6 supported write only _PCM24 or PCM32 supported write only PCM32 FLOAT supported write only MPEG L2 supported supported MPEG L3 supported supported MPEG AACPLUS not supported yet not supported yet _DOLBY_AC2 not supported yet not supported yet Note A file recorded using MPEG L2 or MPEG L3 data format and the RAW file format will comply with the standard for MP3 files since the add
12. Ss n n szBuffer 5 hPAD szBuffer sizeof szBuffer n szBuffer PAD szBuffer sizeof szBuffer if asxError asxERROR_NO_ERRO printf PAD Title comment asxError CheckError hMixer ASX_PAD_GetComment LINE 0 R sNn szBuffer hPAD szBuffer sizeof szBuffer if asxError asxERROR_NO_ERROR printf PAD Comment printf DONE n printf Press ENTER to exit n getchar ASX System Delete hSystem return 0 void PrintControlName ASX HANDLE hCon char pszName s n szBuffer trol Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 262 Example Documentation int int nLen enum asxCONTROL eControl ASX Control GetType hControl amp eControl ASXSTRING EnumToString eControl 0 0 amp nLen pszName char malloc nLen ASXSTRING_EnumToString eControl pszName nLen amp nLen printf Control s n pszName free pszName CheckError ASX HANDLE hObj const int nLine const int nExitOnError nt nError nt asxSubSystemErrorCode 0 ar pszAsxErrorString ar pszAsxSubSystemErrorString nt nLenl nLen2 ASX Error GetLast hObj amp nError amp asxSubSystemErrorCode if nError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorString char 11 nLen1 pszAsxSubSystemErrorString char malloc nLen2 ASX Error GetLastString hObj
13. hTuner A handle to an ASX tuner control dwServiceld unsigned long to return the DAB audio service Id Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 12 5 32 ERROR ASX Tuner GetDeemphasis ASX HANDLE hT uner enum asxXTUNERDEEMPHASIS peDeemphasis Get tuner de emphasis Parameters hTuner A handle to an ASX tuner control peDeempha The returned de emphasis value sis Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 92 Module Documentation Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 13 5 32 ASX_ERROR ASX Tuner GetDigitalSignalQuality ASX HANDLE htTuner int x pnSignalQuality Get digital signal quality The API supports HDRadio in the USA and DAB elsewhere Parameters hTuner A handle to an ASX tuner control the returned signal quality between O poor 6 excellent pnSignalQual ity Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 14 5 32 ASX_ERROR ASX Tuner GetFirmwareVersion ASX HANDLE htTuner char szFirmwareVersion const int nStringLength Get a Firmware version string Parameters hTuner A handle to an ASX tuner control szFirmware the returned FW Version string Version length of string being passed in nStringLengt
14. peProgram The returned program setting Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 96 Module Documentation Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 25 5 32 ASX_ERROR ASX_Tuner_GetRawRFLevel ASX_HANDLE htTuner int nRawRFLevel Get the Raw tuner RF level Parameters hTuner A handle to an ASX tuner control nRawR The returned Raw level in whatever units the tuner supports FLevel Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 26 5 32 ASX_ERROR ASX_Tuner_GetRFLevel ASX_HANDLE float nRFLevel Get the tuner RF level Parameters hTuner A handle to an ASX tuner control nRFLevel The returned RF level in dBuV Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 7 16 2 27 5 32 ASX_ERROR ASX_Tuner_GetStatus ASX HANDLE unsigned int puErrorStatusMask unsigned int puErrorStatus Get the tuner status This function gets the tuner status and indicates which bits are valid for the current status reading Parameters hTuner A handle to an ASX tuner control Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 16 Tuner control functions 97 puErrorSta The returned status mas
15. 7 12 2 5 5 32 5 ERROR ASX_Volume_SetAutofade ASX HANDLE hVolume const float fSetdB const int nChannels const ASX TIME nDuration const enum asx VOLUME_AUTOFADE eProfile Set an autofade operation This function commands the adapter to automatically fade the volume to the specified volume setting The autofade operation begins when the command is issued Parameters hVolume A handle to an ASX volume control fSetdB The target gain in dBFS i e OdB is fullscale nChannels The number of channels This should match the number of elements in the fGetGain array nDuration The duration in milliseconds eProfile The fading profile See asx VOLUME_AUTOFADE ASI adapters sup port asxVOLUME AUTOFADE LINEAR Returns Returns 0 if there is no error otherwise one of asxERROR is returned 712 26 2 5 ERROR ASX Volume SetGain ASX HANDLE float fSetdB const int nChannels Set volume Parameters hVolume A handle to an ASX volume control fSetdB The gain to set in dBFS i e OdB is fullscale nChannels The number of channels This should match the number of elements in the fSetGain array Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples dual mono play main c and volume main c Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 80 Module Docu
16. ASX ERROR ASX ChannelMode Set ASX HANDLE hMode const enum asxCHANNELMODE eMode Set the current channel mode ASX32 APIASX ERROR ASX Tuner EnumerateBand 5 HANDLE hTuner const int nIndex enum asx TUNERBAND int pnCount Enumerate each tuner band option ASX32_API ASX_ERROR ASX Tuner GetBand ASX HANDLE hTuner enum asx TUNERBAND Get the tuner band ASX32_API ASX_ERROR ASX_Tuner_SetBand ASX_HANDLE hTuner const enum asx TUNERBAND eBand Set the tuner band ASX32 APIASX ERROR ASX Tuner SetFrequency ASX HANDLE hTuner const unsigned long nFreq Set the tuner frequency ASX32 APIASX ERROR ASX Tuner GetFrequency ASX HANDLE hTuner unsigned long plFreq Get the tuner frequency ASX32 APIASX ERROR ASX Tuner GetFrequencyRange ASX HANDLE hTuner const enum asx TUNERBAND eBand unsigned long unsigned long plMax unsigned long xplStep Get the tuner frequency range in Hz Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 186 File Documentation ASX32 APIASX ERROR ASX Tuner GetGainRange ASX_HANDLE hTuner float fMin float fMax float fStep Get the tuner gain range in dB 5 32 APIASX ERROR ASX Tuner SetGain 5 HANDLE hTuner const float f TunerGain Set the tuner gain ASX32 APIASX ERROR ASX Tuner GetGain ASX HANDLE hTuner float xpfTunerGain Get the tuner gain ASX32 APIASX ERROR ASX Tuner GetRFLevel ASX HANDLE hTun
17. ASX ERROR ASX Recorder Open ASX HANDLE hhecorder const char pszFile const enum asxFILE FORMAT nFileType const enum asxFILE MODE nFileMode const int nChannels const enum asxXAUDIO FORMAT nFormat const long ISampleRate const long Bitrate const enum asxRECORD MODE nMode Opens the recorder using the specified format Parameters hRecorder A handle to an ASX recorder object pszFile The name of the file to be opened nFileType File format This specifies the header information if any to be placed on the audio file See asxFILE FORMAT for the complete range of formats nFileMode Sets the mode for opening an existing file for recording See asxFILE MODE nChannels The number of channels Currently either 1 or 2 channels are supported nFormat Audio format is used to specified the format of the recorded samples See asxAUDIO FORMAT for a complete list of formats Note that not all for mats are supported on all adapters so it is important to check for errors after making this call ISampleRate The sample rate should be set to 8000 192000 Hz Note that some adapters do not support all sample rates so it is important to check for errors after making this call Bitrate Bitrate 8000 to 384000 bps MPEG only nMode Recording mode applies to MPEG only See asxRECORD MODE Returns Returns 0 if there is no error otherwise one of asxERROR is returne
18. Examples adapter main c cobranet main c dual mono play main c dual mono record main c mixer main c mux main c play main c playlist main c record main c system main c tuner main c and volume main c 7 4 2 3 5 32 ERROR ASX Error GetLastString ASX HANDLE hASXObject char pszAsxErrorString const int nAsxErrorStringLength int x pnRequiredAsxErrorStringLength char pszAsxSubSystemErrorString const int nAsxSubSystemErrorStringLength int pnRequiredAsxSubSystemErrorStringLength Get the last error string information This function returns error information for the last error generated by hASXObject Note that errors are automatically cleared the next time any operation is performed using hASXObject Parameters Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 32 Module Documentation hASXObject The ASX object handle that generated the error This can be any ASX object pszAsxEr The returned ASX error string If this parameter is set to 0 it will be ig rorString nored nAsxEr The length of pszAsxErrorString on bytes rorStringLeng The required length of pszAsxErrorString in bytes quiredAsx Er rorStringLeng pszAsxSub The returned SubSystem error string This string will describe an HPI error SystemEr if the HPI subsystem is being used or a MMSYSTEM error if MMSYS rorString TEM is being use If this paramete
19. SOURCE OUT 212 asxNODE SDI IN 212 asxNODE SDI OUT 212 asxNODE SPEAKER OUT 212 asxNODE TUNER IN 211 FLAG READABLE 219 FLAG VOLATILE 219 FLAG WRITEABLE 219 lt RANGE ENUMERATED asxPLAYER DONE 213 asxPLAYER FILE COMPLETE 212 asxPLAYER FILE START 212 asxPLAYER FILELIST COMPLETE 212 asxPLAYER INIT 213 asxPLAYER OPEN 213 asxPLAYER PAUSED 213 asxPLAYER PREFILL 213 asxPLAYER RUNNING 213 asxPLAYER FLAGS 212 asxPLAYER STATE 212 asxRECORD MODE DONT CARE 213 asxRECORD MODE DUAL MONO 213 asxRECORD MODE JOINT STEREO 219 asxRECORD MODE MONO 213 asxRECORD MODE STEREO 213 asxRECORD 213 asxRECORDER DESTROY 213 asxRECORDER DONE 213 220 asxRECORDER INIT 213 asxPARAM RANGE ENUMERATED asxRECORDER OPEN 213 FLOAT 220 asxRECORDER PAUSED 213 asxPARAM RANGE ENUMERATED INTEGER 220 asxRECORDER RUNNING 213 asxRECORDER STATE 213 lt RANGE NONE 220 asxSAMPLE CLOCK SOURCE ADAPTER asxPARAM RANGE NUMBER OF 214 BITS 220 asxSAMPLE_CLOCK SOURCE AESEBUAUTO asxPARAM RANGE STEPPED FLOAT 214 220 asxSAMPLE CLOCK SOURCE AESEBUINPUTI RANGE STEPPED INTEGER 214 220 asxSAMPLE CLOCK SOURCE AESEBUINPUT I0 asxPARAM RANGE STRING LENGTH 214 220 asxSAMPLE CLOCK SOURCE AESEBUINPUTI1 BOOLEAN 219 214 asxPARAM_TYPE_DOUBLE 219 asxSAMPLE CLOCK
20. eek e e Bae oS 22 7 2 1 Function Documentation 23 ASX System Create su zh tr 23 7 2 1 2 5 System CreateSubSystem 23 7 213 ASX System 24 7 21 4 ASX_System_GetAdapter 24 7 2 1 5 ASX_System_GetAdapterCount 25 7 2 1 6 ASX_System_GetCobranetAutoassignParms 25 7 2 1 7 ASX System GetMessageLogging 25 7 2 1 8 5 System 26 7218 ASX System 26 7 2 1 10 ASX System RegisterErrorCallback 27 7 2 1 11 ASX_System_SetCobranetAutoassignParms 28 7 2 1 12 ASX_System_SetHostNetworkInterface 28 7 2 1 13 ASX System SetMessageLogging 28 7 2 1 14 ASX System SupportsSubSystem 29 PuDGDODS 222522222254 29 Tad Detaled DescnpioH 29 506 2552 29 T32 Paucton Documentation 223 6 4 oom oh 30 7 3 21 ASX Handle GetType 30 3 4 Breorfunelon amp s lt s ess romere deete k eaa yy 30 341 Detailed Description 2 2 2 222 22 30 7 42 Function Documentation 30 TAAI Eror LISSE 222222255552 224 30 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen CONTENTS iii 7 4 22 ASX Error GetLast spasao reo rera 31 74 2 3 ASX_Error_GetLastString 31 JAdapterfonoDonS 2 sos e Rehd ee 32 751 Detai
21. free pszAsxErrorString free pszAsxSubSystemErrorString ASX System Delete hSystem exit 1 return 1 CheckErrorNonTerminal ASX HANDLE hObj int nLine ASX ERROR nError int asxSubSystemErrorCode 0 char xpszAsxErrorString char pszAsxSubSystemErrorString int nLenl nLen2 ASX Error GetLast hObj amp nError amp asxSubSystemErrorCode if nError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorString char 11 nLenl pszAsxSubSystemErrorString char malloc nLen2 ASX Error GetLastString hObj pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf WARNING d s Skipping n n nError pszAsxErrorString Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 244 Example Documentation ASX_Error_Clear hObj return 1 10 7 mux main c This is an example of how to use the ASX multiplexer control SHeader home eliot asi repo cvsrepo Repository apps asx examples mux main c v 1 5 2004 08 11 14 13 36 as age Exp include stdio h include stdlib h include asx h include asxstring h int CheckError ASX HANDLE hObj int nLine void PrintControlName ASX HANDLE hControl ASX HANDLE hSystem 0 int main int argc char argv char xpszName ASX_HANDLE hAdapter ASX_HANDLE hMixer ASX_HANDLE hMux ASX_ERROR asxError int nAdapterToUse 0 enum asxNODE eNode
22. nError pszAsxErrorString asxSubSystemErrorCode pszAsxSubSystemErrorString Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 2 cobranet main c 225 printf When called from source s line dWMn FILE nLine printf Press ENTER to exit n getchar free pszAsxErrorString free pszAsxSubSystemErrorString ASX System Delete hSystem exit 1 return 1 10 2 cobranet main c This is an example of how to use the ASX CobraNet functions Header home eliot asi repo cvsrepo Repository apps asx examples cobranet ma in c v 1 6 2010 01 11 21 50 06 as age Exp include stdio h include stdlib n include windows h include asx h include asxstring h int CheckError ASX HANDLE hObj int nLine int CheckErrorNonTerminal ASX HANDLE hObj int nLine void PrintNodeName ASX HANDLE hNode void PrintControlName ASX HANDLE hControl void PrintMeterReadings ASX HANDLE hMixer ASX HANDLE hControl ASX HANDLE FindSnmpCobranetControl ASX HANDLE hMixer ASX HANDLE hSystem int main int argc char argv char pszName ASX HANDLE hAdapter ASX HANDLE hMixer ASX HANDLE hNode ASX HANDLE hControl hCobraNetControl hMeterControl ASX ERROR asxError int nAdapterToUse 0 int i j nLen nNodes nControls nAdapters unsigned int nBundle unsigned int nMap 8 unsigned int nCount make sure ASX system handle is NULL hSystem NULL set the address of
23. nSubSys temVersion Length The length in bytes of pszSubSystem Version pnRequired SubSys temVersion Length The minimum required length in bytes of pszSubSystemVersion Note This function can be called with string pointers set to zero to determine the size of strings to allocate Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples system main c 7 2 1 10 5 32 ERROR ASX System RegisterErrorCallback ASX HANDLE ERROR CALLBACK pCallback void pUser1 void pUser2 Register a callback function that should be called when an error is detected Note that using this function is optional ASX GetLast can be used after each call or the error return value of each call may be checked The callback function itself should use ASX Error GetLast to figure out what error was actually generated Parameters hSystem A handle to an ASX system object pCallback A pointer to a callback of type ASX ERROR CALLBACK pUserl A user defined pointer that is passed back when an error occurs pUser2 A user defined pointer that is passed back when an error occurs Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 28 Module Documentation Note An error of type asxERROR_INVALID_CONTROL_ATTRIBUTE returned by control operations that attempt to accesses functionalit
24. ASX HANDLE hLevel float fMinGain float fMaxGain float fGainStep Get that range of level settings available Parameters hLevel A handle to an ASX level control fMinGain The returned minimum gain in dBFS i e OdB is fullscale fMaxGain The returned maximum gain in dBFS i e OdB is fullscale fGainStep The returned gain stepsize in dB Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 13 2 3 5 32 ERROR ASX Level Set ASX HANDLE hLevel const float fGain Set the analog input or output level sometimes called trim Parameters hLevel A handle to an ASX level control fGain The level to set The level has the units of dBu The typical range of settings for most AudioScience adapters is 10 to 26 dBu Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 14 Multiplexer control functions These functions support multiplexer type operations Functions ASX Multiplexer Enumerate Enumerate each multiplexer option ASX Multiplexer Get Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 82 Module Documentation Get the current multiplexer setting ASX Multiplexer Set Set the multiplexer 7 14 1 Detailed Description These functions support multiplexer type operations 7 14 2 Function Documentation 7 4 41 ASX32 ASX ERR
25. ASX32 APIASX ERROR ASX_Cobranet_GetConductorPriority ASX HANDLE hCobranet unsigned int pnPriority Gets a device s conductor priority ASX32 APIASX ERROR ASX_Cobranet_SetConductorPriority 5 HANDLE hCobranet const unsigned int nPriority Sets a device s conductor priority Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 195 ASX32_API ASX_ERROR ASX_Cobranet_GetConductorStatus ASX HANDLE hCobranet unsigned int pnState Gets a device s conductor status ASX32_API ASX_ERROR ASX_Cobranet_SetSerialEnable ASX_HANDLE hCobranet const int nOnOff Enable or disable a device s serial bridge ASX32_API ASX_ERROR ASX_Cobranet_GetSerialEnable ASX_HANDLE hCobranet int xpOnOff Gets a device s serial bridge status ASX32 ASX ERROR 5 Cobranet SetSerialConfig ASX HANDLE hCobranet const unsigned int nBaud const unsigned int nPPeriod const char pRxMAC 6 const int nAcceptUnicast const char pTXMAC 6 Configures a device s serial bridge ASX32 ASX ERROR 5 Cobranet GetSerialConfig ASX HANDLE hCobranet unsigned int pnBaud unsigned int pnPPeriod char pRxMAC 6 int xpnAcceptUnicast char pTXMAC 6 Gets a device s serial bridge configuration ASX32_API ASX_ERROR ASX Cobranet GetlfStatus ASX HANDLE hCo branet unsigned int pnCurrentlf unsigned int pnPrimaryLinkStatus unsigned int pnSecondaryLinkStatus Gets a device s ethernet connect
26. ASX_ERROR ASX_HANDLE hParmEq const unsigned short windex enum asxEQBANDTYPE peType unsigned long pdwFrequencyHz short x pnQ100 short 0 01dB Gets the parameters for an equalizer band Parameters hParmEq handle to an ASX Parametric Equalizer control object wIndex Zero based index of the band should be between zero and nBands 1 where nBands is the number of bands from call to 5 EQ GetInfo peType Receives the type of the band pdwFre Receives the cutoff for high lo types or center frequency for band types quencyHz pnQ100 Receives the sharpness for high lo types or bandwidth for band types Value can be positive or negative and is given in hundreths nQ100 72 means 0 72 pnGainO Receives the gain for equalizer high shelf and low shelf filter types Value O1dB can be positive or negative 0 is unity gain and is given in hundreths Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 25 2 5 32 ERROR ASX EQ Getlnfo ASX HANDLE hParmEq unsigned short x pwNumberOfBands unsigned short pwEnabled Gets information on the equalizer Parameters hParmEq A handle to an ASX Parametric Equalizer control object Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 120 Module Documentation pwNum berOfBands Receiv
27. ASX_SampleClock_GetLocalRateLock Get the setting of the local sample clock lock 7 18 1 Detailed Description These functions implement sample clock operations that manipulate the adapter s sam ple clock generation Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 18 Sample clock control functions 105 7 18 2 Function Documentation 7 18 21 5 32 ASX ERROR ASX SampleClock EnumerateClockSource ASX HANDLE hSampleClock const int nindex enum asxXSAMPLE CLOCK SOURCE peClockSource int x pnCount Enumerate each sample clock source option Parameters hSample A handle to an ASX sample clock control Clock nIndex The index of the sample clock source option to fetch peClock The returned sample clock source option Source pnCount The total number of available sample clock sources Returns Returns 0 if there is no error otherwise one of asxERROR is returned 718 22 5 32 ERROR ASX SampleClock EnumerateLocalRate ASX HANDLE hSampleClock const int nindex enum asxXSAMPLE peSampleRate int x pnCount Enumerate each sample clock rates for the local sample clock generator Parameters hSample A handle to an ASX sample clock control Clock nIndex The index of the sample clock rate option to fetch peSampleR The returned sample rate option ate pnCount The total number of available sample rates
28. The length on the string pointed to be szName tringLength uParameter number of parameters it has Count Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 32 Block functions 157 7 32 22 5 32 ASX_ERROR ASX_Block_Parameter_Get ASX_HANDLE hBlock const unsigned int uParameterindex struct asxParameter Value data Gets a parameter s value field Parameters hBlock A handle to an ASX block uParame terIndex The index of the parameter of interest data The data to get from the parameter See asxParameterValue Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 32 2 3 5 32 5 ERROR ASX Block Parameter GetElementCount ASX HANDLE hBlock const unsigned int uParameterindex unsigned int uCount Gets the number of elements Parameters hBlock handle to an ASX block uParame terIndex The index of the parameter of interest uCount Returned element count Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 32 24 5 32 ASX ERROR ASX_Block_Parameter_GetEnumName ASX HANDLE hBlock const unsigned int uParameterindex const unsigned int uEnumltem char szEnumName const unsigned int uStringLength Gets the enumerated na
29. ar pszAsxSubSystemErrorString nt nLenl nLen2 ASX Error GetLast hObj amp nError amp asxSubSystemErrorCode if nError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorString char 11 nLen1 pszAsxSubSystemErrorString char malloc nLen2 ASX Error GetLastString hObj pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf Error d 5 Subsystem Error ld s n nError pszAsxErrorString asxSubSystemErrorCode pszAsxSubSystemErrorString Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 6 mixer main c 239 printf When called from source 55 line dWMn FILE nLine printf Press ENTER to exit n getchar free pszAsxErrorString free pszAsxSubSystemErrorString ASX System Delete hSystem exit 1 return 1 10 6 mixer main c This is an example of how to use the ASX Mixer functions Header home eliot asi repo cvsrepo Repository apps asx examples mixer main c v 1 8 2011 03 01 14 26 48 as age Exp include stdio h include stdlib n include asx h include asxstring h int CheckError ASX HANDLE hObj int nLine int CheckErrorNonTerminal ASX HANDLE hObj int nLine void PrintNodeName ASX HANDLE hNode void PrintControlName ASX HANDLE hControl ASX HANDLE hSystem 0 int main int argc char argv char pszName char szString 256 AS
30. enum asxERROR NO ERROR 0 ASXOBJECT 256 INDEX OUT OF RANGE 257 asxXERROR UNIMPLEMENTED 258 COMMUNICATING WITH DEVICE 259 STARTING DEVICE 260 asxXERROR NOT OPEN 261 ALREADY OPEN 262 asxERROR_INVALID_FORMAT 263 asxxERROR_INTERNAL_BUFFERING_ ERROR 264 askxERROR_AES18 265 asXERROR INVALID OPERATION 266 asxERROR_ENUMERATE_INDEX_OUT_OF_RANGE 267 asxERROR_ BUFFER_TOO_SMALL 268 asxERROR_OUTOFMEMORY 269 DEPRECATED 270 asxERROR_TOO_MANY_CLIENTS 271 COBRANET NODE NOT FOUND 272 asxERROR COBRANET NODE FOUND 273 NO IP ADDRESSES AVAILABLE 274 asxERROR IP ASSIGNED 275 asxERROR CHANGED 276 asXERROR IP AUTOASSIGN DISABLED 277 asxXERROR PCAP ERROR 278 DISCO DLL NOT FOUND 279 asxXERROR HOST NOT FOUND 280 COBRANET NODE UNREACHABLE 281 DUPLICATE ADAPTER INDEX 282 asxERROR INVALID CONTROL 304 asXERROR INVALID CONTROL VALUE 305 asxXERROR INVALID CONTROL FOUND 306 INVALID NUMBER OF CHANNELS 307 asxERROR INVALID CONTROL ATTRIBUTE 308 UNSUPPORTED CONTROL ATTRIBUTE 309 asXERROR INVALID CONTROL OPERATION 310 CONTROL NOT READY 311 Generated on Thu Dec 17 2
31. nIndex The index of the channel mode option to fetch peMode The returned channel mode option See asx CHANNELMODE for available settings pnCount The total number of available mode options Returns Returns 0 if there is no error otherwise of asxERROR is returned 7 15 2 ASX32 ASX_ERROR ASX ChannelMode Get ASX HANDLE hMode enum asxCHANNELMODE peMode Get the current channel mode Parameters hMode A handle to an ASX channel mode control peMode The returned channel mode See asxCHANNELMODE for different mode options Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 16 Tuner control functions 85 7 15 2 3 5 32 ASX_ERROR ASX ChannelMode Set ASX HANDLE hMode const enum asxCHANNELMODE eMode Set the current channel mode Parameters hMode A handle to an ASX channel mode control eMode The channel mode to set This must be one of the options returned by calls to ASX ChannelMode Enumerate Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples dual mono play main c and dual mono record main c 7 16 Tuner control functions These functions support tuner operations Functions ASX Tuner EnumerateBand Enumerate each tuner band option ASX Tuner GetBand
32. void PrintControlName ASX HANDLE hControl char xpszName int nLen enum asxCONTROL eControl Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 9 playlist main c 249 ASX Control GetType hControl amp eControl ASXSTRING EnumToString eControl 0 0 amp nLen pszName char 11 nLen ASXSTRING EnumToString eControl pszName nLen amp nLen printf Control s n pszName free pszName int CheckError ASX HANDLE hObj int nLine nt nError nt asxSubSystemErrorCode 0 har pszAsxErrorString har pszAsxSubSystemErrorString nt nLenl nLen2 H Q Q H H ASX Error GetLast hObj ASX_ERROR nError amp asxSubSystemErrorCode if nError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorString char 11 nLenl pszAsxSubSystemErrorString char malloc nLen2 ASX Error GetLastString hObj pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf Error d s Subsystem Error d s Wn nError pszAsxErrorString asxSubSystemErrorCode pszAsxSubSystemErrorString printf When called from source s line dWMn FILE nLine printf Press ENTER to exit n getchar free pszAsxErrorString free pszAsxSubSystemErrorString ASX System Delete hSystem exit 1 return 1 10 9 playlist main c This is an example of how to use the ASX Player to play filelists He
33. 16 16 bit PCM signed asxAUDIO FORMAT PCM24 24 bit PCM signed asxAUDIO FORMAT PCM32 32 bit PCM signed asxAUDIO FORMAT PCM32 FLOAT 32 bit PCM in IEEE float format asxAUDIO FORMAT MPEG L2 MPEG 1 asxAUDIO FORMAT MPEG L3 1 or mp3 asxAUDIO FORMAT MPEG AACPLUS AAC asxAUDIO FORMAT DOLBY AC2 Dolby 2 asxAUDIO FORMAT PCM20 20 bit PCM signed asxAUDIO FORMAT NONE Unspecified or invalid audio format Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 204 File Documentation 9 1 3 8 enum asx CHANNELMODE Channel mode settings Enumerator asx CHANNELMODE_ILLEGAL Illegal channel mode asx CHANNELMODE_NORMAL Normal mode Left goes to left and right goes to right asx CHANNELMODE_SWAP Channels are swapped Left goes to right and right goes to left asx CHANNELMODE_STEREOTOLEFT Both left and right channels merged and output on left channel asx CHANNELMODE_STEREOTORIGHAT Both left and right channels are merged and output on the right channel asxCHANNELMODE LEFTTOSTEREO left channel is converted to a stereo output Right input channel is discarded asxCHANNELMODE RIGHTTOSTEREO right channel is converted to a stereo output Left input channel is discarded 9 1 3 9 enum asxXCOBRANET IFSTATUS Cobranet If status bitfields Not translatable to strings Enumerator asxCOBRANET IFSTATUS LINK ESTABLISHED Ethernet link established asxCOBRANET IF
34. 211 9 1 3 22 asxPLAYER_PLAGS 22 212 9 1223 ast PLAYER STATE 2 3 ee cR 213 9 1 3 24 asxRECORD_MODE 213 91325 SIATE 2 213 9 1 3 26 asxSAMPLE_CLOCK_SOURCE 214 91 327 assSAMPLE 216 9 1 3 28 asxTIMESCALE 216 9 1329 ssxTUNBB RDS TYPE lt on bees mme 217 9 1 3 30 STATUS cm Oe 217 S125 TUNBERAND EA 217 9 1 3 32 asxTUNERDEEMPHASIS 218 9 1 3 33 asxTUNBERHDBLEND 218 91 3 34 asxTUNBRMODB 4 xR re 9k 218 9 1 3 35 asxTUNERPROGRAM 218 9 1 3 36 asxUCONTROL PFLAGS 219 91337 ssxULCONTROL PTYPE 22292299 219 9 1 3 38 asxUCONTROL 220 9 1 3 32 asx VOLUME AUTOFADB 220 92 asxstrumpb Pile Referente 22 22222 220 9221 Denne Documentation lt so csc m ys 221 ASKI oe po aos be ee ed et 221 9 22 Function Documentation 221 9 2 2 1 ASXSTRING_EnumToString 221 9 2 2 2 ASXSTRING_StringToEnum 221 93 pexporttst File Referente be ee RE eH Ee Se 221 10 Example Documentation 223 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen xii CONTENTS 10 1 nu A we ee 223 10 2 cobrant MANG 225 10 3 esharp 85 playesTorml 5 22 2222 omm 9 ge 231 10 4 _
35. 45 7 6 2 5 5 Mixer GetControlCount 46 7 6 2 6 ASX Mixer GetDestina tonNode 46 7 6 2 7 ASX Mixer GetDestinationNodeCount 47 7 6 2 8 Mixer GetNodeByType 47 7 6 2 9 ASX _Mixer_GetNodeTypeCount 48 7 6 2 10 ASX Mixer GetSourceNode 48 7 6 2 11 ASX _Mixer_GetSourceNodeCount 49 7 6 2 12 ASX Mixer ResetControls 49 T Nodefumenons c c seske 845448 8004 4424 0 3 X V E X 50 Detailed Description 4 xo m x Yep RO yes 50 77 22 Function Documentation 50 7 1 2 1 ASX Mixer_GetNodeIndex 50 77 2 2 5 Mixer GetNodeType 51 7 7 2 3 ASX Node 51 1724 ASX Node GetLocafion 51 7 7 2 5 5 Node 52 7 7 2 6 ASX_Node_GetSubSystem 52 7 7 2 1 ASX Node Getlype 52 T8 Control generic PUBCDODS os e s s s Ro RR oy ouo OX Y 53 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen CONTENTS 781 Detailed Description 53 7 8 2 Function Documentation 53 7 8 21 ASX Control GetDestinatonNode 53 7 8 2 2 ASX_Control_GetHpiControl 54 7 8 2 3 5 Control GetSourceNode 54 7 8 24 ASX_Control_GetSubSystem 55 7 82 ASX Control GetIype lt cee os e rae xe 55 79 Player control functions s
36. 7 26 2 1 ASX32 ASX_ERROR ASX Compander Get ASX_HANDLE hCompander unsigned short pwAttack unsigned short pwDecay short pwRatio100 short pnThreshold0_01dB short pnMakeupGain0_01dB Deprecated This function has been broekn up in to individual Get functions Gets the param eters for the compander Parameters hCompan der A handle to an ASX Compander control object pwAttack Gets compander attack time in milliseconds pwDecay Gets compander decay time in milliseconds pwRatio100 Gets the input to output gain ratio Value is given in hundreths wRatio100 72 means 0 72 Gets the threshold above which the ratio applies Value is given in hun pnThresholdO dreths pnMakeupGa 01 Receives the positive or negative offset to the output gain Value is given in hundreths Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 26 2 2 5 32 ASX_ERROR ASX_Compander_GetAttackTimeConstant ASX_HANDLE hCompander enum asx COMPANDER_INDEX index unsigned int pnAttack Get the attack time constant in ms Parameters hCompan der A handle to an ASX Compander control object index Index of timeconstant to get pnAttack Gets attack time in milliseconds Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 26 Compander control functions 123
37. 9117 ASX SHORT STRING 200 9 1 2 Typedet Documentation 2222 22 2 2 4 2 200 9121 ASA ERROR resc 6 Shee x9 HS OR Gre 200 9122 ASX ERROR CALLBACK 200 9123 ASX HANDLB pcs dapa hee wee es 200 90124 ASX NODE cco be hw eee ESLER c 201 9 1 2 5 ASX PLAYER CALLBACK 201 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen CONTENTS xi 9125 ASACTIME ee RR RR 201 9 1 3 Enumeration Type Documentation 201 9 1 3 1 PROPERTY 201 9 1 3 2 201 9 1 3 3 MODE 202 9 1 3 4 asxXADPROPENUM 55 2 202 9 1 3 5 asxAESEBU_FORMAT 202 9 1 3 6 asxAESEBU_STATUS 203 9 1 3 7 asxAUDIO_FORMAT 203 9 1 3 8 asxCHANNELMODE 204 9 1 3 asxCOBRANET IFSTATUS 204 9 1 3 10 asxCOBRANET LATENCY 204 9 1 3 11 asxCOBRANET MODE 205 9 1 3 12 asxCOMPANDER INDEX 205 9 3 13 XCONTROL RS 205 9 1 3 14 asxEQBANDTYPE 206 91 215 asxERROR n 207 9 1 3 16 asxPILE FORMATI 210 912217 asxFILE ee samar m 210 91318 asxHANDLBE 2 210 91 3 19 2 2c 6 210 9 1 3 20 asxMSG_LOGGING 211 S24 ke dead a ee
38. Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 230 Example Documentation ASX HANDLE FindSnmpCobranetControl ASX HANDLE hMixer ASX_HANDLE hSnmpCobranet NULL ASX_ERROR asxError int nControl nNumControls enum asxCONTROL eControlType int nSubSystem asxError ASX_Mixer_GetControlCount hMixer amp nNumControls for nControl 0 nControl lt nNumControls nControl asxError ASX Mixer GetControl hMixer nControl amp hSnmpCobranet if asxError asxERROR NO ERROR ASX Control GetType hSnmpCobranet amp eControlType ASX Control GetSubSystem hSnmpCobranet amp nSubSystem if eControlType asxCONTROL COBRANET amp amp nSubSystem ASX SYSTEM TYPE 5 break if nControl nNumControls hSnmpCobranet NULL return hSnmpCobranet void PrintControlName ASX_HANDLE hControl char xpszName int nLen enum asxCONTROL eControl ASX Control GetType hControl amp eControl ASXSTRING EnumToString eControl 0 0 amp nLen pszName char malloc nLen ASXSTRING_EnumToString eControl pszName nLen amp nLen printf Control s pszName free pszName void PrintNodeName ASX_HANDLE hNode char pszName int nLen nIndex enum asxNODE eNode ASX Node GetType hNode amp eNode ASX Node GetIndex hNode amp nIndex ASXSTRING EnumToString eNode 0 0 amp nLen pszName char malloc nLen ASXSTRING_EnumToString eNode pszN
39. Gets an adapter s DSP utilization ASX Adapter GetMixer Gets a handle to an adapter s mixer ASX Adapter EnumerateMode Enumerate each adapter mode option ASX Adapter GetMode Get the current adapter mode ASX Adapter SetMode Set the current adapter mode ASX Adapter EnumerateProperty Enumerates adapter properties and settings ASX Adapter ReadProperty Read an adapter s property value e ASX Adapter WriteProperty Write an adapter property value e ASX Adapter WriteNvMem Write a byte to the non volatile memory Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 34 Module Documentation ASX_Adapter_ReadNvMem Read a byte from the non volatile memory ASX Adapter GetNvMemsSizeInBytes Get the number of bytes in the adapter s non volatile memory 7 5 1 Detailed Description The adapter functions are used to obtain adapter information and access the mixer 7 5 2 Function Documentation 7 5 2 1 ASX32 ASX ERROR ASX Adapter CheckSubSystems ASX HANDLE hAdapter unsigned int pnSubSystemMask unsigned int pnSubSystemOkMask Returns the status of the various sub systems that interface to the adapter This function is primarily implemented to provide feedback on whether adapters or subsystems that a network interface are working correctly The bit masks used in this function consist of 1 lt lt SYSTEM TYPE xxxx Parameters hAdapter handl
40. Parameters hAESEBUTx handle to an ASX AESEBU transmitter control nIndex The index of the format option to fetch peAesebu The returned format option Format pnCount The total number of available formats Returns Returns 0 if there is no error otherwise one of asxXERROR is returned 7 20 22 5 32 ERROR 5 AESEBUTransmitter GetFormat ASX HANDLE hAESEBUTx enum asxXAESEBU FORMAT peAesebuFormat Get the format of the AESEBU transmitter Parameters hAESEBUTx A handle to an ASX AESEBU transmitter control peAesebu returned format Format Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 20 2 3 5 32 ERROR 5 AESEBUTransmitter SetFormat ASX HANDLE hAESEBUTx const enum asxXAESEBU FORMAT eAesebuFormat Set the format of the AESEBU transmitter Parameters Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 21 control functions 113 A handle to ASX AESEBU transmitter control eAesebuFor The format to set the transmitter control to mat Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 234 GPIO control functions These functions implement GPIO operations Functions e ASX GPIO GetProperties Get the properties of the GPIO control e ASX GPIO InputGet Read the s
41. Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples adapter main c cobranet main c dual_mono_play main c dual_mono_record main c mixer main c mux main c play main c playlist main c record main c system main c tuner main c and volume main c 7 2 1 4 ASX32 ASX_ERROR ASX System GetAdapter ASX_HANDLE hSystem const int nAdapter ASX_HANDLE x p hAdapter Get a handle to a specific adapter This function returns a handle to an adapter object that can then be used to access functionality of the adapter Parameters hSystem A handle to an ASX system object nAdapter The index of the adapter p_hAdapter The retuned adapter handle Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples adapter main c cobranet main c dual_mono_play main c dual_mono_record main c Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 2 System functions 25 mixer main c mux main c play main c playlist main c record main c tuner main c and volume main c 7 2 1 5 5 32 ASX_ERROR ASX System GetAdapterCount ASX_HANDLE hSystem int pnCount Get the number of adapters This function returns the number of recognized sound cards installed in the computer Parameters hSystem A handle to an ASX system object pnCount The returned number of adapters Returns R
42. amp hNode if hNode PrintNodeName hNode get the details for the first CobraNet transmitter asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer 0 0 asxNODE COBRANET TRANSMITTER 0 asxCONTROL COBRANET TRANSMITTER amp hCobraNetControl CheckError hMixer LINE if lasxError ASX CobranetTx GetBundle hCobraNetControl amp nBundle ASX CobranetTx GetChannelCount hCobraNetControl amp nCount ASX_CobranetTx_GetChannelMap hCobraNetControl nMap printf CobraNet transmitter 0 details n printf Bundle d n nBundle printf Channel count d n nCount printf Channel map d 5 d d d 5 dWn nMap 0 nMap 1 nMap nMap nMap nMap nMap nMap C0 hN get the details for the first CobraNet receiver asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer asxNODE COBRANET RECEIVER 0 0 0 asxCONTROL COBRANET RECEIVER amp hCobraNetControl CheckError hMixer LINE if lasxError ASX CobranetRx GetBundle hCobraNetControl amp nBundle ASX CobranetRx GetChannelMap hCobraNetControl nMap printf CobraNet receiver 0 details n printf Bundle d n nBundle printf Channel map d d d d d d d nMap 0 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 2 cobranet main c 229 7 look for some peak meters CobraNet nodes This is a meter on the audio path from a Co
43. asx HANDLE_MIXER asxHANDLE NODE asxHANDLE CONTROL asx HANDLE_LAST Handle type enums returned from ASX Handle GetType enum asxUCONTROL PTYPE TYPE NONE 0 TYPE INTEGER 3 asxPARAM TYPE FLOAT 4 lt TYPE DOUBLE 5 TYPE STRING 6 lt IP4 ADDRESS 8 IP6 ADDRESS 9 asxPARAM TYPE MAC ADDRESS 10 TYPE BOOLEAN 11 Universal control parameter types enum asxUCONTROL RTYPE RANGE NONE 0 RANGE STEPPED INTEGER 1 asxPARAM RANGE STEPPED FLOAT 2 asxPARAM RANGE ENUMERATED INTEGER 3 RANGE ENUMERATED FLOAT 4 5 RANGE ENUMERATED 5 asxPARAM RANGE STRING LENGTH 6 asxPARAM RANGE NUMBER 5 7 Universal control range types enum asx UCONTROL_PFLAGS asxPARAM_FLAG_WRITEABLE 1 FLAG_READABLE 2 asxPARAM_FLAG_ VOLATILE 4 Universal control flags Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 175 enum asxCOBRANET_IFSTATUS asxCOBRANET_IFSTATUS_LINK_ESTABLISHED 0x01 asxCOBRANET IFSTATUS FULL DUPLEX 0x02 asxCOBRANET IFSTATUS ACTIVE CONNECTION 0x04 Cobranet If status bitfields Not translatable to strings enum PROPERTY asxADAPTER PROPERTY ERRATA 1 1 asxADAPTER PROPERTY
44. home eliot asi repo cvsrepo Repository apps asx examples dual_mono_r ecord main c v 1 5 2004 10 13 18 16 08 as tfe Exp include stdio h include stdlib n include asx h include asxstring h Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 236 Example Documentation ASX_HANDLE hSystem 0 int CheckError ASX HANDLE hObj int nLine void PrintControlName ASX HANDLE hControl int main int char argv char xpszName ASX HANDLE hAdapter ASX HANDLE hMixer ASX HANDLE hRecorder 4 ASX HANDLE hChannelMode 4 ASX HANDLE hMux 4 int nAdapterToUse 0 int i nLen CheckError hSystem LINE get the adapter ASX System GetAdapter hSystem nAdapterToUse amp hAdapter CheckError hAdapter __LINE__ SX Adapter GetName hAdapter 0 0 amp 1 A CheckError hAdapter __LINE__ pszName char malloc nLen ASX Adapter GetName hAdapter pszName nLen amp nLen CheckError hAdapter __LINE__ printf Adapter d is 5 Mn nAdapterToUse pszName get the mixer handle ASX_Adapter_GetMixer hAdapter amp hMixer CheckError hAdapter __LINE__ Grab a recorder channel mode and mux control for each for i 0 i lt 4 i get record object ASX Mixer GetControlByNodeTypeAndIndex hMixer 0 0 asxNODE RECORDER i asxCONTROL RECORDER amp hRecorder i CheckError hMixer LINE print out som
45. int nNodeIndex char szName 64 int nRequiredLength int nCount int i nLen create the system ASX System Create ASX SYSTEM TYPE HPI amp hSystem CheckError hSystem LINE get the adapter asxError ASX System GetAdapter hSystem nAdapterToUse amp hAdapter CheckError hSystem LINE ASX Adapter GetName hAdapter 0 0 amp nLen CheckError hAdapter LINE pszName char malloc nLen ASX Adapter GetName hAdapter pszName nLen amp nLen CheckError hAdapter __LINE__ printf Adapter d is s n nAdapterToUse pszName get the mixer handle asxError ASX_Adapter_GetMixer hAdapter amp hMixer CheckError hAdapter __LINE__ get a multiplexer object asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer 0 0 RECORDER 0 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 7 mux main c 245 asxCONTROL_MULTIPLEXER amp hMux CheckError hMixer LINE print out some control details PrintControlName hMux Get the selector and print out available selections asxError 0 i20 while asxError asxError ASX_Multiplexer_Enumerate hMux i amp eNode amp nNodeIndex amp nCount if 0 printf Multiplexer has total of d options n nCount if asxError ASXSTRING_EnumToString eNode szName 64 amp nRequiredLength printf Option d is s d n i szName nNodeIndex itt Get
46. printf Tuner band is currently s n szString List all the bands and print them out asxError ASX Tuner EnumerateBand hTuner 0 amp eBand amp nCount printf Total tuner bands available is dMn nCount for i 0 i lt nCount i Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 260 Example Documentation asxError ASX_Tuner_EnumerateBand hTuner i amp eBand amp nCount CheckError hTuner __LINE__ 1 if asxError ASXSTRING EnumToString eBand szString 64 amp nRequiredStringSize printf Tuner band d is s n i szString setting Tuner to band FM asxError ASX Tuner SetBand hTuner asxTUNERBAND FM CheckError hTuner LINE 1 asxError ASX Tuner GetFrequency hTuner amp lFreqg CheckError hTuner LINE 1 asxError ASX Tuner SetFrequency hTuner lFreq CheckError hTuner LINE 1 asxError ASX Tuner GetGainRange hTuner amp fMin amp fMax amp fStep CheckError hTuner LINE 1 if lasxError printf Gain range min f dB f dB Step size is f dB n fMin fMax fStep asxError ASX Tuner GetGain hTuner amp fGain CheckError hTuner LINE 0 asxError ASX Tuner SetGain hTuner fGain CheckError hTuner LINE 0 asxError ASX Tuner GetRFLevel hTuner amp fLevel CheckError hTuner LINE 0 printf RF level is f n fGain get the status not all tuners have status field asxEr
47. 7 16 2 12 ASX Tuner GetDeemphasis 91 7 16 2 13 ASX_Tuner_GetDigitalSignalQuality 92 7 16 2 14 ASX Tuner GetFirmwareVersion 92 7 16 2 15 ASX_Tuner_GetFrequency 92 7 16 2 16 ASX_Tuner_GetFrequencyRange 93 7 16 2 17 ASX Tuner GetGain 93 7 16 2 18 ASX_Tuner_GetGainRange 94 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen CONTENTS 7 16 2 19 ASX_Tuner_GetHdBlend 94 7 16 2 20 ASX_Tuner_GetHdRadioDspVersion 94 7 16 2 21 ASX_Tuner_GetHdRadioSdkVersion 95 7 16 2 22 ASX_Tuner_GetHdRadioSignalQuality 95 7 16 2 23 5 Tuner 95 7 16 2 24 ASX_Tuner_GetProgram 95 7 16 2 25 ASX Tuner GetRawRFLevel 96 7 16 2 26 ASX Tuner GetRFLevel 96 7 16 2 27 ASX Tuner GetStatus 96 7 16 2 28 ASX Tuner SetBand 97 7 16 2 29 ASX Tuner SetDabAudioService 97 7 16 2 30 Tuner SetDeemphasis 98 7 16 2 31 Tuner SetFrequency 98 7 16 2 32 ASX Tuner SetGan 98 7 16 2 33 ASX Tuner SetHdBlend 99 7 16 2 34 ASX Tuner 99 7 16 2 35 ASX Tuner SetProgram 99 7 17 PAD control functions 100 7 17 1 Detaled Description 23 299 93 x Gu 100 7 17 2 Function Documentation 100
48. ATTRIBUTE asx h 207 asx h 208 asxXEQBANDTYPE HIGHSHELF asxERROR INVALID CONTROL NOT asx h 206 FOUND asxXEQBANDTYPE LOWPASS asx h 208 asx h 207 asxEQBANDTYPE LOWSHELF asx h 206 asxERROR INVALID CONTROL OPERATION asx h 208 asxERROR INVALID CONTROL VALUE Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen INDEX 281 asx h 208 asx h 209 asxERROR INVALID FORMAT asxERROR RECORDER INTERNAL asx h 207 STATE FAILURE asxERROR INVALID NUMBER OF CHANN amp Edix amp h 209 asx h 208 asxERROR RECORDER INVALIDFILENAME asxERROR INVALID OPERATION asx h 209 asx h 207 asxERROR RECORDER OUT OF SEQUENCE asxERROR IP ASSIGNED CALL asx h 208 asx h 209 asxERROR AUTOASSIGN DISABLEDSsxERROR RECORDER TIME OUT asx h 208 asx h 209 asxERROR IP CHANGED asxERROR RECORDER TWAV asx h 208 asx h 209 asxERROR MIXER SAVECONTROLSTAd3XERROR STARTING DEVICE asx h 209 asx h 207 asxERROR NO ERROR asxERROR TOO MANY CLIENTS asx h 207 asx h 208 asxERROR NO IP ADDRESSES AVAILABIHRROR UNIMPLEMENTED asx h 208 asx h 207 asxERROR NOT OPEN asxERROR UNKNOWN asx h 207 asx h 209 asxERROR OUTOFMEMORY asxERROR UNSUPPORTED CONTROL asx h 208 ATTRIBUTE asxXERROR PCAP ERROR asx h 208 asx h 208 asxFILE FORMAT RAW asxERROR PLAYER FILEOPENERROR asx h 210 asx h 209 asxFILE FORMAT WAV asxERROR PLAYER FILEREADERROR asx h 210 asx h 209 asxFILE MODE APPEND asxERROR PLAYER INTERNAL STATE asx h 210 FA
49. Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 252 Example Documentation char xpszFormat char xpDummy char xpExt ASX HANDLE hAdapter ASX HANDLE hMixer ASX HANDLE hPlayer ASX ERROR asxError int nAdapterToUse 0 int nLen if argc 2 printf Filename to play is a required parameter n Filename should be either an audio file i e WAV or MP3 a pla in text Vn file with a TXT extension containing a list of filenames one per line n return 1 create the system ASX System Create ASX SYSTEM TYPE HPI amp hSystem CheckError hSystem LINE get the adapter ASX System GetAdapter hSystem nAdapterToUse amp hAdapter CheckError hSystem __LINE__ ASX Adapter GetName hAdapter 0 0 amp nLen CheckError hAdapter __LINE__ pszName char malloc nLen ASX Adapter GetName hAdapter pszName nLen amp nLen CheckError hAdapter LINE printf Adapter d is s Mn nAdapterToUse pszName get the mixer handle ASX Adapter GetMixer hAdapter amp hMixer CheckError hAdapter LINE get a player object asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer asxNODE PLAYER argc 3 strtol argv 3 amp pDummy 10 0 0 0 asxCONTROL PLAYER amp hPlayer CheckError hMixer LINE print out some control details PrintControlName hPlayer open the player and pass in the file to be played check for txt exten
50. GetDestinationNodeCount p_hNode The returned destination node handle Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c and mixer main c 7 6 2 7 5 32 ASX_ERROR ASX_Mixer_GetDestinationNodeCount ASX_HANDLE hMixer int pnCount This function returns the nunber of destination nodes in the mixer Parameters hMixer A handle to an ASX mixer object pnCount The retuned number of destination nodes Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c and mixer main c 7 6 2 8 ASX32 ASX_ERROR ASX_Mixer_GetNodeByType ASX HANDLE hMixer const enum asxNODE eType const int nindex ASX HANDLE p hNode Get a node by type This function searches all mixer nodes for a node of a particular type and index This function could be used to find a LineOut 1 node for example Parameters hMixer A handle to an ASX mixer object eType The node type to get This should be set to one of asxNODE nIndex The index of the node to get If the adapter has 4 line outs for example and nType is set to asxNODE OUT then the valid range for nIndex would be 0 3 p_hNode The returned destination node handle Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 48 Module Documentation Returns Returns 0 if
51. Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 15 ASX32 ERROR ASX Tuner GetFrequency ASX HANDLE hTuner unsigned long plFreq Get the tuner frequency Parameters hTuner A handle to an ASX tuner control plFreq returned frequency Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 16 Tuner control functions 93 Returns Returns 0 if there is no error otherwise one of asxERROR is returned Note The tuner frequency may not change immediately It may take up to 300ms to change To determine when the frequency has changed call ASX_Tuner_ GetFrequency until it returns the new frequency Examples tuner main c 7 16 2 16 5 32 ASX_ERROR ASX_Tuner_GetFrequencyRange ASX HANDLE htTuner const enum asx TUNERBAND eBand unsigned long unsigned long unsigned long plStep Get the tuner frequency range in Hz Parameters hTuner A handle to an ASX tuner control eBand Band to get frequency range of plMin returned minimum frequency in Hz plMax The returned maximum frequency in Hz plStep The returned frequency step in Hz Returns Returns 0 if there is no error otherwise one of asxERROR is returned 716 217 5 32 ERROR ASX Tuner GetGain HANDLE hTuner float pfTunerGain Get the tuner gain Parame
52. asx h 219 5 Cobranet EnumerateModes 129 asxXTUNERPROGRAM 4 ASX_Cobranet_GetConductorPriority asx h 219 129 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen INDEX 287 ASX_Cobranet_GetConductorStatus 129 ASX_Cobranet_GetDescription 130 ASX_Cobranet_GetErrorInfo 130 ASX_Cobranet_GetFirmwareRevision 130 ASX_Cobranet_GetlfStatus 131 ASX_Cobranet_GetIPAddress 131 ASX_CobranetTx_GetFormat 140 ASX_CobranetTx_GetStatus 141 ASX_CobranetTx_GetUnicastMode 141 ASX_CobranetTx_SetBundle 141 ASX_CobranetTx_SetChannelCount 142 ASX_CobranetTx_SetChannelMap 142 ASX_Cobranet_GetLatencyAndSampleRateAS X_CobranetTx_SetFormat 142 132 ASX_Cobranet_GetLocation 132 ASX_Cobranet_GetMACAddress 132 ASX_Cobranet_GetMode 133 ASX_Cobranet_GetName 133 ASX_Cobranet_GetPersistence 133 ASX_Cobranet_GetSerialConfig 134 ASX_Cobranet_GetSerialEnable 134 ASX_Cobranet_GetStaticIPAddress 134 ASX_Cobranet_SetConductorPriority 135 5 Cobranet SetIPAddress 135 5 CobranetTx SetUnicastMode 143 Compander ASX Compander Get 122 ASX Compander GetAttackTimeConstant 122 ASX_Compander_GetDecayTimeConstant 123 ASX_Compander_GetEnable 123 ASX_Compander_GetMakeupGain 123 ASX_Compander_GetRatio 124 ASX_Compander_GetThreshold 124 ASX_Compander_Set 124 ASX_Cobranet_SetLatencyAndSampleRate ASX_Compander_SetAttackTimeConstant 135 ASX_Cobranet_SetLocation 136 ASX_Cobranet_SetMo
53. float fdB const int nChannels Returns the peak meter reading for the given meter control Some adapters ASI6000 ASI5000 implement meter controls with ballistics This means that instead of following the signal instantaneously meters values have finite attack and decay time constants Ta and Td For instance when the input is removed the meter value will decay towards zero whether or not the meter control is read It will decay to 3746 of its original value Td seconds 14 9 2xTd 5 3 etc If meter ballistics are not implemented when the ASX Meter GetPeak function is called the meter statistic for that control will be reset to zero This means that the period over which the statistic is computed depends on the time between calls to ASX Meter GetPeak If the call is made 100 times a second then the value returned would reperesent the peak during 10ms interval of audio The lower limit of meter return value depends on the adapter series For all 4514000 adapters the minimum value returned is 100dB For ASI6000 ASI5000 adapters the minimum value returned is 192dB Parameters Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 11 Meter control functions 75 hMeter A handle to an ASX meter object fdB A pointer to receive the peak meter reading in dB The range of this reading it 0 0 to 120 0 dB nChannels The number of channels This should match the number of elements
54. ignore pIxMAC Sets the MAC address unicast or multicast to which SCI data is sent Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2 26 ASX32 ERROR ASX Cobranet SetSerialEnable ASX HANDLE hCobranet const int nOnOff Enable or disable a device s serial bridge Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 138 Module Documentation Parameters hCobranet A handle to an ASX cobranet control nOnOff 1 is on 015 off Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 22 27 5 32 ASX_ERROR Cobranet SetStaticlPAddress ASX HANDLE hCobranet const unsigned int dwiPAddr Set the static IP address of the Cobranet device Parameters hCobranet A handle to an ASX cobranet control dwIPAddr The static IP address to set A value of 0 resets the static IP address assigned static IP address will not take effect until the device is restarted Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 28 Cobranet transmitter control functions These functions implement Cobranet transmitter configuration Functions ASX CobranetTx GetStatus Gets a Cobranet transmitter s status ASX CobranetTx GetBundle Gets a Cobranet transmitter s bundle ASX CobranetTx SetBundle Sets a Cobranet transmitter
55. unsigned int pnCount Gets a Cobranet transmitter s channel count Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 140 Module Documentation Parameters hCo branetTx A handle to an ASX cobranet transmitter control pnCount The number of audio channels to transmit in a bundle This is SNMP vari able txSubCount Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 7 28 23 5 32 ASX_ERROR ASX CobranetTx GetChannelMap ASX HANDLE hCobranetTx unsigned int nMap 8 Gets a Cobranet transmitter s channel map This controls which audio routing channels are transmitted Parameters hCo branetTx A handle to an ASX cobranet transmitter control nMap The channel map returned in an array of size 8 Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 7 28 24 ASX32 ERROR 5 CobranetTx GetFormat ASX HANDLE hCobranetTx enum asxXAUDIO FORMAT x peFormat Gets a Cobranet transmitter s sub format map This contains transmit format information Parameters hCo branetTx A handle to an ASX cobranet transmitter control peFormat The format returned will be asxXAUDIO FORMAT PCM16 asxAUDIO_ FORMAT PCM20 asxAUDIO FORMAT PCM24 asxAUDIO_ FORMAT NONE Generated on Thu De
56. 17 2015 10 17 26 for ASX by Doxygen INDEX 275 ASX_PAD_GetComment Pad 101 ASX_PAD_GetProgramType Pad 102 ASX_PAD_GetProgramTypeString Pad 102 ASX_PAD_GetRdsPI Pad 103 ASX PAD GetTitle Pad 103 ASX PLAYER CALLBACK asx h 201 ASX Player Close Player 58 ASX Player Format GetDetails Player 58 ASX Player Format GetString Player 59 ASX Player GetFilename Player 59 ASX Player GetLoopMode Player 60 ASX Player GetPosition Player 60 ASX Player GetState Player 60 ASX Player GetTimeScale Player 61 ASX Player Open Player 61 ASX Player OpenPlaylist Player 62 ASX Player Pause Player 63 ASX Player PlaylistStatus Player 63 ASX Player PlaylistWait Player 64 ASX Player PreLoad Player 64 ASX Player RegisterCallback Player 65 ASX Player SetLoopMode Player 65 ASX Player SetPosition Player 65 ASX Player SetTimeScale Player 66 ASX Player Start Player 66 ASX Player Stop Player 66 ASX Player Wait Player 67 ASX Recorder Close Recorder 69 ASX Recorder EnumerateFormat Recorder 69 ASX Recorder GetFilename Recorder 70 5 Recorder GetPosition Recorder 70 ASX Recorder GetState Recorder 71 ASX Recorder Open Recorder 71 ASX Recorder Pause Recorder 72 ASX Recorder Start Recorder 72 ASX Recorder Stop Recorder 72 ASX SampleClock EnumerateClockSource SAMPLE SampleClock 105 ASX SampleClock EnumerateLocalRate SAMPLE CLOCK SampleClock 105 ASX SampleCloc
57. 2015 10 17 26 for ASX by Doxygen 288 INDEX ASX_Error_Clear 30 ASX Error GetLast 31 ASX GetLastString 31 eType asxParameterValue 164 floating asxParameterRangelnfo 163 fmax asxParameterRangelnfo 163 fmin asxParameterRangelnfo 163 fstep asxParameterRangelnfo 163 Generic control functions 117 GENERIC_GenericControl ASX_GetGenericControlName 117 Gpio ASX_GPIO_GetProperties 113 ASX_GPIO_InputGet 114 ASX_GPIO_OutputGet 114 ASX_GPIO_OutputSet 115 GPIO control functions 113 Handle ASX_Handle_GetType 30 Handle functions 29 integer asxParameterRangelnfo 163 Level ASX_Level_Get 80 ASX_Level_GetRange 81 ASX_Level_Set 81 Level control functions 80 max asxParameterRangelnfo 163 max_len asxParameterRangelInfo 163 Meter ASX_Meter_GetBallistics 73 ASX_Meter_GetChannels 74 ASX_Meter_GetPeak 74 ASX_Meter_GetRMS 75 ASX_Meter_SetBallistics 75 Meter control functions 73 Microphone control functions 117 MICROPHONE_ Mic ASX_Mic_GetPhantomPower 118 ASX_Mic_SetPhantomPower 118 min asxParameterRangelInfo 163 Mixer ASX_Mixer_GetBlockControlByNodeTypeAndIndex 44 ASX_Mixer_GetControl 44 ASX_Mixer_GetControlByNode 45 ASX Mixer GetControlByNodeTypeAndIndex 45 ASX Mixer GetControlCount 46 ASX Mixer GetDestinationNode 46 ASX Mixer GetDestinationNodeCount 47 ASX Mixer GetNodeByType 47 ASX Mixer GetNodeTypeCount 48 ASX Mixer GetSourceNode 48 ASX Mixer GetSourceNo
58. 22 2 3 5 32 ERROR ASX Vox SetLevel ASX HANDLE hVox const float fSetLevel Set vox level Parameters hVox A handle to an ASX vox control fSetLevel The gain to set in dBFS i e OdB is fullscale Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 24 Microphone control functions 117 7 23 Generic control functions This function supports the generic control Functions ASX GetGenericControlName Get the name of the control 7 23 1 Detailed Description This function supports the generic control 7 23 2 Function Documentation 7 23 21 5 32 ASX_ERROR GetGenericControlName ASX_HANDLE hControl char pName Get the name of the control Parameters hControl A handle to an ASX generic control Pointer to a buffer at least 60 chars for the name Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 24 Microphone control functions These functions implement Microphone phantom power setting Functions e ASX _Mic_SetPhantomPower Turn the phantom power on or off ASX GetPhantomPower Get the current state of the phantom power on or off Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 118 Module Documentation 7 24 1 Detailed Description These functions i
59. 27 22 ASX32 5 ERROR ASX Cobranet GetConductorPriority ASX HANDLE hCobranet unsigned int pnPriority Gets a device s conductor priority Parameters hCobranet A handle to an ASX cobranet control pnPriority Returned Priority 0 indcates that this device will never be the network conductor 1 is the lowest priority and OxFF is the highest priority Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2 3 5 32 ERROR 5 Cobranet GetConductorStatus HANDLE hCobranet unsigned int pnState Gets a device s conductor status Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 130 Module Documentation Parameters hCobranet A handle to an ASX cobranet control pnState Returned state 1 indicates that this device is the conductor for the Cobranet network 0 indicates that it is not the conductor Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 24 2 ASX_ERROR ASX_Cobranet_GetDescription ASX_HANDLE hCobranet char szString const int nLength Get the device s description from the sysDescr SNMP field This is are read only operation Parameters hCobranet A handle to an ASX cobranet control szString Pointer to a string of length ASX_LONG_STRING nLength Description string length Returns Returns
60. 7 27 27 ASX32 5 ERROR ASX Cobranet GetlfStatus ASX HANDLE hCobranet unsigned int x pnCurrentif unsigned int pnPrimaryLinkStatus unsigned int pnSecondaryLinkStatus Gets a device s Parameters ethernet connection status hCobranet A handle to an ASX cobranet control pnCurrentlf Returns which ethernet connection is active 1 for primary 2 for secondary pnPrima ryLinkStatus Returns primary link status See asx COBRANET_IFSTATUS pnSec ondaryLinkSt tus Returns secondary link status See asxXCOBRANET IFSTATUS Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2 8 5 32 ASX ERROR ASX Cobranet GetlPAddress ASX HANDLE hCobranet unsigned int pdwlPAddr Get the current IP address of the Cobranet device Parameters hCobranet handle to an ASX cobranet control pdwIPAddr Gets the IP address Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 132 Module Documentation Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2 5 32 ASX_ERROR ASX_Cobranet_GetLatencyAndSampleRate ASX HANDLE hCobranet enum asxCOBRANET LATENCY x peLatency enum axxSAMPLE_RATE peRate Gets a device s latency and sample reate Returns information from SNMP variable modeRateControl Parameters hCobranet A handle to an ASX cob
61. ASI6xxx series adapters Parameters hPlayer handle to an ASX player control object fTimeScale The time scale to use on the playing file Range is 0 8 lt fTimeScale lt 1 2 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 9 219 ASX32 ASX ERROR ASX Player Start HANDLE hPlayer Start playback of a previously opened and optionally pre loaded file Parameters hPlayer handle to an ASX player control object Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples play main c and playlist main c 7 9 2 20 5 32 ERROR ASX Player Stop ASX HANDLE hPlayer Stops playback of the currently playing file This call resets the play position as well as stopping playback Use ASX Player Pause to retain the current position Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 10 Recorder control functions 67 Parameters hPlayer A handle to an ASX player control object Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples play main c 7 9 2 21 5 32 ERROR ASX Player Wait ASX HANDLE hPlayer Wait for the current file to finish This function does not return until the current file has finished playing Parameters hPlayer handle to an ASX player control object
62. ASX CobranetRx GetMinimumDelay 145 7 29 24 ASX CobranetRx GetSourceMAC 145 7 29 2 5 ASX CobranetRx GetStatus 146 7 29 2 6 5 CobranetRx SetBundle 147 7 29 2 ASX_CobranetRx_SetChannelMap 148 7 29 2 8 ASX CobranetRx SetMinimumDelay 148 7 29 2 9 ASX CobranetRx SetSourceMAC 148 7 30 Tone detector control functions e 149 130 Detailed Description 22 2299 cR 149 7 30 2 Function Documentation 150 7 30 2 1 ASX ToneDetector GetEnable 150 7 30 2 2 ASX ToneDetector GetEventEnable 150 7 30 2 3 ASX ToneDetector GetFrequency 150 7 30 24 ASX ToneDetector GetState 150 7 30 2 5 ASX ToneDetector GetThreshold 151 7 30 2 6 ASX ToneDetector SetEnable 151 7 30 27 ASX ToneDetector SetEventEnable 151 7 30 2 8 ASX ToneDetector SetThreshold 152 7 31 Silence detector control functions 152 1 311 Detailed D senption 2 64 5 046524 e Pe mc 152 7 31 2 Function Documentation 153 7 31 2 1 ASX_SilenceDetector_GetDelay 153 7 31 2 2 5 SilenceDetector GetEnable 153 7 31 2 3 ASX SilenceDetector GetEventEnable 153 7 31 24 ASX_SilenceDetector_GetState 154 7 31 2 5 ASX SilenceDetector GetThreshold 154 7 31 2 6 ASX SilenceDetector SetDelay 154 7 31 27 5 Sil
63. ASX HANDLE hASXControl this is filled in from somewhere ASX Control GetHPIControl hASXControl amp phHPISubSys amp hHPIControl 7 8 3 3 ASX32 ERROR ASX Control GetSourceNode ASX HANDLE hControl ASX HANDLE x p hNode Generic control function to get the source node of a control Parameters hControl A handle to an ASX control object p hNode The source node ASX object handle This can be zero if the control does not have a source node Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c and mixer main c Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 9 Player control functions 55 7 8 2 4 5 32 ASX_ERROR ASX Control GetSubSystem ASX HANDLE hControl int p nSubSystem Returns the sub system handle of the given control Parameters hControl A handle to an ASX control object _ The returned ASX sub system type nSubSystem Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 7 8 2 5 ASX32 ERROR ASX Control GetType ASX HANDLE hControl enum asxCONTROL peControl Generic control function to get the type of a control Parameters hControl A handle to an ASX control object peControl The returned control type will be one of asxCONTROL Returns Returns 0 if
64. ASX System Delete Delete a complete ASX system ASX System RegisterErrorCallback Register a callback function that should be called when an error is detected ASX System GetName Gets the name of the ASX system ASX System GetVersion Get ASX system version information ASX System GetAdapterCount Get the number of adapters e ASX System GetAdapter Get a handle to a specific adapter ASX System SetMessageLogging Set the message logging level for ASX ASX System GetMessageLogging Get the message logging level for ASX ASX System SetCobranetAutoassignParms Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 2 System functions 23 Set the IP address range that will be used for assigning IP addresses to cobranet devices ASX_System_GetCobranetAutoassignParms Get the IP address range that will be used for assigning IP addresses to cobranet devices 7 2 1 Function Documentation 7 2 1 1 2 ASX_ERROR ASX System Create const int asxSystemType ASX_HANDLE phSystem Create a complete ASX system This function creates a complete ASX interface of the type specified by asxSystem Type If more than one system type is needed use ASX_System_CreateSubSystem instead Parameters asxSystem Type The ASX system type to open One of SubSystem types defines above phSystem Pointer to the returned system handle Returns Returns 0 if ther
65. CALL attempt was made to perform an operation that is illegal in the current recorder state asxERROR RECORDER TWAYV Internal recorder error asxERROR RECORDER FILECREATEERROR Couldn t create file could be write protected asxERROR RECORDER FILEWRITEERROR error occured when writ ing the file asxERROR RECORDER FORMATMISMATCH Tried to append to a file with a different format asxERROR RECORDER INVALIDFILENAME Tried to record a WAV file without the WAV extension or tried to record a RAW file with the extention asxERROR MIXER SAVECONTROLSTATE Mixer command to save controls on device failed asxERROR UNKNOWN Unknown error Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 210 File Documentation 9 1 3 16 enum asxFILE FORMAT File Formats Enumerator asxFILE FORMAT WAV Standard Windows WAV soundfile asxFILE FORMAT RAW Raw binary data no format header 9 1 3 17 enum asxFILE MODE File Mode Enumerator asxFILE MODE CREATE File is created if it exists it is overwritten asxFILE MODE APPEND File is appended if it exists created if it doesn t 9 1 3 18 enum asxHANDLE TYPE Handle type enums returned from ASX Handle Enumerator asxHANDLE INVALID Invalid handle asxHANDLE SYSTEM Handle to ASX system asxHANDLE ADAPTER Hanlde to ASX adapter asxHANDLE MIXER Handle to ASX mixer asxHANDLE NODE Handle to ASX node asxHANDLE CONTROL Handle to ASX control asxHANDLE LAS
66. CONTROL_COMPANDER 520 asxXCONTROL COBRANET 521 asxCONTROL_ PLAYER 522 asxXCONTROL RECORDER 523 asx CONTROL_GPIO 524 asx CONTROL RESERVED 525 525 asxCONTROL RESERVED 526 526 asxCONTROL RESERVED 527 527 asxCONTROL RESERVED 528 528 asx CONTROL GENERIC 529 asx CONTROL_ TONEDETECTOR 530 as CONTROL SILENCEDETECTOR 531 asxCONTROL COBRANET TRANSMITTER 532 asx CONTROL COBRANET RECEIVER 533 asxCONTROL PAD 534 asx CONTROL SRC 535 asxCONTROL BLOCK 536 asx CONTROL LAST CONTROL 537 Control type identifiers The control types are used to differentiate control capabili ties enum asx VOLUME_AUTOFADE asxVOLUME AUTOFADE LOG asxVOLUME AUTOFADE LINEAR volume autofade profiles enum asxMETER TYPE asxMETER PEAK asxMETER RMS Peak meter type to read enum asxCHANNELMODE asxCHANNELMODE ILLEGAL 1000 asxCHANNELMODE NORMAL 1001 asxxCHANNELMODE_SWAP 1002 asxXCHANNELMODE STEREOTOLEFT 1003 asx CHANNELMODE_STEREOTORIGHT 1004 LEFTTOSTEREO 1005 asxCHANNELMODE RIGHTTOSTEREO 1006 Channel mode settings enum asxXADAPTERMODE asxXADAPTERMODE ILLEGAL 1100 asxADAPTERMODE 4 PLAY 1101 asxXADAPTERMODE 6 PLAY 1102 asXADAPTERMODE 8 PLAY 1103 asxXADAPTERMODE 9 PLAY 1104 asXADAPTERMODE 12 PLAY 1105 asxXADAPTERMODE 16 PLAY 1106 asxXADAPTERMODE 1 PLAY 1107 asx ADAPTERMODE_MODE_1 1108 asxXADAPTERM
67. Cobranet 137 ASX_Cobranet_SetSerialEnable Cobranet 137 ASX_Cobranet_SetStaticIPAddress Cobranet 138 ASX_CobranetRx_GetBundle COBRANET RECEIVER CobranetRx 144 ASX CobranetRx GetChannelMap Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen INDEX 273 COBRANET_RECEIVER_CobranetR SX_CobranetTx_SetFormat 145 COBRANET TRANSMITTER CobranetTx ASX CobranetRx GetMinimumDelay 142 COBRANET RECEIVER CobranetREAS X CobranetTx SetUnicastMode 145 COBRANET TRANSMITTER CobranetTx ASX CobranetRx GetSourceMAC 143 COBRANET RECEIVER CobranetRAS X Compander Get 145 Compander 122 ASX CobranetRx GetStatus ASX Compander GetAttackTimeConstant COBRANET RECEIVER CobranetRx Compander 122 146 ASX Compander GetDecayTimeConstant ASX CobranetRx SetBundle Compander 123 COBRANET RECEIVER CobranetRAS X Compander GetEnable 147 Compander 123 ASX CobranetRx SetChannelMap ASX Compander GetMakeupGain COBRANET RECEIVER CobranetRx Compander 123 147 ASX Compander GetRatio ASX CobranetRx SetMinimumDelay Compander 124 COBRANET RECEIVER CobranetRDAS X Compander GetThreshold 148 Compander 124 ASX CobranetRx SetSourceMAC ASX Compander Set COBRANET RECEIVER CobranetRx 124 148 ASX Compander SetAttackTimeConstant ASX CobranetTx GetBundle Compander 125 COBRANET TRANSMITTER CobraBdiXxCompander SetDecayTimeConstant 139 Compander 125 ASX CobranetTx GetChannelCount ASX Compander SetEnable COBRANET TRANSMITTER Cobrane
68. GetErrorStatus 110 7 19 2 3 ASX AESEBUReceiver GetFormat 110 7 19 24 ASX _AESEBUReceiver_GetSampleRate 111 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen CONTENTS vii 7 19 2 5 ASX AESEBUReceiver SetFormat 111 7 20 AESEBU transmitter control functions 111 130 1 Detailed Description eme doi 112 7 20 2 Function Documentation 112 7 20 2 1 ASX AESEBUTransmitter EnumerateFormat 112 7 20 2222 ASX AESEBUTransmitter GetFormat 112 7 20 2 3 ASX AESEBUTransmitter_SetFormat 112 7 21 GPIO control functions lt gt lt s s ro o o o RF 113 Detailed DescHpHOH s o s ke ee a eee eee Oe 113 7 21 2 Function Documentation 113 7 21 2 1 ASX GPIO GetProperties 113 7 21 2222 ASX GPIO InputGet 114 7 21 2 3 ASX GPIO 114 7 2124 ASX GPIO OutputSet 115 T2 Vox CONMOLTUNCHONG 22222255 LEGO 115 2221 Detailed Description 2 2 2 2 BR GR 115 7 222 Fonction Documentation p 6 5 5668 8 ee eb 9S 116 P2221 ASX Vox Getlevel 116 7 22 2 2 ASX Vox GetRange 116 7222 3 5 Vox SetLewel occ oa escana rente 116 7 23 Genene control UNCON s pes o ooo he ee ee S 117 7231 Detailed Desenption 2 117 7 23 2 Function Documentation 117 7 23 2 1 5 GetGenericC
69. PLAY Adapter has 24 plabck streams asxADAPTERMODE_32_PLAY Adapter has 32 plabck streams 9 1 3 3 enum asxADPROPENUM_ MODE Adapter property enumerate mode settings Enumerator asxADPROPENUM_MODE_PROPERTIES Enumerate adapter properties asxADPROPENUM_MODE_SETTINGS Enumerate adapter property settings 9 1 3 4 enum asxXADPROPENUM SSX2 Adapter property SSX2 enumerate settings Enumerator asxADPROPENUM SSX2 OFF SSX2 off asxADPROPENUM SSX2 ON 55 2 on 9 1 3 5 enum asxXAESEBU FORMAT Digital mode settings Enumerator asxAESEBU FORMAT AESEBU AES EBU format is set to AES EBU pro fessional Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 203 asxAESEBU_FORMAT_SPDIF AES EBU format is set to S PDIF consumer asxAESEBU_FORMAT_UNDEFINED AES EBU format is undefined 9 1 3 6 enum asxXAESEBU STATUS AESEBU status bitfields Not translatable to strings Enumerator asxAESEBU ERROR AESEBU error asxAESEBU ERROR NOT LOCKED AESEBU not locked to input signal asxAESEBU ERROR POOR QUALITY AESEBU signal is poor quality asxAESEBU ERROR PARITY ERROR AESEBU parity error was detected asxAESEBU ERROR BIPHASE VIOLATION AESEBU Biphase violation asxAESEBU ERROR VALIDITY AESEBU validity error asxAESEBU ERROR CHANNELSTATUS AESEBU channel status er 9 1 3 7 enum asxXAUDIO FORMAT Audio Formats Enumerator asxAUDIO FORMAT PCMS 8 bit PCM unsigned asxAUDIO FORMAT
70. Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 26 2 3 5 32 ASX_ERROR ASX_Compander_GetDecayTimeConstant ASX_HANDLE hCompander enum asxCOMPANDER INDEX index unsigned int x pnDecay Get the decay time constant in ms Parameters hCompan A handle to an ASX Compander control object der index Index of timeconstant to get pnAttack Gets decay time in milliseconds Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 26 24 ASX32 ASX ERROR 5 Compander GetEnable ASX HANDLE hCompander unsigned int nOn Gets the on off parameter for the compander Parameters hCompan A handle to an ASX Compander control object der nOn Gets the compander ton off status Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 26 2 5 ASX32 5 ERROR ASX Compander GetMakeupGain ASX HANDLE hCompander float fMakeupGain Get the compander makeup gain Parameters hCompan A handle to an ASX Compander control object der JMakeup Returns the current makeup gain in dBFS Gain Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 124 Module Documentation Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 26 2 6 5 32 ASX_ERROR ASX_Compander_GetRatio ASX_HANDLE hCompander en
71. TYPE DIRECTX SILENCEDETECTOR SilenceDetector SubSystemTypes 20 154 ASX SYSTEM TYPE DUMMY ASX SilenceDetector SetEnable SubSystemTypes 21 SILENCEDETECTOR SilenceDetecto SX SYSTEM HPI 154 SubSystemTypes 21 ASX SilenceDetector SetEventEnable ASX SYSTEM TYPE HPIUDP SILENCEDETECTOR SilenceDetector SubSystemTypes 21 155 ASX SYSTEM TYPE PCXTOOLS ASX SilenceDetector SetThreshold SubSystemTypes 21 SILENCEDETECTOR SilenceDetecto SX SYSTEM TYPE PORTAUDIO 133 SubSystemTypes 21 ASX_System_Create ASX_SYSTEM_TYPE_SNMP System 23 SubSystemTypes 21 ASX_System_CreateSubSystem ASX_SYSTEM_TYPE_WAVE System 23 SubSystemTypes 21 ASX_System_Delete ASX_TIME System 24 asx h 201 ASX_System_GetAdapter ASX_ToneDetector_GetEnable System 24 TONEDETECTOR_ToneDetector 150 ASX_System_GetAdapterCount ASX_ToneDetector_GetEventEnable System 25 TONEDETECTOR_ToneDetector 150 ASX System GetCobranetAutoassignParmsNS X_ToneDetector_GetFrequency System 25 TONEDETECTOR ToneDetector 150 ASX System GetMessageLogging ASX ToneDetector GetState System 25 TONEDETECTOR ToneDetector 150 5 System GetName ASX ToneDetector GetThreshold System 26 TONEDETECTOR ToneDetector 151 ASX System GetVersion ASX ToneDetector SetEnable System 26 TONEDETECTOR_ToneDetector 151 ASX System RegisterErrorCallback ASX ToneDetector SetEventEnable System 27 TONEDETECTOR ToneDetector 151 ASX System SetCobranetAutoassignParmsAS X ToneDetector SetThresh
72. WriteProperty ASX HANDLE hAdapter const int nIndex const unsigned short wParml const unsigned short wParm2 Write an adapter property value ASX32 APIASX ERROR ASX Adapter WriteNvMem ASX HANDLE hAdapter const int nAddress const unsigned char c Value Write a byte to the non volatile memory ASX32 APIASX ERROR ASX Adapter ReadNvMem ASX HANDLE hAdapter const int nAddress unsigned char pc Value Read a byte from the non volatile memory ASX32 APIASX ERROR ASX Adapter GetNvMemsSizeInBytes ASX HANDLE hAdapter int pnCount Get the number of bytes in the adapter s non volatile memory ASX32 APIASX ERROR ASX Mixer ResetControls ASX HANDLE hMixer This function sets all the controls in the mixer to a known state 5 32 APIASX ERROR ASX Mixer GetSourceNodeCount ASX HANDLE hMixer int pnCount This function returns the nunber of source nodes in the mixer ASX32 5 ERROR ASX Mixer GetSourceNode HANDLE hMixer const int nSourceNode ASX HANDLE hNode This function gets the handle of a particular source node Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 179 ASX32_API ASX_ERROR ASX Mixer GetDestinationNodeCount ASX_HANDLE hMixer int pnCount This function returns the nunber of destination nodes in the mixer ASX32 APLASX ERROR ASX Mixer GetDestinationNode ASX HANDLE hMixer const int nDestinationNode ASX HANDLE hNode This functi
73. a Cobranet receiver s source MAC address for private bundles Parameters hCo A handle to an ASX cobranet receiver control branetRx dwMAC Sets the four most significant bytes of the source MAC address MSBs wMAC Sets the two least significant bytes of the source MAC address LSBs Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 30 Tone detector control functions 149 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 30 Tone detector control functions The tone detector monitors its inputs for the presence of any of a number of tones Functions ASX_ToneDetector_SetEnable Turns the entire tone detector on and off ASX ToneDetector GetEnable Returns whether the entire tone detector is on or off ASX ToneDetector SetEventEnable Turns the event reporting function of the tone detector on and off ASX ToneDetector GetEventEnable Returns whether the event reporting function of the tone detector is on or off ASX ToneDetector SetThreshold Sets the tone detector threshold units of dB e ASX ToneDetector GetThreshold Gets the tone detector threshold units of dB with respect to full scale eg ASX ToneDetector GetState Gets the tone detector state ASX ToneDetector GetFrequency Gets the centre frequency of each tone detector by index 7 30 1 Detailed Description The tone detector monitors its inputs for the p
74. asx h File Reference 191 ASX32_API ASX_ERROR ASX_GPIO_OutputSet ASX_HANDLE hGPIO int pnOutputBits const int nNumberOfBits Write to the GPIO relay outputs ASX32 API ASX ERROR ASX GPIO OutputGet ASX HANDLE hGPIO int pnOutputBits const int nNumberOfBits Read the current GPIO relay output settings ASX32 ASX ERROR ASX Vox SetLevel ASX HANDLE hVox const float fSetLevel Set vox level ASX32 API ASX ERROR ASX Vox GetLevel ASX HANDLE hVox float fGetLevel Get vox level ASX32 API ASX ERROR ASX Vox GetRange ASX HANDLE hVox float fMinLevel float fMaxLevel float fLevelStep Get that range of vox settings available ASX32 API ASX ERROR ASX GetGenericControlName 5 HANDLE hCon trol char Get the name of the control ASX32 API ASX ERROR ASX Mic SetPhantomPower ASX HANDLE hMic const int nOnOff Turn the phantom power on or off ASX32 APIASX ERROR ASX Mic GetPhantomPower ASX HANDLE hMic int pOnOff Get the current state of the phantom power on or off ASX32 API ASX ERROR ASX EQ GetInfo ASX HANDLE hParmEq un signed short pwNumberOfBands unsigned short pwEnabled Gets information on the equalizer ASX32 APIASX ERROR ASX EQ SetState ASX HANDLE hParmEq const unsigned short wOnOff Turns the equalizer on or off ASX32 APIASX ERROR ASX EQ SetBand ASX HANDLE hParmEq const unsigned short wIndex const enum asxEQBANDTYPE eType const unsigned long d
75. asxERROR_INVALID_CONTROL_ OPERATION 208 asxERROR_INVALID_CONTROL_ VALUE 208 asxERROR_INVALID_FORMAT 207 asxERROR_INVALID_NUMBER OF_CHANNELS 208 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 268 INDEX asxERROR INVALID OPERATION 207 ASSIGNED 208 asxERROR UNSUPPORTED CONTROL ATTRIBUTE 208 asxFILE FORMAT RAW 210 asxERROR AUTOASSIGN DISABLEBSXxFILE FORMAT 210 208 CHANGED 208 asxFILE MODE APPEND 210 asxFILE MODE CREATE 210 asxERROR MIXER SAVECONTROLSTATS amp FILE FORMAT 209 209 asxERROR NO ERROR 207 asxXERROR NO IP ADDRESSES AVAILABLE 208 asxERROR NOT OPEN 207 asxERROR OUTOFMEMORY 208 asxERROR PCAP ERROR 208 asxFILE MODE 210 asxHANDLE ADAPTER 210 asxHANDLE CONTROL 210 asxHANDLE INVALID 210 asxXHANDLE LAST 210 asxHANDLE MIXER 210 asxHANDLE NODE 210 asxERROR PLAYER FILEOPENERROR 55XHANDLE SYSTEM 210 209 asxHANDLE 210 asxERROR PLAYER FILEREADERROR SxMETER_PEAK 210 209 asxERROR PLAYER INTERNAL STATE FAILURE 209 asxERROR PLAYER INVALIDFILEFORN 209 PLAYER NOFILE 209 asxERROR PLAYER OUT OF SEQUEN CALL 209 asxERROR PLAYER TIME OUT 209 asxERROR PLAYER TWAV 209 PLAYER UNSUPPORTEDFOR 209 asxERROR RECORDER ILECREATEERRQR 209 asxMETER RMS 210 asxMETER TYPE 210 asxMSG LOGGING DEBUG 211 SG LOGGI
76. asxXCONTROL PARAMETRIC asxERROR AES18 asx h 206 asx h 207 asxXCONTROL PLAYER ALREADY OPEN asx h 206 asx h 207 asx CONTROL_RDS asxERROR ASXOBJECT asx h 205 asx h 207 asxXCONTROL RECORDER asxERROR BUFFER TOO SMALL asx h 206 asx h 207 asxXCONTROL RESERVED 525 asxERROR COBRANET NODE FOUND asx h 206 asx h 208 asxXCONTROL RESERVED 526 asxERROR COBRANET NODE NOT asx h 206 FOUND asxXCONTROL RESERVED 527 asx h 208 asx h 206 asxERROR COBRANET NODE UNREACHABLE asxXCONTROL RESERVED 528 asx h 208 asx h 206 COMMUNICATING WITH asxXCONTROL SAMPLE CLOCK DEVICE asx h 206 asx h 207 asx CONTROL_SILENCEDETECTOR asxERROR CONTROL NOT READY asx h 206 asx h 208 asx CONTROL_SRC asx ERROR_DEPRECATED asx h 206 asx h 208 asx CONTROL_TONEDETECTOR asxERROR DISCO DLL NOT FOUND asx h 206 asx h 208 asxXCONTROL TUNER asxERROR DUPLICATE ADAPTER INDEX asx h 205 asx h 208 asxCONTROL VOLUME ENUMERATE INDEX OUT asx h 205 OF RANGE asxCONTROL VOX asx h 207 asx h 205 asxXERROR FILE OPEN FAILED asxXEQBANDTYPE asx h 209 asx h 206 asxERROR HOST NOT FOUND asxXEQBANDTYPE BANDPASS asx h 208 asx h 207 asxERROR INDEX OUT OF RANGE asxXEQBANDTYPE BANDSTOP asx h 207 asx h 207 asxERROR INTERNAL BUFFERING asxXEQBANDTYPE BYPASS ERROR asx h 206 asx h 207 asxXEQBANDTYPE EQUALIZER asxERROR INVALID CONTROL asx h 207 asx h 208 asxXEQBANDTYPE HIGHPASS asxERROR INVALID CONTROL
77. attempt was made to call a deprecated func tion asxERROR TOO MANY CLIENTS Too many network clients communicat ing with the device asxERROR COBRANET NODE NOT FOUND AsiCnDisco has not found this node asxERROR COBRANET NODE FOUND AsiCnDisco has found this node but hasn t assigned an IP address asxERROR NO IP ADDRESSES AVAILABLE The entire range specified for IP autoassigment is in use asxERROR IP ASSIGNED AsiCnDisco tried to assign an address to this Co braNet node asxERROR IP CHANGED The IP address for this CobraNet node has changed it should be non zero asxERROR IP AUTOASSIGN DISABLED The IP address auto assign fea ture is disabled asxERROR PCAP ERROR The pcap driver failed to start asxERROR DISCO DLL NOT FOUND The asicndiscoXX dll failed to load asxERROR HOST NOT FOUND The specified host IP address is not in the list of available adapters asxERROR COBRANET NODE UNREACHABLE The node is on another subnet and is unreachable via SNMP asxERROR DUPLICATE ADAPTER INDEX HPI adapter has a dupli cate index asxERROR INVALID CONTROL attempt was made to use an invalid con trol asxERROR INVALID CONTROL VALUE attempt was made to set a con trol to an invalid value asxERROR INVALID CONTROL NOT FOUND The specified control could not be found asxERROR INVALID NUMBER OF CHANNELS An invalid number of chan nels were passed in asxERROR INVALID CONTROL ATTRIBUTE n attempt was made to set an
78. attribute or property of a control that does not exist asxERROR UNSUPPORTED CONTROL ATTRIBUTE Control attribute or function is not supported by this hardware asxERROR INVALID CONTROL OPERATION Control does not support the requested operation Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 209 asxERROR CONTROL NOT READY Control is not ready for the requested operation asxERROR FILE OPEN FAILED File open failed asxERROR PLAYER INTERNAL STATE FAILURE Player control had an internal state error contact AudioScience asxERROR PLAYER TIME OUT Player control had an internal timeout error contact AudioScience asxERROR PLAYER OUT OF SEQUENCE CALL Anattempt was made to perform an operation that is illegal in the current player state asxERROR PLAYER TWAV Internal player error asxERROR PLAYER NOFILE Operation requires an open filehandle and no file is open asxERROR PLAYER INVALIDFILEFORMAT File is invalid or corrupt asxERROR PLAYER UNSUPPORTEDFORMAT File is in an unsupported for mat asxERROR PLAYER FILEREADERROR error occured when reading the file asxERROR PLAYER FILEOPENERROR Could not open the file It may be missing asxERROR RECORDER INTERNAL STATE FAILURE Recorder control had an internal state error contact AudioScience asxERROR RECORDER TIME OUT Recorder control had an internal time out error contact AudioScience asxERROR RECORDER OUT OF SEQUENCE
79. by Doxygen 10 12 tuner main c 259 ASX HANDLE hAdapter ASX HANDLE hMixer ASX HANDLE hTuner ASX HANDLE hPAD ASX ERROR asxError int nAdapterToUse 0 int i nLen unsigned long 1Freq float fMin fMax fStep fGain float fLevel enum asxTUNERBAND eBand int nCount char szString 64 int nRequiredStringSize unsigned int nStatusBits nStatusMask create the system ASX System Create ASX SYSTEM TYPE HPI amp hSystem CheckError hSystem LINE 1 get the adapter asxError ASX System GetAdapter hSystem nAdapterToUse amp hAdapter CheckError hSystem LINE 1 ASX Adapter GetName hAdapter 0 0 amp nLen CheckError hAdapter LINE 1 pszName char x malloc nLen ASX Adapter GetName hAdapter pszName nLen amp nLen CheckError hAdapter LINE 1 printf Adapter d is Ss Mn nAdapterToUse pszName get the mixer handle asxError ASX Adapter GetMixer hAdapter amp hMixer CheckError hAdapter LINE 1 get a tuner object index 0 asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer TUNER IN 0 0 0 asxCONTROL_TUNER amp hTuner CheckError hMixer LINE 1 print out some control details PrintControlName hTuner get Tuner band asxError ASX Tuner GetBand hTuner amp eBand CheckError hTuner LINE 1 if lasxError r ASXSTRING EnumToString eBand szString 64 amp nRequiredStringSize
80. control ASX32 API ASX ERROR ASX Meter GetRMS ASX HANDLE hMeter float fdB const int nChannels Returns the RMS meter reading for the given meter control 8 32 ASX ERROR ASX Meter SetBallistics 5 HANDLE hMe ter const enum asxMETER TYPE nMeterType const float fAttackTimeMs const float fDecayTimeMs Set the meter ballistics 2 ASX ERROR ASX Meter GetBallistics ASX HANDLE hMe ter const enum asxMETER TYPE nMeterType float fAttackTimeMs float fDecayTimeMs Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 184 File Documentation Get meter ballistics ASX32 APIASX ERROR ASX_Volume_GetChannels ASX_HANDLE hVol ume int pnChannels Returns the number of channels this volume control has ASX32_API ASX_ERROR ASX_Volume_SetMute ASX_HANDLE hVolume int mute const int nChannels Sets mute for this volume control ASX32 APIASX ERROR ASX Volume GetMute ASX HANDLE hVolume int mute const int nChannels Returns the mute setting for this volume control ASX32 API ASX ERROR ASX Volume SetGain ASX HANDLE hVolume float fSetdB const int nChannels Set volume ASX32 APIASX ERROR ASX Volume GetGain ASX HANDLE hVolume float fdB const int nChannels Get volume ASX32 APIASX ERROR ASX Volume GetRange ASX HANDLE hVolume float fMinGain float fMaxGain float fGainStep Get that range of volume settings available 5 32 5 ERROR ASX V
81. error otherwise one of asxERROR is returned 7 16 2 31 5 32 ERROR Tuner SetFrequency ASX HANDLE const unsigned long nFreq Set the tuner frequency This function sets the tuner frequency subject to the allowable range of frequencies for the current tuner band setting Parameters hTuner A handle to an ASX tuner control nFreq The frequency to set in kHz Returns Returns 0 if there is no error otherwise one of asxERROR is returned Note The tuner band may not change immediately It may take up to 300ms to change To determine when the band has changed call ASX Tuner GetBand until it re turns the new band Examples tuner main c 7 16 2 32 5 32 ERROR ASX Tuner SetGain HANDLE const float fTunerGain Set the tuner gain Parameters hTuner A handle to an ASX tuner control Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 16 Tuner control functions 99 Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 7 16 2 33 5 32 ASX_ERROR ASX Tuner SetHdBlend ASX HANDLE htTuner const enum asx TUNERHDBLEND nMode Set a HD Radio tuner to analog only or auto switch Parameters hTuner A handle to an ASX tuner control nMode 0 is automatic switch to digital 1 is analog only Return
82. for ASX by Doxygen CONTENTS 7 26 2 12 ASX Compander SetMakeupGain 126 7 26 2 13 ASX_Compander_SetRatio 126 7 26 2 14 Compander SetThreshold 127 7 27 CobraNet control functions 127 7 27 1 Detaled Description 2 22 129 7 27 2 Function Documentation 129 7 27 2 1 ASX _Cobranet_EnumerateModes 129 7 27 2 2 ASX_Cobranet_GetConductorPriority 129 7 27 2222 ASX_Cobranet_GetConductorStatus 129 7 27 24 ASX _Cobranet_GetDescription 130 7 27 2 5 ASX _Cobranet_GetErrorInfo 130 7 27 2 6 ASX Cobranet GetFirmwareRevision 131 7 2727 ASX Cobranet GetlfStatus 131 7 27 2 8 ASX Cobranet GetlPAddress 131 7 27 2 9 5 Cobranet GetLatencyAndSampleRate 132 7 27 2 10 ASX Cobranet GetLocation 132 7 27 2 11 8 _Cobranet_GetMACAddress 132 7 27 2 12 ASX _Cobranet_GetMode 133 7 27 2 13 ASX _Cobranet_GetName 133 7 27 2 14 ASX _Cobranet_GetPersistence 133 7 27 2 15 ASX_Cobranet_GetSerialConfig 134 7 27 2 16 ASX _Cobranet_GetSerialEnable 134 7 27 2 17 ASX_Cobranet_GetStaticIPAddress 134 7 27 2 18 ASX_Cobranet_SetConductorPriority 135 7 27 2 19 ASX _Cobranet_SetIPAddress 135 7 27 2 20 ASX_Cobranet_SetLatencyAndSampleRate 135 7 27 2 21 ASX Cobranet SetLocat
83. gain ratio Value is given in hundreths wRatio100 72 means 0 72 nThresholdO OldB Sets the threshold above which the ratio applies Value is given in hun dreths 01dB Adds a positive or negative offset to the output gain Value is given in nMakeupGain hundreths Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 26 2 9 ASX32 5 ERROR ASX Compander SetAttackTimeConstant ASX HANDLE hCompander enum asxCOMPANDER INDEX index const unsigned int nAttack Set the attack time constant in ms Parameters hCompan der A handle to an ASX Compander control object index Index of timeconstant to set nAttack Sets attack time in milliseconds Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 26 2 10 5 32 ERROR ASX_Compander_SetDecayTimeConstant ASX HANDLE hCompander enum asxCOMPANDER INDEX index const unsigned int nDecay Set the decay time constant in ms Parameters hCompan der A handle to an ASX Compander control object index Index of timeconstant to set nDecay Sets decay time in milliseconds Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 126 Module Documentation Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 26 2 11 5 32 ASX ERROR ASX_Compander_Set
84. h 220 name 164 asxPARAM RANGE NONE value 164 asx h 220 asxParameterValue 164 asxPARAM RANGE NUMBER OF BITS 164 asx h 220 size 164 asxPARAM RANGE STEPPED FLOAT ultems 164 asx h 220 value 164 asxPARAM RANGE STEPPED INTEGERsxPLAYER DESTROY asx h 220 asx h 213 asxPARAM RANGE STRING LENGTH asxPLAYER DONE asx h 220 asx h 213 asxPARAM TYPE BOOLEAN asxPLAYER FILE COMPLETE asx h 219 asx h 212 asxPARAM TYPE DOUBLE asxPLAYER FILE START asx h 219 asx h 212 asxPARAM FLOAT asxPLAYER FILELIST COMPLETE asx h 219 asx h 212 asxPARAM INTEGER asxPLAYER INIT asx h 219 asx h 213 asxPARAM IPA ADDRESS asxPLAYER OPEN asx h 219 asx h 213 asxPARAM TYPE IP6 ADDRESS asxPLAYER PAUSED asx h 219 asx h 213 asxPARAM TYPE MAC ADDRESS asxPLAYER PREFILL asx h 219 asx h 213 asxPARAM TYPE NONE asxPLAYER RUNNING asx h 219 asx h 213 asxPARAM TYPE STRING asxPLAYER FLAGS asx h 219 asx h 212 asxParameterRangelInfo 161 asxPLAYER STATE count 163 asx h 212 enumerated 163 asxRECORD MODE DONT CARE enumerated float 163 asx h 213 enumerated integer 163 asxRECORD MODE DUAL enums 163 asx h 213 floating 163 asxRECORD MODE JOINT STEREO fmax 163 asx h 213 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 284 INDEX asxRECORD_MODE_MONO asx h 213 asxRECORD_MODE_STEREO asx h 213 asxRECORD_MODE asx h 213 asx RECORDER_DESTROY asx h 213 asxRECORDE
85. hToneDetector unsigned int nindex unsigned int nState Gets the centre frequency of each tone detector by index This can be used to determine the meanings of the state bits Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 30 24 5 32 ASX ERROR ASX_ToneDetector_GetState ASX HANDLE hToneDetector unsigned int nState Gets the tone detector state The state is a bitfield Pairs of bits represent left and right channels of detectors Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 30 Tone detector control functions 151 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 30 2 5 5 32 ASX ERROR ToneDetector GetThreshold ASX_HANDLE hToneDetector float fThreshold Gets the tone detector threshold units of dB with respect to full scale eg 20dBFS Tones with level above 20dBFs threshold are detected Tones must have a minimum duration of 200ms before they are detected Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 30 2 6 5 32 ASX ERROR ASX_ToneDetector_SetEnable ASX HANDLE hToneDetector const unsigned int nEnable Turns the entire tone detector on and off Parameters hToneDetec A handle to an ASX tone detector control tor nEnable A value of 1 enables the tone detector and a value of O disables it Returns Returns 0 if
86. int pnCount Enumerate each sample clock source option ASX32 APIASX ERROR 5 SampleClock SetClockSource 5 HANDLE hSampleClock const enum asxXSAMPLE CLOCK SOURCE eClockSource Set the sample clock source ASX32 APIASX ERROR ASX SampleClock GetClockSource ASX HANDLE hSampleClock enum asxXSAMPLE CLOCK SOURCE peClockSource Get the sample clock source ASX32 APIASX ERROR ASX SampleClock SetAutoSource 5 HANDLE hSampleClock const int nEnable Set the sample clock to automatically source its clock from a valid input ASX32 APIASX ERROR ASX SampleClock GetAutoSource ASX HANDLE hSampleClock int pnEnable Get the setting of the auto source property of the sample clock ASX32 APIASX ERROR ASX SampleClock SetLocalRateLock 5 HANDLE hSampleClock const int nLock Lock the local sample clock to its current setting Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 190 File Documentation ASX32 APIASX ERROR ASX_SampleClock_GetLocalRateLock ASX HANDLE hSampleClock int pnLock Get the setting of the local sample clock lock ASX32 APIASX ERROR ASX AESEBUReceiver GetErrorStatus ASX HANDLE hAESEBUR x unsigned int pdwErrorStatusMask unsigned int pdwErrorStatus Get the status of the AESEBU receiver ASX32 ASX ERROR ASX AESEBUReceiver GetSampleRate ASX HANDLE hAESEBUR x unsigned int xpdwSampleRate Get the sample rate of the AESEBU receiver 5 32 5 ER
87. is no error otherwise one of asxERROR is returned 7 5 2 4 ASX32 ERROR ASX Adapter GetDspUtilization ASX HANDLE const int nDspindex int pnDspUtilization Gets an adapter s DSP utilization This function returns the DSP percentage utilization of the audio adapter referenced by hAdapter The utilization can be used to check the running algorithms do not over tax the DSP Note This function is currently only supported by the ASX_SYSTEM_TYPE_HPI in terface Parameters hAdapter A handle to an ASX adapter object nDspIndex The DSP index On adapters with more than one DSP all DSPs can be accessed using this index field pnDspUti The returned DSP utilization in percent lization Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 36 Module Documentation Examples adapter main c 7 5 2 5 5 32 ASX_ERROR ASX_Adapter_GetFirmwareRevision ASX_HANDLE hdAdapter char pszRevision Gets an adapter s firmware revision This function returns the revision of the firmware running on an audio adapter refer enced by hAdapter An example of a revision string is v1 25 Note This function is currently only supported by the ASX_SYSTEM_TYPE_HPI in terface Parameters hAdapter A handle to an ASX adapter object pszRevision A
88. mode stereo asxRECORD MODE JOINT STEREO 1 Layer 2 mode joint stereo This allows channels to be merged at some frequencies asxRECORD MODE DUAL 1 Layer 2 mode dual mono Main tain left and right channel separation Requires a higher bitrate asxRECORD MODE MPEG 1 Layer 2 mode mono asxRECORD MODE DONT CARE Use this mode for PCM files and formats that don t have a mode 9 1 3 25 enum asxRECORDER STATE Recorder States Enumerator asxRECORDER INIT Initialized state asxRECORDER OPEN Recorder is open asxRECORDER RUNNING Recorder is recording to a file asxRECORDER PAUSED Recorder is paused asxRECORDER DONE Recorder is halted and is no longer recording asxRECORDER DESTROY Recorder is being destroyed Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 214 File Documentation 9 1 3 26 enum asxSAMPLE_ CLOCK SOURCE Sample clock source options Enumerator asxSAMPLE_CLOCK_SOURCE_ADAPTER deprecated Use asxSAMPLE_ CLOCK_SOURCE_LOCAL asxSAMPLE_CLOCK_SOURCE_AESEBUSYNC Sample clock source is de rived from an AESEBU sync input asxSAMPLE CLOCK SOURCE WORD Sample clock source is derived from external word clock connector asxSAMPLE CLOCK SOURCE WORD HEADER Sample clock source is de rived from word clock header on the adapter asxSAMPLE CLOCK SOURCE SMPTE Sample clock source is derived from SMPTE asxSAMPLE CLOCK SOURCE NETWORK Sample clock source is derived from
89. n ASX_Player_Wait hPlayer CheckError hPlayer __LINE__ printf Looping while player state is asxPLAYER_RUNNING n 1 1 enum asxPLAYER_STATE 5 ASX Player GetState hPlayer 865 CheckError hPlayer LINE if s asxPLAYER RUNNING 1 printf Player state d n int s break Sleep 10 printf Pausing 1 second before issuing ASX_Player_Stop n Sleep 1 printf Call ASX_Player_Stop n ASX Player Stop hPlayer 1 error Bad TEST define value Not ASX Player GetState hPlayer amp state ASXSTRING EnumToString state 0 0 amp nLen pState char malloc nLen ASXSTRING_EnumToString state pState nLen nLen printf Playback complete Final state s n pState close the file being played ASX Player Close hPlayer CheckError hPlayer LINE tested start position other than 0 ASX32 API ASX ERROR ASX Player Start ASX HANDLE hPlayer float fPosition ASX32 API ASX ERROR ASX Player Pause ASX HANDLE hPlayer ASX32 API ASX ERROR ASX Player Stop ASX HANDLE hPlayer ASX32 ASX ERROR ASX Player GetPosition ASX HANDLE hPlayer float xpfPosition 5 32 ASX ERROR ASX Player GetState ASX HANDLE hPlayer int xpstate ASX32 API ASX ERROR ASX Player SetTimeScale ASX HANDLE hPlayer float fScaleFact or printf Press ENTER to exit n getchar ASX System Delete hSystem return 0
90. name of the parameter It should be of length ASX_SHORT_STRING tringLength The length on the string pointed to be szName Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 32 Block functions 159 7 32 27 5 32 ASX_ERROR ASX_Block_Parameter_GetRange ASX_HANDLE hBlock const unsigned int uParameterindex struct asxParameterRangelInfo info Gets the parameter range Parameters hBlock A handle to an ASX block uParame terIndex The index of the parameter of interest info Returned range structure See asxParameterRangelInfo Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 32 2 8 5 32 ASX ERROR ASX Block Parameter GetType ASX HANDLE hBlock const unsigned int uParameterindex enum asxUCONTROL PTYPE eType Gets the type of parameter number uParameterIndex Parameters hBlock A handle to an ASX block uParame terIndex The index of the parameter of interest eType Returned parameter type See asx UCONTROL_PTYPE Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 32 2 ASX32 APLASX ERROR ASX Block Parameter GetUnits ASX HANDLE hBlock const unsigned int uParameterindex char szParameterUnits const unsigned int uStringL
91. of opto 0 and pnBits 1 is the reading of opto 1 pnBits elements will be set to either 1 or 0 nNumberOf Bits The number of bits which should be set to the dimension of pnBits Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 21 23 ASX32 5 ERROR GPIO OutputGet ASX HANDLE int pnOutputBits const int nNumberOfBits Read the current GPIO relay output settings This functions reads all the GPIO outputs Parameters hGPIO A handle to an ASX GPIO control object pnOutput Bits An array of dimension nNumberOfBits elements that is used to return the relay settings nNumberOf Bits The number of bits which must be set to the dimension of pnBits Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 22 Vox control functions 115 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 21 24 5 32 ASX_ERROR ASX_GPIO_OutputSet ASX HANDLE GPIO pnOutputBits const int nNumberOfBits Write to the GPIO relay outputs This functions writes to all the GPIO outputs setting the outputs to the values of pnBits Parameters hGPIO A handle to an ASX GPIO control object pnOutput An array of dimension nNumberOfBits elements that is used to set the re Bits lays All elements should be set to a value of either 1 or 0 nNumberOf T
92. on Thu Dec 17 2015 10 17 26 for ASX by Doxygen Chapter 9 File Documentation 9 1 asx h File Reference Data Structures struct asxParameterRangeInfo_NamedEnumerated struct asxParameterRangelInfo struct asxParameter Value struct asxCobranetIpAutoassignParameters Defines define ARRAY SIZE X sizeof X sizeof X 0 define ASX32 define ASX SYSTEM 0 Use this to select ASI s HPI interface when calling ASX_System_Create define ASX_SYSTEM_TYPE_WAVE 1 Use this to select Microsoft s WAVE interface when calling ASX_System_Create define ASX_SYSTEM_TYPE_ALSA 2 Use this to select the Linux ALSA interface when calling ASX_System_Create define ASX SYSTEM TYPE DIRECTX 3 Use this to select Microsoft s DirectX interface when calling ASX System Create define ASX SYSTEM PORTAUDIO 4 Use this to select the PortAudio interface when calling ASX System Create fidefine ASX SYSTEM TYPE PCXTOOLS 5 Use this to select Digigram s PCX interface when calling ASX System Create 166 File Documentation define ASX_SYSTEM_TYPE_SNMP 6 Use this to select Cobranet SNMP interface when calling ASX_System_Create define ASX_SYSTEM_TYPE_HPIUDP 7 Use this to select ASI s HPI interface over UDP when calling ASX_System_Create Also supports HPI define ASX_SYSTEM_TYPE_DUMMY 8 Dummy backend define ASX_SYSTEM_TYPE_ANY 9 Wild card any subsystem reserved define
93. pszAsxErrorString free pszAsxSubSystemErrorString return 0 asxError ASX System GetVersion system 0 0 amp nLenl 0 0 amp nLen2 pszAsxVersion char x malloc nLenl pszAsxSubsysVersion char x malloc nLen2 asxError ASX System GetVersion system pszAsxVersion nLenl amp nLenl pszAsx SubsysVersion nLen2 amp nLen2 asxError ASX System GetName system 0 0 amp nLen pszSystem char malloc asxError ASX System GetName system pszSystem nLen amp nLen printf System Ver s nSubsystem s Ver s n pszAsxVersion pszSystem pszA sxSubsysVersion asxError ASX System GetAdapterCount system amp nAdapters printf There are d audio adapters in the system nAdapters printf Press ENTER to exit n getchar ASX System Delete system free pszAsxVersion free pszAsxSubsysVersion free pszSystem return 0 10 12 tuner main c This is an example of how to use the ASX tuner control functions SHeader home eliot asi repo cvsrepo Repository apps asx examples tuner main c v 1 9 2008 06 09 18 41 41 as age Exp include stdio h include stdlib h include asx h include asxstring h int CheckError ASX HANDLE hObj const int nLine const int nExitOnError void PrintControlName ASX HANDLE hControl ASX HANDLE hSystem int main int char argv char xpszName Generated on Thu Dec 17 2015 10 17 26 for ASX
94. returned Returns asxERROR INDEX OUT OF RANGE if the buffer is too small 7 9 2 5 5 32 ASX ERROR ASX Player GetLoopMode ASX HANDLE hPlayer int pnLooping Get the current player loop mode Parameters hPlayer handle to an ASX player control object pnLooping Pointer to return value 1 for looping 0 for single play Returns Returns 0 if there is no error otherwise one of asxXERROR is returned Returns asxERROR INDEX OUT RANGE if the buffer is too small 7 9 2 6 ASX32 ERROR ASX Player GetPosition ASX HANDLE hPlayer const enum asxXTIMESCALE nType unsigned long plPosition Get the current playback position as the offset in bytes samples or milliseconds from the beginning or end of the file depending on the timescale code used NOTE For compressed file it is assumed that the same bitrate is used throughout the file If the file uses different bitrates sometimes called bitrate switching then the position may not be accurate Parameters hPlayer A handle to an ASX player control object nType The units to return the position in see asx TIMESCALE plPosition current relative playback position Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 9 Player control functions 61 7 9 27 5 32 ASX_ERROR ASX _P
95. s bundle ASX CobranetTx GetChannelCount Gets a Cobranet transmitter s channel count ASX CobranetTx SetChannelCount Sets a Cobranet transmitter s channel count ASX CobranetTx GetChannelMap Gets a Cobranet transmitter s channel map Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 28 Cobranet transmitter control functions 139 ASX_CobranetTx_SetChannelMap Sets a Cobranet transmitter s channel map ASX_CobranetTx_GetFormat Gets a Cobranet transmitter s sub format map ASX_CobranetTx_SetFormat Sets a Cobranet transmitter s channel format ASX_CobranetTx_GetUnicastMode Gets a Cobranet transmitter s unicast information ASX_CobranetTx_SetUnicastMode Sets a Cobranet transmitter s unicast information 7 28 1 Detailed Description These functions implement Cobranet transmitter configuration 7 28 2 Function Documentation 7 28 21 ASX32 ERROR ASX CobranetTx GetBundle ASX HANDLE hCobranetTx unsigned int pnBundle Gets a Cobranet transmitter s bundle Parameters hCo branetTx A handle to an ASX cobranet transmitter control pnBundle The transmitter s assigned bundle A value of 0 indicates that the tranmitter is disabled Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 7 28 22 5 32 ERROR ASX CobranetTx GetChannelCount ASX HANDLE hCobranetTx
96. set Note that the ASI2416 only supports a sample rate of 48 kHz Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2 21 5 32 ASX_ERROR ASX_Cobranet_SetLocation ASX_HANDLE hCobranet const char x pszLonginputString Set the device s location in the sysLocation SNMP field Maximum name length is 60 characters Parameters hCobranet A handle to an ASX cobranet control pszLongIn Pointer to a 0 terminated string of length ASX_LONG_STRING Only the putString first 60 characters of the string should be used Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2 22 ASX32 ASX_ERROR ASX Cobranet SetMode ASX HANDLE hCobranet const enum asx COBRANET_MODE eMode Deprecated This function has been removed it is stubbed out 7 27 2 23 5 32 ASX_ERROR Cobranet SetName ASX_HANDLE hCobranet const char x pszLonginputString Set the device s name in the sysName SNMP field Maximum name length is 60 characters Parameters hCobranet A handle to an ASX cobranet control pszLongIn Pointer to a 0 terminated string of length ASX LONG STRING Only the putString first 60 characters of the string should be used Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 27 CobraNet control functions 137 Returns Returns 0 if there is no error othe
97. sxParame ferVal e os sss ee Re Rec m 164 16 Data Structure Index Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen Chapter 6 File Index 18 File Index Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen Chapter 7 Module Documentation 7 1 SubSystem types The types of audio subsystems that can operate using the ASX interface Defines define ASX_SYSTEM_TYPE_HPI 0 Use this to select ASI s HPI interface when calling ASX_System_Create define ASX_SYSTEM_TYPE_WAVE 1 Use this to select Microsoft s WAVE interface when calling ASX_System_Create define ASX SYSTEM ALSA2 Use this to select the Linux ALSA interface when calling ASX System Create fdefine ASX SYSTEM TYPE DIRECTX 3 Use this to select Microsoft s DirectX interface when calling ASX System Create define ASX SYSTEM PORTAUDIO 4 Use this to select the PortAudio interface when calling ASX System Create define ASX SYSTEM PCXTOOLS 5 Use this to select Digigram s PCX interface when calling ASX System Create define ASX SYSTEM TYPE SNMP 6 Use this to select Cobranet SNMP interface when calling ASX System Create define ASX SYSTEM TYPE HPIUDP 7 Use this to select ASI s HPI interface over UDP when calling ASX System Create Also supports HPI 20 Module Documentation define ASX SYSTEM TYPE DUMMY 8 Dummy backend define ASX SYSTEM TYPE ANY
98. the current setting asxError ASX Multiplexer Get hMux amp eNode amp nNodeIndex ASXSTRING EnumToString eNode szName 64 amp nRequiredLength printf Multiplexer currently set to enum d index d s dWn eNode nNodeI ndex szName nNodeIndex printf Press ENTER to exit n getchar ASX System Delete hSystem return 0 void PrintControlName ASX HANDLE hControl ant char pszName int nLen enum asxCONTROL eControl ASX Control GetType hControl amp eControl ASXSTRING EnumToString eControl 0 0 amp nLen pszName char malloc nLen ASXSTRING_EnumToString eControl pszName nLen amp nLen printf Control s n pszName free pszName CheckError ASX HANDLE hObj int nLine int nError int asxSubSystemErrorCode 0 char xpszAsxErrorString char pszAsxSubSystemErrorString int nLenl nLen2 ASX Error GetLast hObj amp nError amp asxSubSystemErrorCode Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 246 Example Documentation if nError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorString char 11 nLen1 pszAsxSubSystemErrorString char malloc nLen2 ASX Error GetLastString hObj pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf Error d s Subsystem Error ld s Mn nError pszAsxErrorString asxSubSystemErrorCode pszAsxSubSystemError
99. the meter ballistics Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 76 Module Documentation The attack and decay values represent the time constants of the equivalent single pole low pass filter used to create the ballistics With a time constant of T if the meter is stable at full scale and the input is suddenly removed the meter will decay Similarly if the meter is at zero and a full scale input is applied will move to the new reading at a rate specified by the attack time constant Driver versions up to and including version 4 04 xx implement a single global ballis tics setting for all meters i e if you change the ballistics on one meter the ballistics on all meters are updated Driver versions in the 4 05 xx series and later implement independent ballistics for each meter The following table shows the percentage of the final meter value over time when a constant input is suddenly removed decay or applied attack Time Meter decay Meter attack 0 100 0 T 37 63 2T 14 86 3T 5 95 4T 2 98 5T 0 796 99 Table 7 94 Attack and decay compared to time The table was calculated using the following formulas decay intial eT and attack finale 1 eT Parameters hMeter A handle to an ASX meter object nMeterType The meter type to set the balistics of See asxMETER TYPE fAttack The attack time in milliseconds TimeMs fDecay The decay time in mi
100. there is no error otherwise one of asxERROR is returned 7 30 27 5 32 ERROR ASX_ToneDetector_SetEventEnable HANDLE hToneDetector const unsigned int nEnable Turns the event reporting function of the tone detector on and off Parameters hToneDetec handle to an ASX tone detector control tor nEnable value of 1 enables the tone detector event reporting and a value of 0 disables it Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 152 Module Documentation 7 30 2 8 5 32 ASX ERROR ASX_ToneDetector_SetThreshold ASX_HANDLE hToneDetector const float fThreshold Sets the tone detector threshold units of dB Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 31 Silence detector control functions These functions control a silence detector Functions e ASX SilenceDetector SetEnable Turns the entire silence detector on and off e ASX SilenceDetector GetEnable Returns whether the entire silence detector is on or off ASX SilenceDetector SetEventEnable Turns the event reporting function of the silence detector on and off e ASX SilenceDetector GetEventEnable Returns whether the event reporting function of the silence detector is on or off e ASX SilenceDetector SetDelay Set the silence detector delay e ASX Sil
101. 0 asx TIMESCALE SAMPLES REMAINING asx h 216 asx h 217 asxSAMPLE RATE 192000 asxXTUNER RDS TYPE RBDS asx h 216 asx h 217 asxSAMPLE RATE 22050 asxXTUNER RDS TYPE RDS asx h 216 asx h 217 asxSAMPLE RATE 24000 asxXTUNER STATUS DIGITAL asx h 216 asx h 217 asxSAMPLE RATE 32000 asxXTUNER STATUS FIRMWARE LOADING asx h 216 asx h 217 asxSAMPLE RATE 44100 asxXTUNER STATUS FM STEREO asx h 216 asx h 217 asxSAMPLE RATE 48000 asxXTUNER STATUS MULTIPROGRAM asx h 216 asx h 217 asxSAMPLE RATE 64000 asxXTUNER STATUS PLL LOCKED asx h 216 asx h 217 asxSAMPLE RATE 8000 asxXTUNER STATUS VIDEO COLOR asx h 216 PRESENT asxSAMPLE RATE 88200 asx h 217 asx h 216 asxXTUNER STATUS VIDEO HORZ SYNC asxSAMPLE RATE 96000 MISSING asx h 216 asx h 217 asxSAMPLE RATE UNDEFINED asxXTUNER STATUS VIDEO 15 60HZ asx h 216 asx h 217 asxSAMPLE CLOCK SOURCE asxXTUNER STATUS VIDEO VALID asx h 213 asx h 217 asxSAMPLE RATE asx TUNER_RDS_TYPE asx h 216 asx h 217 asxstring h 220 asx TUNER_STATUS ASX32_API 221 asx h 217 ASXSTRING_EnumToString 221 asx TUNERBAND ASXSTRING_StringToEnum 221 asx h 217 ASXSTRING_EnumToString asx TUNERBAND_AM asxstring h 221 asx h 217 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 286 INDEX asx TUNERBAND_AUX asx TUNERPROGRAM_5 asx h 217 asx h 219 asx TUNERBAND_DAB asxXTUNERPROGRAM 6 asx h 218 asx h 219 asx TUNERBAND_FM asx TUNERPROGRAM_7 asx h 217 asx h 219 asx TUNERBAND_FM
102. 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 7 27 2 5 5 32 ASX ERROR ASX Cobranet GetErrorlnfo ASX HANDLE hCobranet unsigned int pnCode unsigned int x pnCount unsigned int pnDisplay Gets a device s error information Returns SNMP variables errorCode errorCount and errorDisplay Parameters hCobranet A handle to an ASX cobranet control pn Code Pointer used to return error code See error code listing the Cobranet Pro grammer Manual from Cirrus Logic pnCount Pointer used to return error count which contains the number of errors that have occurred pnDisplay Pointer used to return error display number Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 27 CobraNet control functions 131 7 27 2 6 5 32 ASX_ERROR Cobranet GetFirmwareRevision Gets a device s ASX_HANDLE hCobranet char pszRevision firmware revision This is a combination of SNMP fields firmwareProtocolVersion firmwareMajorVer sion and firmwareMinorVersion Parameters hCobranet A handle to an ASX cobranet control pszRevision A pointer to a char array of length ASX_SHORT_STRING to return the revision string Returns Returns 0 if there is no error otherwise one of asxERROR is returned
103. 015 10 17 26 for ASX by Doxygen 146 Module Documentation Parameters hCo A handle to an ASX cobranet receiver control branetRx pdwMAC Gets the four most significant bytes of the source MAC address MSBs Gets the two least significant bytes of the source MAC address LSBs Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 29 25 5 32 ASX ERROR ASX_CobranetRx_GetStatus ASX_HANDLE hCobranetRx unsigned int pnStatus unsigned int pnDropouts unsigned int pnDelay unsigned int nFormat 8 Gets a Cobranet receiver s status This function reads SNMP variables rxStatus rxDropouts rxDelay and rxSubFormat Parameters hCo A handle to an ASX cobranet receiver control branetRx pnStatus 1 indicates a bundle is being received 0 indicates no bundle is being re ceived pnDropouts Counts the number of times bundle reception has been interrupted pnDelay A non zero value indicates the number of additional delays imposed on the received audio due to network forwarding delays Delay is expressed in units of the system latency ie 1 1 3ms for 5 1 3ms latency Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 29 Cobranet receiver control functions 147 nFormat The format information for the received audio channels Subformat codes are shown in the following table The least signific
104. 015 10 17 26 for ASX by Doxygen 168 File Documentation asxERROR FILE OPEN FAILED 336 asXERROR PLAYER INTERNAL STATE FAILURE 384 asxERROR PLAYER TIME OUT 385 PLAYER OUT OF SEQUENCE CALL 386 PLAYER TWAV 387 asXERROR PLAYER NOFILE 388 asxERROR_ PLAYER INVALIDFILEFORMAT 389 PLAYER UNSUPPORTEDFORMAT 390 PLAYER FILEREADERROR 391 asxERROR PLAYER FILEOPENERROR 392 asxXERROR RECORDER INTERNAL STATE FAILURE 448 asxERROR_ RECORDER TIME OUT 449 asxERROR RECORDER OUT OF SEQUENCE CALL 450 asXERROR RECORDER TWAV 451 RECORDER FILECREATEERROR 452 RECORDER FILEWRITEERROR 453 asxERROR RECORDER FORMATMISMATCH 454 asXERROR RECORDER INVALIDFILENAME 455 asxERROR_MIXER_SAVECONTROLSTATE 460 UNKNOWN 4095 ASX error codes These error codes are returned by most ASX functions enum asxNODE asxNODE NONE 0 asxNODE INVALID 400 asxNODE ADAPTER 401 asxNODE PLAYER 402 asxNODE LINE IN 403 asxNODE AESEBU IN 404 asxNODE TUNER IN 405 asxNODE RADIO FREQ IN 406 asxNODE CLOCK SOURCE IN 407 asxNODE BITSTREAM IN 408 asxNODE MICROPHONE IN 409 asxNODE_COBRANET_IN 410 asxNODE COBRANET RECEIVER 411 asxNODE_ANALOG_IN 412 asxNODE SDI IN 413 DESTINATION IN 414 asxNODE INTERNAL IN 416 asxNODE AVB IN S
105. 1 ASX Level Gef cox eS ee OS 80 21322 ASX Level Geikanee 2 0 nn 81 4 15 13 ASX Level 56b 2s e Se Pe a 81 Multiplexer control functions gt s ses 2s rm 81 714 1 Detailed Description 2 2 o o Rr 82 7 14 2 Function Documentation 82 7 14 2 1 ASX Multiplexer Enumerate 82 7 14 2 2 5 _ _ 82 7 44 33 ASX Multiplexer 83 Channel Mode control functions 83 243 1 Detailed Description ss sons maccs temia pip a ea 84 7 15 2 Function Documentation 84 7 15 2 1 ASX ChannelMode Enumerate 84 7 15 2 2 ASX ChannelMode Get 84 7 15 2 3 ASX ChannelMode Set 85 Tuner control functions 2 2 o RS R9 S 85 7161 Detaled Description 2 25 29 bv 87 7 16 2 Function Documentation 87 7 16 2 1 ASX Tuner EnumerateBand 87 7 16 2 2 ASX Tuner EnumerateDeemphasis 88 7 16 2 3 ASX Tuner EnumerateHdBlend 88 7 16 24 ASX Tuner EnumerateProgram 89 7 16 25 ASK GetBand iis 89 7 16 2 6 ASX Tuner GetDabAudioInfo 89 7 16 27 ASX Tuner GetDabAudioServiceCount 90 7 16 2 8 ASX Tuner GetDabAudioServiceName 90 7 16 2 9 ASX Tuner GetDabMultiplexId 90 7 16 2 10 ASX Tuner GetDabMultiplexName 91 7 16 2 11 ASX Tuner GetDabServiceld 91
106. 10 5 dual mono record main c This is an example of how to use the ASX Recorder to record dual mono inputs record streams on AudioScience audio adapters record at a minimum either mono or stereo files on the same device Mono recording always records the left channel to an audio file So to record the right channel of a line in the channels must be swapped somewhere in the record path This can be done using the Channel Mode control that is present on the record node of most AudioScience adapters Configuration Steps The following steps should be performed to setup recording of 4 independent mono streams We are going to record in the following configuration Record 1 Line In 1 Left Record 2 Line In 1 Right Record 3 Line In 2 Left Record 4 Line In 2 Right 1 Find multiplexer controls on Record nodes and set sources as follows Record 1 Line In Record 2 Line In Record 3 Line In Record 4 Line In NM ee 2 Find channel mode controls and set up as follows Record 1 Channel Mode normal Record 2 Channel Mode swap Record 3 Channel Mode normal Record 4 Channel Mode swap 3 Open record devices 4 Set record streams to record 4 mono files 5 Start recording These instructions remain the same whether the functionality is implemented with Mi crosoft Multimedia waveXXXX and mixerXXX calls HPI or ASX calls The next section details ASX recording instructions SHeader
107. 2 Left Play 4 Channel Mode stereo to right gt Line Out 3 Right The mixer also needs to be adjusted so that Play 1 gt Line Out 1 is set to full volume and Play 2 to Line Out 1 is also set to full volume These instructions remain the same whether the functionality is implemented with Mi crosoft Multimedia waveXXXX and mixerXXX calls HPI or ASX calls Header home eliot asi repo cvsrepo Repository apps asx examples dual mono p lay main c v 1 2 2009 02 18 20 37 56 as tfe Exp x This examples sets up the playback channel mode controls to support dual mono playback include stdio h include stdlib h include asx h include asxstring h define MAX_PLAYS 32 ASX_HANDLE hSystem 0 int CheckError ASX HANDLE hObj int nLine void PrintControlName ASX HANDLE hControl int main int argc char argv char xpszName ASX HANDLE hAdapter Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 4 dual_mono_play main c 233 ASX_HANDLE hMixer ASX HANDLE hChannelMode MAX PLAYS ASX HANDLE hVolume int nAdapterToUse 0 int i nLen float fVolume 2 create the system ASX System Create ASX SYSTEM TYPE HPI amp hSystem CheckError hSystem LINE get the adapter ASX System GetAdapter hSystem nAdapterToUse amp hAdapter CheckError hAdapter __LINE__ ASX Adapter GetName hAdapter 0 0 amp nLen CheckError hAdapter __LINE__ pszName
108. 22 Tone detector control functions 149 TONEDETECTOR ToneDetector 5 ToneDetector GetEnable 150 ASX ToneDetector GetEventEnable 150 ASX ToneDetector GetFrequency 150 ASX_ToneDetector_GetState 150 ASX ToneDetector GetThreshold 151 ASX ToneDetector SetEnable 151 ASX ToneDetector SetEventEnable 151 u ASX ToneDetector SetThreshold 151 Tuner ASX Tuner EnumerateBand 87 ASX Tuner EnumerateDeemphasis ASX Tuner GetMode 95 ASX Tuner GetProgram 95 ASX Tuner GetRawRFLevel 96 ASX Tuner GetRFLevel 96 ASX Tuner GetStatus 96 ASX Tuner SetBand 97 ASX Tuner SetDabAudioService 97 ASX Tuner SetDeemphasis 97 ASX Tuner SetFrequency 98 ASX Tuner SetGain 98 ASX Tuner SetHdBlend 99 ASX Tuner SetMode 99 ASX Tuner SetProgram 99 Tuner control functions 85 type asxParameterRangelInfo 163 asxParameterRangelInfo 163 ultems asxParameter Value 164 88 value ASX Tuner EnumerateHdBlend 88 5 Tuner EnumerateProgram 89 ASX Tuner GetBand 89 ASX Tuner GetDabAudioInfo 89 asxParameterRangelInfo 163 asxParameterRangeInfo NamedEnumerated 164 asxParameterValue 164 ASX Tuner GetDabAudioServiceCouMolume 90 ASX Volume GetChannels 77 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen INDEX 291 ASX_Volume_GetGain 77 ASX_Volume_GetMute 78 ASX_Volume_GetRange 78 ASX_Volume_SetAutofade 79 ASX_Volume_SetGain 79 ASX_Volume_SetMute 80 Volume control functions 76 Vox ASX_Vox
109. 28 Long string size for error strings filenames and PADs strings Examples cobranet main c 9 1 1 6 5 LONGLONG STRING 256 LongLong string size for PADs comment string Examples tuner main c 9 1 1 7 define ASX SHORT STRING 32 Short string size for adapter node control enum translations Examples adapter main c cobranet main c and volume main c 91 2 Typedef Documentation 9 1 2 1 typedef enum asxERROR ASX ERROR Error type used to return error codes from all functions 9 1 2 2 typedef void ASX ERROR CALLBACK ASX HANDLE hASX Object const char pszCallingFunction void pUser1 void pUser2 An error handling callback function 9 1 2 3 typedef void ASX HANDLE Generic handle used to represent all ASX objects Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 201 9 1 2 4 typedef enum asxNODE ASX NODE Node type enum 9 1 2 5 typedef void ASX PLAYER CALLBACK ASX HANDLE hASX Player Object const enum FLAGS flags void pUser1 A playback callback function 9 1 2 6 typedef int ASX TIME Timescale 9 1 3 Enumeration Type Documentation 9 1 3 1 enum asxXADAPTER PROPERTY Properties for use with ASX Adapter ReadProperty and 5 Adapter WriteProperty Enumerator asxADAPTER PROPERTY ERRATA 1 true if errata 1 workaround for 6100 cards is turned on asxADAPTER PROPERTY SSX2 SETTING true when SSX2 is on asxXADAP
110. 34 5 Adapter EnumerateProperty 35 5 Adapter GetDspUtilization 35 AESEBU TRANSMITTER Aes3Tx ASX AESEBUTransmitter EnumerateFormat 2 GetFormat ub ter GetHardwareRevision o SetFormat 112 ASX Adapter GetIndex 37 5 Adapter GetIpAddress 37 nr 5 Adapter GetMacAddress 38 gt 4 asx h 165 ASX_Adapter_GetMixer 38 RPTO 199 ASX_Adapter_GetMode 38 199 ASX_Adapter_GetName 39 AY SIZE 200 5 Adapter GetNvMemsSizeInBytes ASX22 200 40 ASX ERROR 200 ASX Adapter GetSerialNumber 40 ASX ERROR CALLBACK 200 ASX Adapter ReadNvMem 40 ASX HANDLE 200 ASX Adapter ReadProperty 41 ASX LONG STRING 200 5 Adapter SetMode 41 5 LONGLONG STRING 200 ASX Adapter WriteNvMem 42 ASX NODE 200 5 Adapter WriteProperty 42 5 PLAYER CALLBACK 201 Adapter functions 32 ASX SHORT STRING 200 addr end ASX TIME 201 asxCobranetIpAutoassignParameters asxXADAPTER PROPERTY 161 1 201 addr start asxXADAPTER PROPERTY FIRMWARE asxCobranetIpAutoassignParameters ID 201 161 asxXADAPTER PROPERTY 55 2 AESEBU receiver control functions 109 SETTING 201 AESEBU transmitter control functions 111 asxXADAPTER PROPERTY SUPPORT AESEBU RECEIVER Aes3Rx 55 2 201 5 AESEBUReceiver EnumerateFormatasxXADAPTER PROPERTY SUPPORTS 109 FW UPDATE 201 266 INDEX asxXADAPTER PROPERTY SUPPORTS asxAUDIO FORMAT DOLBY AC2 SNMP 201 203 asxXADAPTE
111. 55 2 SETTING 2 asxXADAPTER PROPERTY SYNC HEADER CONNECTIONS 3 PROPERTY SUPPORT SSX2 4 asxXADAPTER PROPERTY SUPPORTS FW UPDATE 5 asxADAPTER_ PROPERTY FIRMWARE ID 6 asxXADAPTER PROPERTY SUPPORTS SNMP 7 Properties for use with ASX_Adapter_ReadProperty ASX_Adapter_WriteProperty Functions e ASX32_API int ASX_System_SupportsSubSystem const int asxSystemType Query ASX library for subsystem support ASX32_API ASX_ERROR ASX_System_Create const int asxSystemType 5 HANDLE xphSystem Create a complete ASX system ASX32 API ASX ERROR ASX System CreateSubSystem const int asxSys temType ASX HANDLE hSystem Creates an ASX sub system and adds it to the existing system if any ASX32 APIASX ERROR ASX System SetHostNetworklInterface const char xszInterface Set the interface ASX should use when communicating with network devices ASX32 5 ERROR ASX System Delete ASX HANDLE hSystem Delete a complete ASX system ASX32 APIASX ERROR ASX System RegisterErrorCallback ASX HANDLE hSystem ASX ERROR CALLBACK pCallback void pUser1 void pUser2 Register a callback function that should be called when an error is detected ASX32 APIASX ERROR ASX System GetName ASX HANDLE hSystem char pszName const int nStringLength int pnRequiredLength Gets the name of the ASX system Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 176
112. 7 asx TUNERPROGRAM_8 Tuner program 8 9 1 3 36 enum asx UCONTROL_PFLAGS Universal control flags Enumerator asxPARAM_FLAG_WRITEABLE The control can be set asxPARAM_FLAG_READABLE The control can be read most controls asxPARAM FLAG VOLATILE control changes its own value e g me ter 9 1 3 37 enum asxUCONTROL Universal control parameter types Enumerator asxPARAM TYPE NONE asxPARAM TYPE INTEGER asxPARAM TYPE FLOAT asxPARAM TYPE DOUBLE asxPARAM TYPE STRING asxPARAM TYPE IP4 ADDRESS asxPARAM IP6 ADDRESS asxPARAM TYPE MAC ADDRESS asxPARAM TYPE BOOLEAN Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 220 File Documentation 9 1 3 38 enum asxUCONTROL RTYPE Universal control range types Enumerator asxPARAM RANGE NONE asxPARAM RANGE STEPPED INTEGER asxPARAM RANGE STEPPED FLOAT asxPARAM RANGE ENUMERATED INTEGER asxPARAM RANGE ENUMERATED FLOAT asxPARAM RANGE ENUMERATED asxPARAM RANGE STRING LENGTH asxPARAM RANGE NUMBER OF BITS 9 1 3 39 enum asxVOLUME AUTOFADE volume autofade profiles Enumerator asxVOLUME AUTOFADE LOG Log fade causes dB level to fade linearly over time asxVOLUME AUTOFADE LINEAR Linear fade causes amplitude to fade lin early over time 9 2 asxstring h File Reference Defines define ASX32 Functions e ASX32 APIint ASXSTRING EnumTosString const int nEnum char szString const int nLength int xpRequiredLength Translat
113. 7 77 ASX Version 4 16 04 Generated by Doxygen 1 7 3 Thu Dec 17 2015 10 17 27 Contents 1 Main Page Li L2 L3 1 4 15 1 6 1 7 2 1 22 252 2 4 2 6 ASX Reference Mantial gt o oo scoct Se bn nono MCCC ETT Installation and Usage ce osse m RERO 1 3 1 Windows and Windows 7 20130580 EOE AY Sce Compiling applications that use the ASX interface Debugging ASX calls under Windows ASX Object Model css Ee Coding Conventions cos lot m eee eee Porting Applications from PCXTools P TT EE 21 1 TOOLRegisterQ ToolUnregister 2 1 2 TOOLSetOEMAuthonzationDl 2 1 3 TOOLGetLastError TOOLGetErrorString Contea CC 221 TUOOLGOGSUVGESIOBRS coss 52225 25 2 242 TOOLHowManyTotalOutputs 2 2 3 TOOLHowManyTotalInputs 224 TOOLGetBoardinfos ss os ooo I ke 2 2 5 TOOLGeBOAdgName 2c ek A bie bie Dea Wo VEG RO b Se LE 2 29 TOOLAlGestePe e uoa Rx YR RUN ERO WDOLAUGOEISPMSBE B Soe AGER 233 TOOLBeleasePIBe 2 2 Lud eR FDOLPipe3tait 22222222 oru ero va 2 2 2 FOOLPIBeSIUD 222 225 5 eR RORIS ER 2 50 TOOLPmpe5SelLevel 22 22 2222 m eR em 2 37 238 TOOLPipeSetClock 22 22 2222225 2 3 5 TOOLP
114. 7 17 21 ASX PAD GetArtist 100 7 17 2 2 ASX PAD GetChannelName 101 7 17 23 ASX PAD GetComment 101 7 17 24 ASX PAD GetProgramType 102 7 17 2 5 ASX PAD GetProgramTypeString 102 7 17 26 ASX PAD GetRdsPI 103 7 17 27 ASX PAD 103 7 18 Sample clock control DuncBoWs a e e ek RR 104 T5 Detailed Description 2 2 2 2 552522 25464 104 7 18 2 Function Documentation 105 7 18 2 1 ASX SampleClock EnumerateClockSource 105 7 18 2 2 5 SampleClock EnumerateLocalRate 105 7 18 2 3 ASX SampleClock EnumerateSampleRate 105 7 18 24 5 SampleClock GetAutoSource 106 7 18 2 5 ASX_SampleClock_GetClockSource 106 7 18 2 6 ASX SampleClock GetLocalRate 106 7 18 27 5 SampleClock GetLocalRateLock 107 7 18 2 8 ASX SampleClock GetSampleRate 107 7 18 2 9 5 SampleClock SetAutoSource 107 7 18 2 10 5 SampleClock SetClockSource 108 7 18 2 11 ASX SampleClock SetLocalRate 108 7 18 2 12 5 SampleClock SetLocalRateLock 108 7 18 2 13 ASX SampleClock SetSampleRate 109 7 19 AESEBU receiver control functions 109 7 19 1 Detaled Description o maa 109 7 19 2 Function Documentation 109 7 19 2 1 ASX AESEBUReceiver EnumerateFormat 109 7 19 2 2 ASX AESEBUReceiver
115. 9 Wild card any subsystem reserved define ASX SYSTEM TYPE ASIO 10 Use this to select Stienberg s ASIO interface when calling ASX System Create define ASX SYSTEM TYPE AVB 1722 111 Use this to select the IEEE 1722 1 system for controlling AVB devices when calling ASX System Create define ASX SYSTEM TYPE COUNT 12 Indicates the number of subsystems defined 7 3 1 Detailed Description The types of audio subsystems that can operate using the ASX interface 7 1 2 Define Documentation 7 4 2 1 define ASX SYSTEM TYPE ALSA 2 Use this to select the Linux ALSA interface when calling ASX System Create 71 2 2 define ASX SYSTEM TYPE ANY 9 Wild card any subsystem reserved 7 1 2 3 define ASX SYSTEM TYPE ASIO 10 Use this to select Stienberg s ASIO interface when calling ASX System Create 7 1 2 4 define ASX SYSTEM TYPE AVB 1722 1 11 Use this to select the IEEE 1722 1 system for controlling AVB devices when calling ASX System Create 7 1 2 5 define ASX SYSTEM COUNT 12 Indicates the number of subsystems defined Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 1 SubSystem types 21 7 1 2 6 define ASX SYSTEM TYPE DIRECTX 3 Use this to select Microsoft s DirectX interface when calling 5 System Create 7 1 2 7 define ASX SYSTEM DUMMY 8 Dummy backend 7 1 2 8 define 5 SYSTEM TYPE HPI 0 Use this to select ASI s HPI interface when c
116. AD GetProgramTypeString ASX HANDLE hPAD const enum asx TUNER_RDS_TYPE eType const int nPTY char pszString const int nStringLength Get a Program Auxilary Data PTY string 5 32 5 ERROR PAD GetRdsPI ASX HANDLE hPAD int uPI Get a Program Identification number Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 189 ASX32_API ASX_ERROR ASX_SampleClock_EnumerateSampleRate ASX_ HANDLE hSampleClock const int nIndex enum asxSAMPLE_RATE peSampleRate int pnCount ASX32_API ASX_ERROR ASX_SampleClock_EnumerateLocalRate ASX_ HANDLE hSampleClock const int nIndex enum asxSAMPLE_RATE xpeSampleRate int xpnCount Enumerate each sample clock rates for the local sample clock generator ASX32_API ASX_ERROR ASX_SampleClock_SetSampleRate ASX_HANDLE hSampleClock const int nSampleRate ASX32_API ASX_ERROR ASX_SampleClock_SetLocalRate ASX_HANDLE hSampleClock const int nSampleRate Set the sample rate for the local sample clock generator ASX32 APIASX ERROR ASX_SampleClock_GetSampleRate ASX HANDLE hSampleClock int pnSampleRate Get the adapter s sample rate ASX32 APIASX ERROR ASX SampleClock GetLocalRate ASX HANDLE hSampleClock int pnSampleRate Get the sample rate for the local sample clock generator ASX32 APIASX ERROR 5 SampleClock EnumerateClockSource ASX HANDLE hSampleClock const int nIndex enum asxXSAMPLE SOURCE xpeClockSource
117. AMPLE CLOCK SOURCE asxXSAMPLE CLOCK SOURCE ADAPTER 1400 asxSAMPLE_CLOCK_ SOURCE AESEBUSYNC 1401 asxXSAMPLE CLOCK SOURCE WORD 1402 asXSSAMPLE CLOCK SOURCE WORD HEADER 1403 asxXSAMPLE CLOCK SOURCE SMPTE 1404 asXSAMPLE CLOCK SOURCE NETWORK 1405 asXSAMPLE CLOCK SOURCE AESEBUAUTO 1406 asxXSAMPLE CLOCK SOURCE AESEBUINPUTI 1407 asxXSAMPLE CLOCK SOURCE AESEBUINPUT 2 1408 asXSSAMPLE CLOCK SOURCE AESEBUINPUT3 1409 asXSSAMPLE CLOCK SOURCE AESEBUINPUTA4 1410 asXSSAMPLE CLOCK SOURCE AESEBUINPUTS 1411 asxXSAMPLE CLOCK SOURCE AESEBUINPUT6 1412 asxxSAMPLE CLOCK SOURCE AESEBUINPUT 1413 asXSSAMPLE CLOCK SOURCE AESEBUINPUTS 1414 asXSSAMPLE CLOCK SOURCE AESEBUINPUT 1415 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 171 asxSAMPLE_CLOCK_SOURCE_AESEBUINPUT10 1416 asxXSAMPLE CLOCK_SOURCE_AESEBUINPUT11 1417 asxXSSAMPLE CLOCK SOURCE AESEBUINPUT12 1418 asXSAMPLE SOURCE AESEBUINPUTI13 1419 asxSAMPLE CLOCK SOURCE AESEBUINPUT 4 1420 asxXSAMPLE CLOCK SOURCE AESEBUINPUTI5 1421 asxXSSAMPLE CLOCK SOURCE AESEBUINPUT 16 1422 asXSAMPLE CLOCK SOURCE AESEBUINPUTI7 1423 asxSAMPLE CLOCK SOURCE AESEBUINPUTIS8 1424 asxXSAMPLE CLOCK SOURCE AESEBUINPUT 19 1425 asxxSAMPLE_CLOCK SOURCE AESEBUINPUT20 1426 asXSAMPLE SOURCE AESEBUINPUT 21 1427 asxSAMPLE CLOCK SOURCE AESEBUINPUT22 1428 asxSAMPLE CLOC
118. AMPLE CLOCK SOURCE AESEBUINPUTIS derived from AESEBU input 15 asxSAMPLE CLOCK SOURCE AESEBUINPUTI derived from AESEBU input 16 asxSAMPLE CLOCK SOURCE AESEBUINPUTI7 derived from AESEBU input 17 asxSAMPLE CLOCK SOURCE AESEBUINPUTIS derived from AESEBU input 18 asxSAMPLE CLOCK SOURCE AESEBUINPUTI9 derived from AESEBU input 19 asxSAMPLE CLOCK SOURCE AESEBUINPUT20 derived from AESEBU input 20 asxSAMPLE CLOCK SOURCE AESEBUINPUT21 derived from AESEBU input 21 asxSAMPLE CLOCK SOURCE AESEBUINPUT22 derived from AESEBU input 22 asxSAMPLE CLOCK SOURCE AESEBUINPUT23 derived from AESEBU input 23 asxSAMPLE CLOCK SOURCE AESEBUINPUT24 derived from AESEBU input 24 asxSAMPLE CLOCK SOURCE AESEBUINPUT25 derived from AESEBU input 25 asxSAMPLE CLOCK SOURCE AESEBUINPUT26 derived from AESEBU input 26 asxSAMPLE CLOCK SOURCE AESEBUINPUT27 derived from AESEBU input 27 asxSAMPLE CLOCK SOURCE AESEBUINPUT28 derived from AESEBU input 28 asxSAMPLE CLOCK SOURCE AESEBUINPUT29 derived from AESEBU input 29 asxSAMPLE CLOCK SOURCE AESEBUINPUTS30 derived from AESEBU input 30 asxSAMPLE CLOCK SOURCE AESEBUINPUTS31 derived from AESEBU input 31 asxSAMPLE CLOCK SOURCE AESEBUINPUT32 derived from AESEBU input 32 Sample clock source is Sample clock source is Sample clock source is Sample clock source is Sample clock source is Sample clock source is Sample clock source is Sample clock source is Sample clock so
119. ASX Compander control object der index Index of threshold to set nThreshold Threshold in dbFS Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 CobraNet control functions These functions implement device wide CobraNet settings Functions ASX Cobranet EnumerateModes ASX_Cobranet_GetMode ASX_Cobranet_SetMode ASX_Cobranet_GetIPAddress Get the current IP address of the Cobranet device ASX Cobranet SetIPAddress Set the current IP address of the Cobranet device ASX Cobranet GetStaticIPAddress Get the static IP address of the Cobranet device ASX Cobranet SetStaticIPAddress Set the static IP address of the Cobranet device ASX Cobranet GetMACAddress Get the current cobranet MAC address ASX Cobranet GetDescription Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 128 Module Documentation Get the device s description from the sysDescr SNMP field ASX_Cobranet_GetName Get the device s name from the sysName SNMP field ASX_Cobranet_SetName Set the device s name in the sysName SNMP field ASX_Cobranet_GetLocation Get the device s location from the sysLocation SNMP field ASX_Cobranet_SetLocation Set the device s location in the sysLocation SNMP field ASX_Cobranet_GetFirmwareRevision Gets a device s firmware revision ASX_Cobranet_GetErrorInfo Gets a device s error information ASX_Cobranet_GetLate
120. ASX SYSTEM TYPE AVB 1722 1 20 ASX SYSTEM TYPE COUNT 20 ASX SampleClock EnumerateLocalRate ASX SYSTEM TYPE DIRECTX 20 105 ASX SYSTEM TYPE DUMMY 21 ASX SampleClock EnumerateSampleRate ASX SYSTEM TYPE HPI 21 105 ASX SYSTEM TYPE HPIUDP 21 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 290 INDEX ASX_SYSTEM_TYPE_PCXTOOLS 21 ASX_SYSTEM_TYPE_PORTAUDIO 21 ASX SYSTEM TYPE SNMP 21 5 SYSTEM TYPE WAVE 21 System 5 System Create 23 5 System CreateSubSystem 23 5 System Delete 24 ASX System GetAdapter 24 5 System GetAdapterCount 25 ASX Tuner GetDabAudioServiceName 90 ASX Tuner GetDabMultiplexId 90 ASX Tuner GetDabMultiplexName 91 ASX Tuner GetDabServiceld 91 ASX Tuner GetDeemphasis 91 ASX Tuner GetDigitalSignalQuality 92 ASX Tuner GetFirmwareVersion 92 ASX Tuner GetFrequency 92 ASX Tuner GetFrequencyRange 93 5 System GetCobranetAutoassignParmsASX Tuner GetGain 93 25 ASX System GetMessageLogging 25 5 System GetName 26 5 System GetVersion 26 ASX System RegisterErrorCallback 21 ASX_Tuner_GetGainRange 93 ASX_Tuner_GetHdBlend 94 ASX_Tuner_GetHdRadioDspVersion 94 ASX Tuner GetHdRadioSdkVersion 94 ASX System SetCobranetAutoassi gnParmsASX Tuner GetHdRadioSignalQuality 95 28 ASX System SetHostNetworklInterface 28 ASX System SetMessageLogging 28 ASX System SupportsSubSystem 29 System functions
121. ASX by Doxygen 172 File Documentation Adapter property enumerate mode settings enum asxADPROPENUM_SSX2 asxADPROPENUM_SSX2_OFF 1488 asxXADPROPENUM SSX2 ON 1489 Adapter property SSX2 enumerate settings enum asxCOBRANET_LATENCY asxCOBRANET_LATENCY_133ms 1490 asx COBRANET_LATENCY_266ms 1491 asxCOBRANET_LATENCY_533ms 1492 Cobranet latency settings enum asxFILE FORMAT asxFILE_FORMAT_WAV 10000 asxFILE FORMAT RAW 10001 File Formats e enum asxFILE_MODE asxFILE_MODE_CREATE 10100 asxFILE_MODE_ APPEND 10101 File Mode enum asxAUDIO_FORMAT asxAUDIO_FORMAT_PCM8 10200 asxAUDIO_FORMAT_PCM16 10201 asxAUDIO FORMAT 24 10202 asxAUDIO_FORMAT_PCM32 10203 asxAUDIO_FORMAT_PCM32_FLOAT 10204 asXAUDIO FORMAT MPEG L2 10205 asXAUDIO FORMAT MPEG L3 10206 asxXAUDIO FORMAT MPEG AACPLUS 10207 asxAUDIO FORMAT DOLBY 2 10208 asxXAUDIO FORMAT 20 10209 asxAUDIO FORMAT NONE 10210 Audio Formats enum asxRECORD MODE asxRECORD MODE STEREO 10300 asxRECORD MODE JOINT STEREO 10301 asxRECORD MODE DUAL 10302 asxRECORD MODE MONO 10303 asxRECORD MODE DONT CARE 10304 Record Mode enum asxPLAYER STATE asxPLAYER INIT 10400 asxPLAYER OPEN 10401 asxPLAYER_PREFILL 10402 asxPLAYER RUNNING 10403 asxPLAYER_PAUSED 10404 DONE 10405 asxPLAYER DESTROY 10406 Pla
122. ASX_SYSTEM_TYPE_ASIO 10 Use this to select Stienberg s ASIO interface when calling ASX_System_Create define ASX_SYSTEM_TYPE_AVB_1722_1 11 Use this to select the IEEE 1722 1 system for controlling AVB devices when calling ASX_System_Create define 5 SYSTEM COUNT 12 Indicates the number of subsystems defined define ASX_SHORT_STRING 32 Short string size for adapter node control enum translations define ASX_LONG_STRING 128 Long string size for error strings filenames and strings define ASX LONGLONG STRING 256 LongLong string size for PADs comment string define RPTO s printf s A debug helper function 0 arguments define s 41 printf s d1 A debug helper function 1 argument Typedefs typedef void x ASX HANDLE Generic handle used to represent all ASX objects typedef enum ASX ERROR Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 167 Error type used to return error codes from all functions typedef enum asxNODE ASX_NODE Node type enum typedef int ASX_TIME Timescale typedef void ASX_ERROR_CALLBACK ASX_HANDLE hASX Object const char pszCallingFunction void pUserl void pUser2 An error handling callback function typedef void ASX PLAYER CALLBACK ASX HANDLERASX Player Object const enum asxPLAYER FLAGS flags void pUser1 A playback callback function Enumerations
123. ControlByNodeTypeAndIndex examples Nn ev eae mere get a peak meter on node Play 0 printf Finding a peak meter control of node Player 0n asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer asxNODE PLAYER 0 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 242 Example Documentation 0 0 asxCONTROL_METER amp hControl if CheckErrorNonTerminal hMixer LINE print out some control details PrintControlName hControl fp Lu get a trim level control on Line Out 0 printf Finding level trim control of node Line Out 0n asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer 0 0 asxNODE LINE 00 0 asxCONTROL LEVEL amp hControl if CheckErrorNonTerminal hMixer LINE print out some control details PrintControlName hControl pf cmt get a volume control between Play 0 and Line Out 0 printf Finding a volume control between Play 0 and Line Out 0n asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer asxNODE PLAYER 0 asxNODE LINE 00 0 asxCONTROL VOLUME amp hControl if CheckErrorNonTerminal hMixer LINE print out some control details PrintControlName hControl printf Press ENTER to exit n getchar ASX System Delete hSystem return 0 void PrintControlName ASX HANDLE hControl char xpszName int nLen enum asxCONTROL eControl ASX Control GetType hControl amp eCon
124. D YET ASX Control GetSubSystem Returns the sub system handle of the given control 7 8 1 Detailed Description These generic control functions operate on all control objects All ASX control objects have type and source and destination node properties The generic control functions that follow support querying those properites 7 8 2 Function Documentation 7 8 2 1 ASX32 ERROR ASX Control GetDestinationNode ASX HANDLE hControl ASX HANDLE x p hNode Generic control function to get the destination node of a control Parameters hControl A handle to an ASX control object p hNode The destination node ASX object handle This can be zero if the control 4955 Hot bays a destination node 54 Module Documentation Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c and mixer main c 7 8 2 2 ASX32 ASX_ERROR ASX_Control_GetHpiControl ASX_HANDLE hControl void pphHpiSubSys unsigned int phHpiControl Tunnel through ASX to get HPI control parameters NOT IMPLEMENTED YET Parameters hControl A handle to an ASX control object pphHpiSub Pointer to an HSUBSYS object Sys phHpiCon Pointer to an HCONTROL object trol Returns Returns 0 if there is no error otherwise one of asxERROR is returned Example HPI HSUBSYS xphHPISubSys HPI HCONTROL hHPIControl
125. E hCobranetRx unsigned int nMap 8 Gets a Cobranet receiver s channel mapping ASX32_API ASX_ERROR ASX_CobranetRx_SetChannelMap ASX_HANDLE hCobranetRx const unsigned int nMap 8 Sets a Cobranet receiver s channel mapping ASX32_API ASX_ERROR ASX_CobranetRx_GetMinimumDelay ASX_HANDLE hCobranetRx unsigned int pnMinDelay Gets a Cobranet receiver s minimum delay ASX32 APIASX ERROR ASX_CobranetRx_SetMinimumDelay ASX HANDLE hCobranetRx const unsigned int nMinDelay Sets a Cobranet receiver s channel mapping ASX32 ERROR ASX ToneDetector SetEnable ASX HANDLE hToneDe tector const unsigned int nEnable Turns the entire tone detector on and off ASX32 APIASX ERROR 5 ToneDetector GetEnable ASX HANDLE hToneDe tector unsigned int nEnable Returns whether the entire tone detector is on or off ASX32 ERROR 5 ToneDetector SetEventEnable ASX HANDLE hToneDetector const unsigned int nEnable Turns the event reporting function of the tone detector on and off ASX32 API ASX ERROR ASX ToneDetector GetEventEnable ASX HANDLE hToneDetector unsigned int nEnable Returns whether the event reporting function of the tone detector is on or off ASX32_API ASX_ERROR ASX_ToneDetector_SetThreshold ASX_HANDLE hToneDetector const float f Threshold Sets the tone detector threshold units of dB ASX32 APIASX ERROR ASX_ToneDetector_GetThreshold ASX HANDLE hToneDetector float fThr
126. E CLOCK SOURCE CLOCK SOURCE AESEBUINPUT8 asx h 215 asx h 214 asxSAMPLE_CLOCK_SOURCE_AESEBUISXBAMBLE CLOCK SOURCE AESEBUINPUTO asx h 215 asx h 214 asxSAMPLE CLOCK SOURCE AESEBURXBHMIBLE CLOCK SOURCE AESEBUSYNC asx h 215 asx h 214 asxXSAMPLE CLOCK SOURCE AESEBURXBWMELE SOURCE BLULINK asx h 215 asx h 216 asxXSAMPLE CLOCK SOURCE AESEBURXBHMIBLE CLOCK SOURCE LIVEWIRE asx h 215 asx h 216 asxSAMPLE CLOCK SOURCE AESEBURXBHMIPLE CLOCK SOURCE LOCAL asx h 215 asx h 215 asxXSAMPLE CLOCK SOURCE SOURCE NETWORK asx h 214 asx h 214 asxXSAMPLE CLOCK SOURCE CLOCK SOURCE PREV asx h 215 MODULE Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen INDEX 285 asx h 215 ASXSTRING_StringToEnum asxSAMPLE_ CLOCK SOURCE SMPTE asxstring h 221 asx h 214 asx TIMESCALE asxSAMPLE_CLOCK_SOURCE_UNDEFINEDasx h 216 asx h 215 asx TIMESCALE BYTES asxSAMPLE_ CLOCK SOURCE WORD asx h 216 asx h 214 asxXTIMESCALE BYTES REMAINING asxSAMPLE_ CLOCK SOURCE WORD asx h 216 HEADER asxXTIMESCALE INVALID asx h 214 asx h 216 asxSAMPLE RATE 11025 asxXTIMESCALE MILLISECONDS asx h 216 asx h 216 asxSAMPLE RATE 12000 asxXTIMESCALE MILLISECONDS REMAINING asx h 216 asx h 216 asxSAMPLE RATE 16000 asx TIMESCALE SAMPLES asx h 216 asx h 216 asxSAMPLE_RATE_17640
127. E FORMAT WAV file format asxFILE MODE CREATE file mode create vs append 1 channels 1 or 2 at present asxAUDIO FORMAT PCM16 sample format 44100 sample rate 8000 to 192000 Hz 0 8000 to 384000 bps MPEG only asxRECORD MODE DONT CARE MPEG mode CheckError hRecorder i __LINE__ start recording all files for i 0 i lt 4 i ASX_Recorder_Start hRecorder i CheckError hRecorder i __LINE__ Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 238 Example Documentation wait for recording completion printf Hit enter to end recording n getchar for i 0 i 4 i ASX_Recorder_Stop hRecorder i CheckError hRecorder i __LINE__ printf Recording complete n close the file being recorded for i 0 i lt 4 i 5 Recorder 1 hRecorder i CheckError 1 printf Press ENTER to exit n getchar ASX System Delete hSystem return 0 void PrintControlName ASX HANDLE hControl int char xpszName int nLen enum asxCONTROL eControl ASX Control GetType hControl amp eControl ASXSTRING EnumToString eControl 0 0 amp nLen pszName char malloc nLen ASXSTRING_EnumToString eControl pszName nLen amp nLen printf Control s n pszName free pszName CheckError ASX HANDLE hObj int nLine nt nError nt asxSubSystemErrorCode 0 ar pszAsxErrorString
128. E hPlayer float xpfPosition 5 32 ASX ERROR ASX Player GetState ASX HANDLE hPlayer int xpnState ASX32 API ASX ERROR ASX Player SetTimeScale ASX HANDLE hPlayer float fScaleFact or printf Press ENTER to exit n getchar FreePlaylist ASX System Delete hSystem return 0 void PrintControlName ASX HANDLE hControl char pszName int nLen enum asxCONTROL eControl ASX Control GetType hControl amp eControl ASXSTRING EnumToString eControl 0 0 amp nLen pszName char malloc nLen Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 254 Example Documentation ASXSTRING_EnumToString eControl pszName nLen amp nLen printf Control s n pszName free pszName int CheckError ASX HANDLE hObj int nLine nt nError nt asxSubSystemErrorCode 0 ar pszAsxErrorString ar pszAsxSubSystemErrorString nt nLenl nLen2 i i ch ch m ASX Error GetLast hObj ASX ERROR amp nError amp asxSubSystemErrorCode if nError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorString char malloc nLenl pszAsxSubSystemErrorString char malloc nLen2 ASX_Error_GetLastString hObj pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf Error d 5 Subsystem Error ld s n nError pszAsxErrorString asxSubSystemErrorCode pszAsxSubSystemErrorString printf When c
129. EAM asx h 212 asx NODE_BITSTREAM_IN asx h 211 asx NODE_BLULINK_IN asx h 212 asx NODE_BLULINK_OUT asx h 212 asx NODE_CLOCK_SOURCE_IN asx h 211 asx NODE_COBRANET_IN asx h 211 asx NODE_COBRANET_OUT asx h 212 asx NODE_COBRANET_RECEIVER asx h 211 asx NODE_COBRANET_TRANSMITTER asx h 212 asx NODE_FIRST_DEST_NODE asx h 212 asx NODE_INTERNAL_IN asx h 212 asx NODE_INTERNAL_OUT asx h 212 asx NODE_INVALID asx h 211 asx NODE_LAST_DEST_NODE asx h 212 asx NODE_LAST_SOURCE_NODE asx h 212 asx NODE_LINE_IN asx h 211 asx NODE_LINE_OUT asx h 212 asx NODE_MICROPHONE_IN asx h 211 asx NODE_NONE asx h 211 asx NODE_PLAYER asx h 211 asx NODE_RADIO_FREQ_IN asx h 211 asx NODE_RADIO_FREQ OUT asx h 212 asx NODE_RECORDER asx h 212 asx NODE_RTP_DESTINATION_IN asx h 212 asx NODE_RTP_SOURCE_OUT asx h 212 asx NODE_SDI_IN asx h 212 asxNODE SDI OUT asx h 212 asxNODE SPEAKER OUT asx h 212 asxNODE TUNER IN asx h 211 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen INDEX 283 asxPARAM_FLAG READABLE fmin 163 asx h 219 fstep 163 asxPARAM_FLAG_ VOLATILE integer 163 asx h 219 max 163 asxPARAM_FLAG_ WRITEABLE max_len 163 asx h 219 min 163 asxPARAM_RANGE_ ENUMERATED step 163 asx h 220 string 163 asxPARAM_RANGE_ ENUMERATED type 163 FLOAT u 163 asx h 220 value 163 asxPARAM RANGE ENUMERATED asxParameterRangeInfo NamedEnumerated INTEGER 164 asx
130. EBU RECEIVER asx h 204 asx h 205 asxCHANNELMODE RIGHTTOSTEREOasxCONTROL AESEBU TRANSMITTER asx h 204 asx h 205 asx CHANNELMODE_STEREOTOLEFT asxCONTROL STREAM asx h 204 asx h 206 asxXCHANNELMODE STEREOTORIGHTasxCONTROL BLOCK asx h 204 asx h 206 asxXCHANNELMODE SWAP asxCONTROL CHANNEL MODE asx h 204 asx h 206 asxCOBRANET IFSTATUS ACTIVE COBRNEONICROL COBRANET asx h 204 asx h 206 asxCOBRANET IFSTATUS FULL DUPLESXCONTROL COBRANET RECEIVER asx h 204 asx h 206 asxCOBRANET IFSTATUS LINK ESTABEIGBIITROL COBRANET TRANSMITTER asx h 204 asx h 206 asxCOBRANET LATENCY 133ms asx CONTROL_COMPANDER asx h 204 asx h 206 asxCOBRANET LATENCY 266ms asxCONTROL CONNECTION asx h 204 asx h 205 asxCOBRANET LATENCY 533ms asxCONTROL GENERIC asx h 204 asx h 206 asxXCOBRANET MODE NETWORK asx CONTROL_GPIO asx h 205 asx h 206 asx COBRANET_MODE_TETHERED asxCONTROL INVALID asx h 205 asx h 205 asxCOBRANET IFSTATUS asxCONTROL LAST CONTROL asx h 204 asx h 206 asxCOBRANET LATENCY asxCONTROL LEVEL asx h 204 asx h 205 asxXCOBRANET MODE asxCONTROL METER asx h 204 asx h 205 asxCobranetIpAutoassignParameters 161 asxCONTROL MICROPHONE addr end 161 asx h 206 addr start 161 asx CONTROL_MULTIPLEXER autoassign 161 asx h 205 asx COMPANDER_INDEX_COMPANDERasxCONTROL_MUTE asx h 205 asx h 205 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 280 INDEX asxCONTROL PAD asxERROR asx h 206 asx h 207
131. Enable ASX HANDLE hCompander const unsigned int nOn Sets the on off parameter for the compander Parameters hCompan der A handle to an ASX Compander control object nOn Sets compander to on if set to 1 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 26 2142 ASX32 ERROR ASX Compander SetMakeupGain HANDLE hCompander const float fMakeupGain Set the compander makeup gain Parameters hCompan der A handle to an ASX Compander control object fMakeup Gain The makeup gain to set in dBFS Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 26 2 13 5 32 ERROR ASX_Compander_SetRatio ASX HANDLE hCompander enum asxCOMPANDER INDEX index const float fRatio Set the compander ratio slope Parameters hCompan der A handle to an ASX Compander control object index Index of rtio to set fRatio Ratio to set 1 0 is 1 1 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 27 CobraNet control functions 127 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 26 2 14 ASX32 ERROR ASX_Compander_SetThreshold ASX HANDLE hCompander enum asxCOMPANDER INDEX index const float nThreshold Set the compander threshold in dbFS Parameters hCompan A handle to an
132. File Documentation ASX32_API ASX_ERROR ASX_System_GetVersion ASX_HANDLE hSys tem char pszSystem Version const int nSystem VersionLength int xpnRequiredSystemVersionLength char pszSubSystemVersion const int nSubSystemVersionLength int xpnRequiredSubSystemVersionLen Get ASX system version information ASX32 API ASX ERROR ASX System GetAdapterCount ASX HANDLE hSystem int pnCount Get the number of adapters ASX32 API ASX ERROR ASX System GetAdapter ASX HANDLE hSys tem const int nAdapter ASX HANDLE hAdapter Get a handle to a specific adapter ASX32 APIASX ERROR ASX System SetMessageLogging ASX HANDLE hSystem const enum asxMSG LOGGING eLog Set the message logging level for ASX ASX32 APIASX ERROR ASX System GetMessageLogging ASX HANDLE hSystem enum asxMSG LOGGING xeLog Get the message logging level for ASX ASX32 API ASX ERROR ASX System SetCobranetAutoassignParms const struct asxCobranetIpAutoassignParameters Set the IP address range that will be used for assigning IP addresses to cobranet devices ASX32 APIASX ERROR ASX System GetCobranetAutoassignParms struct asxCobranetIpAutoassignParameters Get the IP address range that will be used for assigning IP addresses to cobranet devices ASX32_API enum asxHANDLE TYPE ASX Handle GetType ASX HANDLE hHandle Get the handle type ASX32 APIASX ERROR ASX Error GetLast ASX HANDLE hASXObject ASX ERROR xpnAsxErrorCode
133. Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 218 File Documentation asxTUNERBAND_AUX Tuner band auxilary input from the 50 pin header asxTUNERBAND_TV_PAL_BG Tuner band TV PAL BG asxTUNERBAND_TV_PAL_I Tuner band PAL I asxTUNERBAND_TV_PAL_DK Tuner band TV PAL DK asxTUNERBAND TV SECAM Tuner band TV SECAM asxTUNERBAND 9 1 3 32 enum asx TUNERDEEMPHASIS Tuner FM de emphasis settings Enumerator asx TUNERDEEMPHASIS_50 Tuner de emphasis of 50us Europe asx TUNERDEEMPHASIS_75 Tuner de emphasis of 75us USA asxTUNERDEEMPHASIS NONE Tuner de emphasis setting 9 1 3 33 enum asxXTUNERHDBLEND Tuner HD Radio blend settings Enumerator asxXTUNERHDBLEND AUTO Auto blend between analog and digital asxTUNERHDBLEND_ANALOG Force analog 9 1 3 34 enum asx TUNERMODE Tuner mode settings Enumerator asxTUNERMODE RSS Tuner mode RSS asxTUNERMODE RSS ENABLE Tuner mode RSS is enabled asxTUNERMODE RSS DISABLE Tuner mode RSS is disabled 9 1 3 35 enum Tuner program settings Enumerator asxTUNERPROGRAM NONE Tuner program 1 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 219 asxTUNERPROGRAM 1 Tuner program 1 asxTUNERPROGRAM 2 Tuner program 2 asx TUNERPROGRAM_3 Tuner program 3 asx TUNERPROGRAM 4 Tuner program 4 asx TUNERPROGRAM_5 Tuner program 5 asx TUNERPROGRAM_6 Tuner program 6 asx TUNERPROGRAM_7 Tuner program
134. Get the tuner band ASX Tuner SetBand Set the tuner band ASX Tuner SetFrequency Set the tuner frequency ASX Tuner GetFrequency Get the tuner frequency ASX Tuner GetFrequencyRange Get the tuner frequency range in Hz ASX Tuner GetGainRange Get the tuner gain range in dB Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 86 Module Documentation ASX_Tuner_SetGain Set the tuner gain ASX_Tuner_GetGain Get the tuner gain ASX_Tuner_GetRFLevel Get the tuner RF level ASX_Tuner_GetRawRFLevel Get the Raw tuner RF level ASX_Tuner_GetStatus Get the tuner status ASX_Tuner_GetMode Gets the tuner mode ASX_Tuner_SetMode Sets the tuner mode ASX_Tuner_EnumerateDeemphasis Enumerates tuner de emphasis options ASX_Tuner_SetDeemphasis Set tuner de emphasis ASX_Tuner_GetDeemphasis Get tuner de emphasis ASX_Tuner_EnumerateProgram Enumerates tuner program options ASX_Tuner_SetProgram Set tuner program ASX_Tuner_GetProgram Get tuner program ASX_Tuner_GetHdRadioSignalQuality ASX_Tuner_GetDigitalSignalQuality Get digital signal quality ASX Tuner GetHdRadioSdkVersion ASX Tuner GetHdRadioDspVersion ASX Tuner GetFirmware Version Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 16 Tuner control functions 87 Get a Firmware version string ASX Tuner EnumerateHdBlend Enumerates tuner blend options ASX Tune
135. GetDestinationNode hMixer j amp hNode PrintNodeName hNode find all LineIn nodes for exmaple asxError ASX Mixer GetNodeTypeCount hMixer asxNODE LINE IN amp nNodes CheckError hMixer LINE printf Total of d asxNODE LINE IN nodes found Mn nNodes for 1 0 i lt nNodes i asxError ASX Mixer GetNodeByType hMixer asxNODE LINE amp hNode CheckError hMixer __LINE__ PrintNodeName hNode dump all controls asxError ASX_Mixer_GetControlCount hMixer amp nControls CheckError hMixer printf Retrieved controls n for i 0 i lt nControls i ASX_Mixer_GetControl amp hControl PrintControlName hControl printf On node s ASX Control GetSourceNode hControl amp hNode if hNode PrintNodeName hNode ASX Control GetDestinationNode hControl amp hNode if hNode PrintNodeName hNode prim mmy x Using ASX Mixer GetControlByNode Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 6 mixer main c 241 printf ASX Mixer GetControlByNode 1 UN get a peak meter on node Play 0 printf Finding a peak meter control of node Player 0n first get the Player node asxError ASX Mixer GetNodeByType hMixer asxNODE PLAYER 0 amp hNode if CheckErrorNonTerminal hMixer LINE now get the control asxError ASX Mixer GetContro
136. Gpio 114 ASX GPIO OutputSet Gpio 115 ASX HANDLE asx h 200 ASX Handle GetType Handle 30 ASX Level Get Level 80 ASX Level GetRange Level 81 ASX Level Set Level 81 ASX LONG STRING asx h 200 ASX LONGLONG STRING asx h 200 ASX Meter GetBallistics Meter 73 ASX Meter GetChannels Meter 74 5 Meter GetPeak Meter 74 5 Meter GetRMS Meter 75 ASX Meter SetBallistics Meter 75 ASX Mic GetPhantomPower MICROPHONE Mic 118 ASX Mic SetPhantomPower MICROPHONE Mic 118 ASX Mixer GetBlockControlByNodeTypeAndIndex Mixer 44 ASX Mixer GetControl Mixer 44 ASX Mixer GetControIlByNode Mixer 45 ASX Mixer GetControlByNodeTypeAndIndex Mixer 45 ASX Mixer GetControlCount Mixer 46 ASX Mixer GetDestinationNode Mixer 46 ASX Mixer GetDestinationNodeCount Mixer 47 ASX Mixer GetNodeByType Mixer 47 ASX Mixer GetNodelIndex Node 50 ASX Mixer GetNodeType Node 50 ASX Mixer GetNodeTypeCount Mixer 48 ASX Mixer GetSourceNode Mixer 48 ASX Mixer GetSourceNodeCount Mixer 49 ASX Mixer ResetControls Mixer 49 ASX Multiplexer Enumerate MULTIPLEXER 82 ASX Multiplexer Get MULTIPLEXER 82 ASX Multiplexer Set MULTIPLEXER 83 ASX NODE asx h 200 ASX Node Node 51 ASX Node GetLocation Node 51 ASX Node GetName Node 52 ASX Node GetSubSystem Node 52 ASX Node GetType Node 52 5 PAD GetArtist Pad 100 ASX PAD GetChannelName Pad 101 Generated on Thu Dec
137. HANDLE hSilenceDetector unsigned int nEnable Returns whether the event reporting function of the silence detector is on or off Parameters hSilenceDe A handle to an ASX silence detector control tector nEnable A return value of 1 implies on while 0 implies off Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 154 Module Documentation 7 31 24 2 ASX ERROR ASX_SilenceDetector_GetState ASX_HANDLE hSilenceDetector unsigned int nState Gets the silence detector state The state is a bitfield Pairs of bits represent left and right channels of detectors Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 31 2 5 5 32 ASX ERROR ASX_SilenceDetector_GetThreshold ASX_HANDLE hSilenceDetector float fThreshold Gets the silence detector threshold units of dB Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 31 2 6 5 32 ASX ERROR ASX_SilenceDetector_SetDelay ASX_HANDLE hSilenceDetector const unsigned int Delay Set the silence detector delay Parameters hSilenceDe A handle to an ASX silence detector control tector Delay Delay in milliseconds after signal falls below threshold before silence is indicated Returns Returns 0 if there is no error otherwise one of a
138. HED 204 asxXAESEBU ERROR BIPHASE LATENCY 133ms 203 204 ERROR CHANNELSTATUSasxCOBRANET LATENCY 266ms CRC 203 204 asxAESEBU ERROR NOT LOCKED LATENCY 533ms 203 204 asxXAESEBU ERROR PARITY ERROR asxCOBRANET MODE NETWORK 203 205 asxXAESEBU ERROR POOR QUALITY asxXCOBRANET MODE TETHERED 203 205 asxAESEBU ERROR VALIDITY 203 IFSTATUS 204 asxAESEBU FORMAT AESEBU 202 LATENCY 204 asxAESEBU FORMAT SPDIF 202 asxCOBRANET 204 FORMAT UNDEFINED asx COMPANDER INDEX COMPANDER 203 205 asxAESEBU FORMAT 202 asxCOMPANDER INDEX NOISEGATE asxXAESEBU STATUS 203 205 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen INDEX 267 asxCOMPANDER INDEX 205 asxCONTROL 205 asxEQBANDTYPE 206 asxEQBANDTYPE_BANDPASS 207 AESI8 BLOCK GENERAZGROBANDTYPE BANDSTOP 207 205 asxCONTROL 518 RECEIVER 205 asxCONTROL AESI8 TRANSMITTER 205 asxCONTROL AESEBU RECEIVER 205 asxEQBANDTYPE BYPASS 206 asxEQBANDTYPE EQUALIZER 207 asxEQBANDTYPE HIGHPASS 207 asxEQBANDTYPE_HIGHSHELF 206 asxEQBANDTYPE LOWPASS 207 asxEQBANDTYPE LOWSHELF 206 asxERROR 207 asxCONTROL AESEBU TRANSMITTER3sxERROR AESI8 207 205 asxCONTROL STREAM 206 asx CONTROL_BLOCK 206 asxCONTROL CHANNEL MODE 206 asx CONTROL_COBRANET 206 asxERROR_ALREADY_OPEN 207 asxERRO
139. ILURE asxFILE MODE CREATE asx h 209 asx h 210 asxERROR PLAYER INVALIDFILEFORMEXFILE FORMAT asx h 209 asx h 209 asxERROR PLAYER NOFILE asxFILE MODE asx h 209 asx h 210 asxERROR PLAYER OUT OF SEQUENGSXHANDLE ADAPTER CALL asx h 210 asx h 209 asxHANDLE CONTROL asxERROR PLAYER TIME OUT asx h 210 asx h 209 asxHANDLE INVALID asxERROR PLAYER TWAV asx h 210 asx h 209 asxHANDLE LAST asxERROR PLAYER UNSUPPORTEDFORM 210 asx h 209 asx HANDLE_MIXER asxERROR RECORDER FILECREATEERRORsx h 210 asx h 209 asxXHANDLE NODE asxERROR RECORDER FILEWRITEERROR asx h 210 asx h 209 asxHANDLE SYSTEM RECORDER FORMATMISMATCHsx h 210 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 282 INDEX asx HANDLE_TYPE asx h 210 asxMETER PEAK asx h 210 asxMETER RMS asx h 210 asxMETER TYPE asx h 210 asxMSG LOGGING DEBUG asx h 211 asxMSG LOGGING DISABLE asx h 211 asxMSG LOGGING ERROR asx h 211 asxMSG LOGGING INFO asx h 211 asxMSG LOGGING NOTICE asx h 211 asxMSG LOGGING VERBOSE asx h 211 asxMSG LOGGING WARNING asx h 211 asxMSG LOGGING asx h 210 asxNODE asx h 211 asxNODE ADAPTER asx h 211 asxNODE AESEBU IN asx h 211 asx NODE_AESEBU_OUT asx h 212 asx NODE_ANALOG_IN asx h 212 asx NODE_ANALOG_OUT asx h 212 asx NODE_AVB_IN_AUDIO asx h 212 asx NODE_AVB_IN_ STREAM asx h 212 asx NODE_AVB_OUT_AUDIO asx h 212 asx NODE_AVB_OUT_STR
140. K SOURCE AESEBUINPUT23 1429 asxxSAMPLE_CLOCK SOURCE AESEBUINPUT24 1430 asXSAMPLE CLOCK SOURCE AESEBUINPUT25 1431 asxSAMPLE CLOCK SOURCE AESEBUINPUT 26 1432 asxSAMPLE CLOCK SOURCE AESEBUINPUT 27 1433 asxxSAMPLE_CLOCK SOURCE AESEBUINPUT28 1434 asXSAMPLE CLOCK SOURCE AESEBUINPUT29 1435 asxSAMPLE CLOCK SOURCE AESEBUINPUT30 1436 asxXSAMPLE CLOCK SOURCE AESEBUINPUT31 1437 CLOCK SOURCE AESEBUINPUT32 1438 asXSAMPLE CLOCK SOURCE LOCAL 1439 asxSAMPLE CLOCK SOURCE PREV MODULE 1440 asxXSAMPLE CLOCK SOURCE UNDEFINED 1441 asxXSAMPLE CLOCK SOURCE LIVEWIRE 1442 asXSSAMPLE CLOCK SOURCE BLULINK 1443 Sample clock source options enum asxXAESEBU FORMAT asxXAESEBU FORMAT AESEBU 1450 asxXAESEBBU FORMAT SPDIF 1451 asxXAESEBU FORMAT UNDEFINED 1452 Digital mode settings enum asxEQBANDTYPE asxXEQBANDTYPE BYPASS 1460 asxXEQBANDTYPE LOWSHELF 1461 asxEQBANDTYPE HIGHSHELF 1462 asxEQBANDTYPE EQUALIZER 1463 asxXEQBANDTYPE LOWPASS 1464 asxEQBANDTYPE_HIGHPASS 1465 asxEQBANDTYPE_BANDPASS 1466 asxxEQBANDTYPE_BANDSTOP 1467 Parametric equalizer band type settings enum asxCOBRANET_MODE asxCOBRANET MODE NETWORK 1470 asxCOBRANET MODE TETHERED 1471 Cobranet mode settings deprecated enum asxXADPROPENUM MODE asxXADPROPENUM MODE PROPERTIES 1480 asxXADPROPENUM MODE SETTINGS 1481 Generated on Thu Dec 17 2015 10 17 26 for
141. MODE nMode Opens the recorder using the specified format ASX32 ASX ERROR ASX Recorder Start ASX HANDLE hRecorder Starts the recording ASX32 ASX ERROR ASX Recorder Stop ASX HANDLE hRecorder Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 183 Stops the recording ASX32_API ASX_ERROR ASX Recorder Pause ASX HANDLE hRecorder Pauses the recording ASX32 APILASX ERROR ASX Recorder Close ASX HANDLE hRecorder Closes the recording file 8 32 APLASX ERROR 5 Recorder GetPosition ASX HANDLE hRecorder const enum asx TIMESCALE nType unsigned long plPosition Gets the current record position 2 APIASX ERROR ASX Recorder GetState ASX HANDLE hRecorder enum asxRECORDER STATE Get the current record state ASX32 ASX ERROR ASX Recorder GetFilename HANDLE hRecorder char pszFilename const int nStringLength int spnRequiredLength Get the current filename if any ASX32 APIASX ERROR ASX Recorder EnumerateFormat 5 HANDLE hRecorder const int nIndex enum asxXAUDIO FORMAT peFormat int pnCount Enumerates supported recorder formats ASX32 API ASX ERROR ASX Meter GetChannels ASX HANDLE hMe ter int xpnChannels Returns the number of channels this peak meter has ASX32 APIASX ERROR ASX Meter GetPeak ASX HANDLE hMeter float fdB const int nChannels Returns the peak meter reading for the given meter
142. MaxUnicast value Effect 0 any Always Multicast Ox7FFFFF N 1 to 4 Up to N receivers unicast Additional receivers fail N N Up to N receivers unicast switch to multicast for more Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 29 Cobranet receiver control functions These functions implement Cobranet receiver configuration Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 144 Module Documentation Functions e ASX CobranetRx GetStatus Gets a Cobranet receiver s status ASX CobranetRx GetBundle Gets a Cobranet receiver s bundle ASX CobranetRx SetBundle Sets a Cobranet receiver s bundle ASX CobranetRx GetSourceMAC Gets a Cobranet receiver s source MAC address for private bundles ASX CobranetRx SetSourceMAC Sets a Cobranet receiver s source MAC address for private bundles ASX CobranetRx GetChannelMap Gets a Cobranet receiver s channel mapping ASX CobranetRx SetChannelMap Sets a Cobranet receiver s channel mapping e ASX CobranetRx GetMinimumDelay Gets a Cobranet receiver s minimum delay ASX CobranetRx SetMinimumDelay Sets a Cobranet receiver s channel mapping 7 29 1 Detailed Description These functions implement Cobranet receiver configuration 7 29 2 Function Documentation 7 29 21 ASX32 ERROR ASX CobranetRx GetBundle ASX HANDLE hCobranetRx unsigned int pnBundle Gets a Cobranet receiver s
143. NG DISABLE 211 asxMSG LOGGING ERROR 211 asxMSG LOGGING INFO 211 amp gMSG LOGGING OTICE 211 3sXMSG LOGGING VERBOSE 211 asxMSG LOGGING WARNING 211 asxMSG LOGGING 210 asxNODE 211 NODE ADAPTER 211 asxNODE AESEBU IN 211 DE AESEBU OUT 212 asxNODE ANALOG IN 212 209 asxNODE AVB IN AUDIO 212 209 asxERROR RECORDER INTERNAL STATE FAILURE 209 asxNODE AVB OUT AUDIO 212 asxNODE AVB OUT STREAM 212 asxNODE BITSTREAM IN 211 asxERROR RECORDER INVALIDF ILENAMEGODE BLULINK IN 212 209 asxERROR RECORDER OUT OF SEQUENCE CALL 209 asxERROR RECORDER TIME OUT 209 asxERROR RECORDER TWAV 209 STARTING DEVICE 207 TOO MANY CLIENTS 208 asxERROR UNIMPLEMENTED 207 UNKNOWN 209 asxNODE_BLULINK_OUT 212 asxNODE CLOCK SOURCE IN 211 asxNODE COBRANET IN 211 asxNODE COBRANET OUT 212 asxNODE COBRANET RECEIVER 211 asxNODE COBRANET TRANSMITTER 212 asxNODE FIRST DEST NODE 212 asxNODE INTERNAL IN 212 asxNODE INTERNAL OUT 212 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen INDEX 269 asxNODE_INVALID 211 asxNODE LAST DEST NODE 212 asxNODE LAST SOURCE NODE 212 asxNODE LINE IN 211 asxNODE LINE OUT 212 asxNODE MICROPHONE IN 211 asxNODE NONE 211 asxNODE PLAYER 211 asxNODE RADIO FREQ IN 211 asxNODE RADIO FREQ OUT 212 asxNODE RECORDER 212 asxNODE DESTINATION IN 212 asxNODE
144. O if hNode asxNODE NONE Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c and mixer main c 7 7 2 4 5 32 ERROR ASX Node GetLocation ASX HANDLE hNode int pnModuleSlot int pnNodelndexOnSlot char pszModuleName const int nStringLength Returns the location of the given node in terms of module slots and position on the module that contains the node Parameters hNode A handle to an ASX node object pnMod uleSlot The returned module s slot number pnNodeln dexOnSlot The returned node s index on the module pszModule Name The returned module name This wil be something like ASI1441 The string passed in should be of length ASX_SHORT_STRING nStringLengt The length of the passed in string Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 52 Module Documentation Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 7 2 5 ASX32 ASX_ERROR ASX_Node_GetName ASX HANDLE hNode char pszNodeName const int nStringLength Get the name of the node Parameters hNode handle to an ASX node object pszNode The string buffer of size nStringLength allocated by the caller Name The length of the pszNodeName buffer Should be ASX LONG STRING nStringLengt Returns Returns 0 if there is no error o
145. ODE MODE 2 1109 asxXADAPTERMODE MODE 3 1110 asxXADAPTERMODE MULTICHANNEL 1111 asx ADAPTERMODE_MONO 1112 asxXADAPTERMODE LOW LATENCY 1113 asxXADAPTERMODE 24 PLAY 1114 asxxADAPTERMODE 22 PLAY 1115 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 170 File Documentation Adapter mode settings enum asxTUNERBAND asx TUNERBAND_AM 1200 asx TUNERBAND_FM 1201 asx TUNERBAND_ TV 1202 asxTUNERBAND_FM_STEREO 1203 asx TUNERBAND_AUX 1204 asx TUNERBAND_TV_PAL_BG 1205 asx TUNERBAND_ TV_PAL_I 1206 asXKTUNERBAND TV PAL DK 1207 asxXTUNERBAND TV SECAM L 1208 asxXTUNERBAND 1209 Tuner band settings enum asx TUNERDEEMPHASIS asxTUNERDEEMPHASIS_50 1240 asxXTUNERDEEMPHASIS 75 1241 asxXTUNERDEEMPHASIS NONE 1242 Tuner FM de emphasis settings enum asx TUNERMODE asx TUNERMODE RSS 1250 asx TUNERMODE RSS ENABLE 1251 TUNERMODE_RSS_DISABLE 1252 Tuner mode settings enum asx TUNERPROGRAM asx TUNERPROGRAM_NONE 1260 asx TUNERPROGRAM_ 1 1261 asx TUNERPROGRAM 2 1262 3 1263 asxXTUNERPROGRAM 4 1264 5 1265 asx TUNERPROGRAM_ 6 1266 7 1267 asxXTUNERPROGRAM 8 1268 Tuner program settings enum asx TUNERHDBLEND asx TUNERHDBLEND_AUTO 1280 asx TUNERHDBLEND_ ANALOG 1281 Tuner HD Radio blend settings enum asxXS
146. OR Multiplexer Enumerate ASX HANDLE hMux const int nindex enum asxNODE peNode int pnNodelndex int pnCount Enumerate each multiplexer option Returns each multiplexer option in terms of a node type and an index For example if value selections are Line Ins 1 4 this function will return asxNODE LINE IN with the nNodelIndex value set to 0 3 To find all available settings this function should be called repeatedly with incrememnting values on nIndex until an error is returned Parameters hMux A handle to an ASX multiplexer control nIndex The index of the multiplexer option to fetch peNode The returned multiplexer node See asxNODE for available nodes pnNodeln The returned node index dex pnCount The total number of available multiplexer settings Returns Returns 0 if there is no error otherwise of asxERROR is returned Examples mux main c 714 222 ASX32 ERROR ASX Multiplexer Get ASX HANDLE hMux enum asxNODE peNode int pnNodelndex Get the current multiplexer setting Parameters hMux handle to an ASX multiplexer control Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 15 Channel Mode control functions 83 peNode The returned node See asx NODE for available nodes pnNodeln The returned node index dex Returns Returns 0 if there is no error otherwise o
147. OR ASX Tuner GetDabAudioServiceName ASX HANDLE htTuner char szAudioServiceName const int nSize const int nIndex Get a DAB Audio Service Parameters hTuner A handle to an ASX tuner control szAudioSer String containing audio service name viceName nSize Max size of string nIndex Index of service to get Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 5 32 ERROR ASX Tuner GetDabMultiplexld ASX HANDLE hTuner unsigned long dwMultiplexld Get a DAB Multiplex ID Parameters hTuner A handle to an ASX tuner control dwMulti unsigned long to return Multiplex Id plexid Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 16 Tuner control functions 91 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 716 210 ASX32 ERROR ASX Tuner GetDabMultiplexName ASX HANDLE char szMultiplexName const int nSize Get a DAB Multiplex Name Parameters hTuner A handle to an ASX tuner control szMultiplex String containing audio service name Name nSize Max size of string Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2211 ASX32 ERROR ASX Tuner GetDabServiceld ASX HANDLE hTuner unsigned long dwServiceld Get a DAB Service ID Parameters
148. OR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 108 Module Documentation 7 18 2 10 ASX32 ASX_ERROR ASX_SampleClock_SetClockSource ASX_HANDLE hSampleClock const enum asxSAMPLE_CLOCK_SOURCE eClockSource Set the sample clock source Parameters hSample A handle to an ASX sample clock control Clock eClock The sample clock source option to set Source Returns Returns 0 if there is no error otherwise one of asxXERROR is returned 718 211 5 32 ASX_ERROR ASX_SampleClock_SetLocalRate ASX_HANDLE hSampleClock const int nSampleRate Set the sample rate for the local sample clock generator Parameters hSample A handle to an ASX sample clock control Clock nSampleR The sample rate to set ate Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 18 2 12 5 32 ASX_ERROR ASX SampleClock SetLocalRateLock ASX_HANDLE hSampleClock const int nLock Lock the local sample clock to its current setting For CobraNet adapters that run from a network clock this function will lock the sample rate of the adapter s players and recorders to the network clock On an ASI6416 this will result 48 kHz being the only sample rate supported Parameters hSample A handle to an ASX sample clock control Clock nLock When set to 1 the local rate is locked when 0 it is unlocked
149. OR is returned 7 28 27 ASX32 ERROR ASX CobranetTx SetBundle ASX HANDLE hCobranetTx const unsigned int nBundle Sets a Cobranet transmitter s bundle Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 142 Module Documentation Parameters hCo A handle to an ASX cobranet transmitter control branetTx nBundle The bundle to assign to the transmitter A value of indicates that the tranmitter is disabled Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 28 2 8 5 32 ASX ERROR ASX CobranetTx SetChannelCount ASX HANDLE hCobranetTx const unsigned int nCount Sets a Cobranet transmitter s channel count Parameters hCo A handle to an ASX cobranet transmitter control branetTx nCount The number of audio channels to transmit in a bundle This is SNMP vari able txSubCount Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 28 2 5 32 ERROR ASX CobranetTx SetChannelMap ASX HANDLE hCobranetTx const unsigned int nMap 8 Sets a Cobranet transmitter s channel map This controls which audio routing channels are transmitted Parameters hCo A handle to an ASX cobranet transmitter control branetTx nMap The channel map is passed as in an array of size 8 Returns Returns 0 if there is no error otherwise one of asxERROR
150. PTYPE 219 asx UCONTROL_RTYPE 219 asx TUNER_STATUS_MULTIPROGRAM asx VOLUME_AUTOFADE_LINEAR 217 asx TUNER_STATUS_PLL_LOCKED 217 220 asx VOLUME_AUTOFADE LOG 220 asx VOLUME_AUTOFADE 220 asx TUNER_STATUS_VIDEO_COLORSX32_API PRESENT 217 asx TUNER_STATUS_VIDEO_HORZ asx h 200 asxstring h 221 SYNC_MISSING 217 ASX_Adapter_CheckSubSystems asx TUNER_STATUS_VIDEO_IS_60HZ Adapter 34 217 asx TUNER_STATUS_VIDEO_VALID 217 asx TUNER_RDS_TYPE 217 asx TUNER_STATUS 217 asx TUNERBAND 217 asx TUNERBAND_ AM 217 asx TUNERBAND_ AUX 217 asx TUNERBAND_DAB 218 asx TUNERBAND_ FM 217 asx TUNERBAND_FM_STEREO 217 asx TUNERBAND_ TV 217 asx TUNERBAND_TV_PAL_BG 218 asxXTUNERBAND TV PAL DK 218 asxXTUNERBAND TV PAL 1 218 asxXTUNERBAND TV SECAM 1 21 asx TUNERDEEMPHASIS 218 asx TUNERDEEMPHASIS_50 218 asx TUNERDEEMPHASIS_75 218 asx TUNERDEEMPHASIS_NONE 218 asx TUNERHDBLEND 218 asx TUNERHDBLEND_ANALOG 218 asx TUNERHDBLEND_AUTO 218 asx TUNERMODE 218 asx TUNERMODE RSS 218 asx TUNERMODE_RSS_DISABLE 218 asx TUNERMODE_RSS_ENABLE 21 asx TUNERPROGRAM 218 asx TUNERPROGRAM_ 1 218 asx TUNERPROGRAM_ 2 219 asx TUNERPROGRAM_ 3 219 asx TUNERPROGRAM_ 4 219 asx TUNERPROGRAM_ 5 219 asxXTUNERPROGRAM 6 219 7 219 asx TUNERPROGRAM_ 8 219 asx TUNERPROGRAM_NONE 218 asx UCONTROL_PFLAGS 219 ASX_Adapter_EnumerateMode Adapter 34 ASX_Adapter_Enume
151. R DONE asx h 213 asxRECORDER INIT asx h 213 asx RECORDER_OPEN asx h 213 asx RECORDER_PAUSED asx h 213 asxRECORDER RUNNING asx h 213 asxRECORDER STATE asx h 213 asxXSAMPLE CLOCK SOURCE AESEBUINPUT21 asx h 215 asxXSAMPLE CLOCK SOURCE AESEBUINPUT22 asx h 215 asxXSAMPLE CLOCK SOURCE AESEBUINPUT23 asx h 215 asxXSAMPLE CLOCK SOURCE AESEBUINPUT24 asx h 215 asxXSAMPLE CLOCK SOURCE AESEBUINPUT25 asx h 215 asxXSAMPLE CLOCK SOURCE AESEBUINPUT26 asx h 215 asxXSAMPLE CLOCK SOURCE AESEBUINPUT 27 asx h 215 asxXSAMPLE CLOCK SOURCE AESEBUINPUT28 asx h 215 asxXSAMPLE CLOCK SOURCE AESEBUINPUT29 asx h 215 asxXSAMPLE CLOCK SOURCE AESEBUINPUT3 asx h 214 asxXSAMPLE CLOCK SOURCE ADAPTERxSAMPLE CLOCK SOURCE AESEBUINPUT30 asx h 214 asx h 215 asxXSAMPLE CLOCK SOURCE AESEBUAMXSIXKMPLE CLOCK SOURCE AESEBUINPUT31 asx h 214 asx h 215 asxXSAMPLE CLOCK SOURCE SOURCE AESEBUINPUT32 asx h 214 asx h 215 asxXSAMPLE CLOCK SOURCE SOURCE AESEBUINPUTA asx h 214 asx h 214 asxXSAMPLE CLOCK SOURCE SOURCE AESEBUINPUT5 asx h 214 asx h 214 asxXSAMPLE CLOCK SOURCE CLOCK SOURCE AESEBUINPUT6 asx h 214 asx h 214 asxSAMPLE_CLOCK_SOURCE_AESEBUISSXBAMBLE CLOCK SOURCE AESEBUINPUT7 asx h 214 asx h 214 asxXSAMPL
152. R PROPERTY SYNC asxAUDIO FORMAT MPEG AACPLUS HEADER CONNECTIONS 201 203 PROPERTY 201 asxAUDIO_FORMAT_MPEG_L2 203 asxADAPTERMODE 201 asxAUDIO_FORMAT_MPEG_L3 203 asxXADAPTERMODE 12 PLAY 202 asxAUDIO_FORMAT_NONE 203 asxADAPTERMODE_16_PLAY 202 asxAUDIO_FORMAT_PCM16 203 asxADAPTERMODE_1_PLAY 202 asxAUDIO_FORMAT_PCM20 203 asxADAPTERMODE_24_ PLAY 202 asxAUDIO FORMAT 24 203 asxXADAPTERMODE 32 PLAY 202 asxAUDIO FORMAT 32 203 asxXADAPTERMODE 4 PLAY 201 asxAUDIO FORMAT PCM32 FLOAT asxXADAPTERMODE 6 PLAY 201 203 asxXADAPTERMODE 8 PLAY 201 asxAUDIO FORMAT 8 203 asxXADAPTERMODE 9 PLAY 201 asxAUDIO FORMAT 203 asxXADAPTERMODE ILLEGAL 201 asxCHANNELMODE 203 asxXADAPTERMODE LOW LATENCY asxCHANNELMODE ILLEGAL 204 202 asxCHANNELMODE LEFTTOSTEREO asxXADAPTERMODE 1 202 204 asxADAPTERMODE_MODE 2 202 asxCHANNELMODE NORMAL 204 asxXADAPTERMODE 3 202 asxCHANNELMODE RIGHTTOSTEREO asxXADAPTERMODE 202 204 asxXADAPTERMODE MULTICHANNEL asxXCHANNELMODE STEREOTOLEFT 202 204 asxXADPROPENUM MODE PROPERTIESjsxCHANNELMODE STEREOTORIGHT 202 204 asxXADPROPENUM MODE SETTINGS asxCHANNELMODE SWAP 204 202 asxCOBRANET IFSTATUS ACTIVE asxXADPROPENUM SSX2 OFF 202 CONNECTION 204 asxXADPROPENUM SSX2 ON 202 asxCOBRANET IFSTATUS FULL asxXADPROPENUM 202 DUPLEX 204 asxXADPROPENUM SSX2 202 asxCOBRANET IFSTATUS LINK asxXAESEBU ERROR 203 ESTABLIS
153. ROR 5 AESEBUReceiver EnumerateFormat ASX HANDLE hAESEBUR x const int nIndex enum asx AESEBU_FORMAT peAesebuFormat int xpnCount Enumerate each 83 receive format supported by the hardware 5 32 APIASX ERROR ASX AESEBUReceiver SetFormat ASX HANDLE hAESEBUR x const enum asxXAESEBU FORMAT eAesebuFormat Set the format of the AESEBU receiver 5 32 APIASX ERROR ASX AESEBUReceiver GetFormat ASX HANDLE hAESEBURx enum asxXAESEBU FORMAT xpeAesebuFormat Get the format of the AESEBU receiver 5 32 5 ERROR 5 AESEBUTransmitter EnumerateFormat ASX HANDLE hAESEBUTx const int nIndex enum asxXAESEBU FORMAT peAesebuFormat int xpnCount Enumerate each AES3 transmit format supported by the hardware 5 32 APIASX ERROR 5 AESEBUTransmitter SetFormat ASX HANDLE hAESEBUTx const enum asxXAESEBU FORMAT eAesebuFormat Set the format of the AESEBU transmitter 5 32 5 ERROR 5 AESEBUTransmitter GetFormat ASX HANDLE hAESEBUTx enum asxXAESEBU FORMAT peAesebuFormat Get the format of the AESEBU transmitter ASX32 APIASX ERROR ASX GPIO GetProperties ASX HANDLE hGPIO int xpnNumberOflInputBits int xpnNumberOfOutputBits Get the properties of the GPIO control ASX32 APIASX ERROR ASX GPIO InputGet ASX HANDLE hGPIO int xpnInputBits const int nNumberOfBits Read the state of the GPIO opto inputs Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1
154. RROR ASX Adapter GetMacAddress 5 HANDLE hAdapter char pszMAC Gets an adapter s ethernet MAC address ASX32 APIASX ERROR ASX Adapter GetIpAddress 5 HANDLE hAdapter char pszIP Gets an adapter s network IP address ASX32 APIASX ERROR ASX Adapter GetDspUtilizaton ASX HANDLE hAdapter const int nDspIndex int pnDspUtilization Gets an adapter s DSP utilization ASX32 APIASX ERROR ASX Adapter GetMixer ASX HANDLE hAdapter ASX HANDLE xp hMixer Gets a handle to an adapter s mixer ASX32 API ASX ERROR ASX Adapter EnumerateMode ASX HANDLE hAdapter const int nIndex enum asxADAPTERMODE int pnCount Enumerate each adapter mode option Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 178 File Documentation ASX32_API ASX_ERROR ASX_Adapter_GetMode ASX_HANDLE hAdapter enum asxADAPTERMODE Get the current adapter mode ASX32 APIASX ERROR ASX_Adapter_SetMode ASX_HANDLE hAdapter const enum asx ADAPTERMODE eMode Set the current adapter mode ASX32_API ASX_ERROR ASX_Adapter_EnumerateProperty ASX_HANDLE hAdapter const int nIndex const enum asxADPROPENUM_MODE eMode const int nSubIndex unsigned long pdwSetting Enumerates adapter properties and settings ASX32 APIASX ERROR ASX Adapter ReadProperty ASX HANDLE hAdapter const int nIndex unsigned short pwParml unsigned short pwParm2 Read an adapter s property value ASX32 APIASX ERROR ASX Adapter
155. RROR ASX Tuner GetProgram ASX HANDLE hTuner enum asx TUNERPROGRAM peProgram Get tuner program ASX32 APIASX ERROR ASX Tuner GetHdRadioSignalQuality ASX_HANDLE hTuner int pnSignalQuality ASX32 APIASX ERROR ASX Tuner GetDigitalSignalQuality ASX HANDLE hTuner int pnSignalQuality Get digital signal quality ASX32 APIASX ERROR ASX Tuner GetHdRadioSdkVersion ASX HANDLE hTuner char szSdkVersion const int nStringLength ASX32 APIASX ERROR ASX Tuner GetHdRadioDspVersion ASX HANDLE hTuner char szSdkVersion const int nStringLength ASX32 APIASX ERROR ASX Tuner GetFirmwareVersion ASX HANDLE hTuner char szFirmware Version const int nStringLength Get a Firmware version string ASX32 API ASX ERROR ASX Tuner EnumerateHdBlend ASX HANDLE hTuner const int nIndex enum asx TUNERHDBLEND peBlend int pnCount Enumerates tuner blend options ASX32_API ASX_ERROR ASX_Tuner_SetHdBlend ASX_HANDLE hTuner const enum asx TUNERHDBLEND nMode Set a HD Radio tuner to analog only or auto switch ASX32_API ASX_ERROR ASX_Tuner_GetHdBlend ASX_HANDLE hTuner enum asx TUNERHDBLEND Get a HD Radio tuner analog or digital blend ASX32_API ASX_ERROR ASX_Tuner_GetDabMultiplexName ASX_HANDLE hTuner char szMultiplexName const int nSize Get a DAB Multiplex Name ASX32_API ASX_ERROR ASX_Tuner_GetDabMultiplexId ASX_HANDLE hTuner unsigned long dwMultiplexId Get a DAB Multiplex ID ASX32 APIASX ERROR A
156. R_ASXOBJECT 207 asxERROR_BUFFER_TOO_SMALL 207 COBRANET NODE FOUND 208 asxCONTROL COBRANET RECEIVER COBRANET NODE NOT 206 FOUND 208 asxCONTROL COBRANET COBRANET NODE UNREACHABLE 206 asx CONTROL_COMPANDER 206 asx CONTROL_CONNECTION 205 asx CONTROL_GENERIC 206 asx CONTROL_GPIO 206 asx CONTROL_INVALID 205 asx CONTROL_LAST_CONTROL 206 asx CONTROL_LEVEL 205 asx CONTROL_METER 205 asx CONTROL_MICROPHONE 206 asx CONTROL_MULTIPLEXER 205 asx CONTROL_MUTE 205 asxCONTROL PAD 206 asxCONTROL PARAMETRIC EQ 206 asxCONTROL PLAYER 206 asxCONTROL RDS 205 asxCONTROL RECORDER 206 asxCONTROL RESERVED 525 206 asxCONTROL RESERVED 526 206 asxCONTROL RESERVED 527 206 asxCONTROL RESERVED 528 206 asxCONTROL SAMPLE CLOCK 206 asxCONTROL SILENCEDETECTOR 206 asxCONTROL SRC 206 asx CONTROL_TONEDETECTOR 206 asx CONTROL_TUNER 205 asx CONTROL_VOLUME 205 asx CONTROL_VOX 205 208 asxERROR_COMMUNICATING_WITH_ DEVICE 207 asxERROR_CONTROL_NOT_READY 208 asxERROR_DEPRECATED 208 asxERROR_DISCO_DLL_NOT_FOUND 208 asxERROR_DUPLICATE_ADAPTER_ INDEX 208 asxERROR_ENUMERATE_INDEX_ OUT_OF_RANGE 207 asxERROR_FILE_OPEN_FAILED 209 asxERROR_HOST_NOT_FOUND 208 asxERROR_INDEX_OUT_OF_RANGE 207 asxERROR_INTERNAL_BUFFERING_ ERROR 207 asxERROR_INVALID_CONTROL 208 asxERROR_INVALID_CONTROL_ ATTRIBUTE 208 asxERROR_INVALID_CONTROL_ NOT_FOUND 208
157. SOURCE AESEBUINPUT 12 TYPE FLOAT 219 214 INTEGER 219 asxSAMPLE CLOCK SOURCE AESEBUINPUTI3 IP4 ADDRESS 214 219 asxSAMPLE CLOCK SOURCE AESEBUINPUT A4 IP6 ADDRESS 215 219 asxSAMPLE CLOCK SOURCE AESEBUINPUTIS5 TYPE MAC ADDRESS 215 219 asxSAMPLE CLOCK SOURCE_AESEBUINPUT 16 asxPARAM_TYPE_NONE 219 215 asxPARAM_TYPE_STRING 219 asxSAMPLE CLOCK SOURCE_AESEBUINPUT17 asxPLAYER DESTROY 213 215 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 270 INDEX asxSAMPLE_CLOCK_SOURCE_AESEBUISXBAMIBLE CLOCK SOURCE LIVEWIRE 213 216 asxXSAMPLE CLOCK SOURCE AESEBURXBHMIPLE CLOCK SOURCE LOCAL 215 415 asxXSAMPLE CLOCK SOURCE CLOCK SOURCE NETWORK 214 214 asxSAMPLE_CLOCK_SOURCE_AESEBUISXBAMPLE CLOCK_SOURCE_PREV_ 215 MODULE 215 asxSAMPLE_CLOCK_SOURCE_AESEBUISXBAMRLE CLOCK SOURCE SMPTE 215 214 asxSAMPLE_CLOCK_SOURCE_AESEBUISXBAMPPLE_CLOCK_SOURCE_UNDEFINED 215 215 asxSAMPLE CLOCK SOURCE AESEBURXBHWIPBLE CLOCK_SOURCE_WORD 215 214 asxXSAMPLE CLOCK SOURCE AESEBURXBHWPBIE CLOCK SOURCE WORD 213 HEADER 214 asxSAMPLE_CLOCK_SOURCE_AESEBUISSBAMBLE RATE 11025 216 215 asxSAMPLE RATE 12000 216 asxSAMPLE_CLOCK_SOURCE_AESEBUISXBAMBLE RATE 16000 216 215 asxXSAMPLE RATE 176400 216 asxXSAMPLE CLOCK SOURCE AESEB
158. STATUS FULL DUPLEX Connection is full duplex asxCOBRANET IFSTATUS ACTIVE CONNECTION Packets being received at least every other second 9 1 3 10 enum asxXCOBRANET LATENCY Cobranet latency settings Enumerator asxCOBRANET LATENCY 133 Cobranet latency of 1 1 3 ms asxCOBRANET LATENCY 266ms Cobranet latency of 2 2 3 ms asxCOBRANET LATENCY 533ms Cobranet latency of 5 1 3 ms Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 205 9 1 3 11 enum asxCOBRANET MODE Cobranet mode settings deprecated Enumerator asx COBRANET_MODE_NETWORK Cobranet mode is set to networked asxCOBRANET MODE TETHERED Cobranet mode is set to tethered 9 1 3 12 enum asxCOMPANDER INDEX Compander control indicies Enumerator asxCOMPANDER INDEX NOISEGATE Noise gate index asxCOMPANDER INDEX COMPANDER Compander index 9 1 3 13 enum asxxCONTROL Control type identifiers The control types are used to differentiate control capabilities Enumerator asxCONTROL INVALID Placeholder that indicates an error asxCONTROL CONNECTION Documents a connection no functionality asxCONTROL VOLUME volume control A large number of volume con trols are used to control audio routing and mixing asxCONTROL METER meter control This is used to implement peak meter functionality asxCONTROL MUTE mute control asxCONTROL MULTIPLEXER multiplexer control allows the selection of a single audio source fro
159. SX Tuner GetDabAudioServiceCount ASX HANDLE hTuner int pnIndex int pnCount Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 188 File Documentation Get Number of Dab Audio Services ASX32_API ASX_ERROR ASX_Tuner_GetDabAudioServiceName ASX_HANDLE hTuner char szAudioServiceName const int nSize const int nIndex Get a DAB Audio Service ASX32_API ASX_ERROR ASX_Tuner_SetDabAudioService ASX_HANDLE hTuner const int nIndex Set a DAB Audio Service ASX32 APIASX ERROR ASX_Tuner_GetDabServiceld ASX_HANDLE hTuner unsigned long dwServiceld Get a DAB Service ID ASX32 APIASX ERROR ASX Tuner GetDabAudioInfo ASX HANDLE hTuner char szAudioInfo const int nSize Get a DAB audio information ASX32 APIASX ERROR ASX PAD GetChannelName ASX HANDLE hPAD char pszChannelName const int nStringLength Get a Program Auxilary Data channel name ASX32 APIASX ERROR ASX PAD GetArtist ASX HANDLE hPAD char pszArtist const int nStringLength Get a Program Auxilary Data artist ASX32 API ASX ERROR ASX PAD GetTitle ASX HANDLE hPAD char pszTitle const int nStringLength Get a Program Auxilary Data title ASX32 API ASX ERROR ASX PAD GetComment ASX HANDLE hPAD char pszComment const int nStringLength Get a Program Auxilary Data comment ASX32 APIASX ERROR ASX PAD GetProgramType ASX HANDLE hPAD int xpnProgramType Get a Program Auxilary Data program type ASX32 APIASX ERROR ASX P
160. SX by Doxygen 148 Module Documentation 7 29 27 5 32 ASX_ERROR ASX CobranetRx SetChannelMap ASX HANDLE hCobranetRx const unsigned int nMap 8 Sets a Cobranet receiver s channel mapping Parameters hCo A handle to an ASX cobranet receiver control branetRx nMap Audio channel mapping Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 29 28 ASX32 ERROR 5 CobranetRx SetMinimumDelay ASX HANDLE hCobranetRx const unsigned int nMinDelay Sets a Cobranet receiver s channel mapping Selects a minimum additional delay imposed on the received audio Delay is expressed in units of isochronous cycles 1 1 3ms for standard 5 1 3ms latency mode 2 3ms for 2 2 3ms latency mode and 1 3ms for 1 1 3ms latency mode This variable is designed to allow configuration of a deterministic common delay for all Cobranet interfaces in larger network installations rxDelay will never be reduced below this setting This variable is not designed for actively delaying audio for architectural applications Parameters hCo A handle to an ASX cobranet receiver control branetRx nMinDelay Minium audio delay Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 29 3 ASX32 ERROR ASX CobranetRx SetSourceMAC ASX HANDLE hCobranetRx const unsigned int dwMAC_MSBs const unsigned short wMAC LSBs Sets
161. SX_HANDLE hCobranet const char pszLongInputString Set the device s name in the sysName SNMP field ASX32_API ASX_ERROR ASX_Cobranet_GetLocation ASX_HANDLE hCo branet char szString const int nLength Get the device s location from the sysLocation SNMP field ASX32_API ASX_ERROR ASX_Cobranet_SetLocation ASX_HANDLE hCo branet const char pszLongInputString Set the device s location in the sysLocation SNMP field ASX32_API ASX_ERROR ASX_Cobranet_GetFirmwareRevision ASX HANDLE hCobranet char pszRevision Gets a device s firmware revision ASX32 APIASX ERROR ASX Cobranet GetErrorInfo ASX HANDLE hCo branet unsigned int xpnCode unsigned int pnCount unsigned int pnDisplay Gets a device s error information ASX32 APIASX ERROR ASX Cobranet GetLatencyAndSampleRate ASX HANDLE hCobranet enum asxCOBRANET LATENCY peLatency enum asxXSAMPLE RATE Gets a device s latency and sample reate ASX32 APIASX ERROR ASX Cobranet SetLatencyAndSampleRate ASX HANDLE hCobranet const enum asxCOBRANET LATENCY eLatency const enum asxSAMPLE eRate Gets a device s latency and sample reate 5 32 5 ERROR ASX Cobranet GetPersistence 5 HANDLE hCo branet unsigned int pnSetting Gets a device s flash persistence setting ASX32 5 ERROR 5 Cobranet SetPersistence ASX HANDLE hCo branet const unsigned int nSetting Sets a device s flash persistence state
162. SetLevel ASX Tuner GetHdRadioSdk Version Vox 116 Tuner 94 asxXADAPTER PROPERTY ERRATA 1 ASX Tuner GetHdRadioSignalQuality asx h 201 Tuner 95 asxXADAPTER PROPERTY FIRMWARE ASX Tuner GetMode ID Tuner 95 asx h 201 ASX Tuner GetProgram asxXADAPTER PROPERTY SSX2 SETTING Tuner 95 asx h 201 ASX Tuner GetRawRFLevel asxXADAPTER PROPERTY SUPPORT Tuner 96 SSX2 ASX Tuner GetRFLevel asx h 201 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 278 INDEX asxADAPTER_PROPERTY_SUPPORTS_ FW_UPDATE asx h 201 asx h 202 asxXADPROPENUM SSX2 ON asx h 202 asxXADAPTER PROPERTY SUPPORTS asxADPROPENUM MODE SNMP asx h 201 asx h 202 asx ADPROPENUM_SSX2 asxXADAPTER PROPERTY SYNC HEADER asx h 202 CONNECTIONS asx h 201 asxXADAPTER PROPERTY asx h 201 asx ADAPTERMODE asx h 201 asx ADAPTERMODE_12_ PLAY asx h 202 asx ADAPTERMODE_16_PLAY asx h 202 asx ADAPTERMODE_1_ PLAY asx h 202 asxXADAPTERMODE 24 PLAY asx h 202 asxXADAPTERMODE 32 PLAY asx h 202 asxXADAPTERMODE 4 PLAY asx h 201 asxXADAPTERMODE 6 PLAY asx h 201 asxXADAPTERMODE 8 PLAY asx h 201 asxXADAPTERMODE 9 PLAY asx h 201 asxXADAPTERMODE ILLEGAL asx h 201 asxXADAPTERMODE LOW LATENCY asx h 202 asxXADAPTERMODE MODE 1 asx h 202 asxXADAPTERMODE MODE 2 asx h 202 asxXADAPTERMODE MODE 3 asx h 202 asx ADAPTERMODE_MONO asx h 202 asxADAPTERMODE_MULTICHANNEL asx h 202 asxADPROPENUM_MODE_PROPERTIES a
163. String printf When called from source 55 line dWMn FILE nLine printf Press ENTER to exit n getchar free pszAsxErrorString free pszAsxSubSystemErrorString ASX System Delete hSystem exit 1 return 1 10 8 play main c This is an example of how to use the ASX Player control SHeader home eliot asi repo cvsrepo Repository apps asx examples play main c 1 14 2011 05 04 19 13 02 as dxb Exp x include stdio h include stdlib h ifdef _ APPLE include unistd h include asx asx h include asx asxstring h define Sleep t sleep t else include windows h include asx h include asxstring h endif ASX HANDLE hSystem 0 void PrintControlName ASX HANDLE hControl int int CheckError ASX HANDLE hObj int nLine main int char argv char xpszName char pszFormat char xpDummy char pState ASX HANDLE hAdapter ASX HANDLE hMixer ASX HANDLE hPlayer ASX ERROR asxError int nAdapterToUse 0 int nLen Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 8 play main c 247 enum asxPLAYER_STATE state if argc 2 printf Filename to play is a required parameter n return 1 create the system ASX_System_Create ASX_SYSTEM_TYPE_HPI amp hSystem CheckError hSystem __LINE__ ASX_System_SetMessageLogging hSystem asxMSG_LOGGING_VERBOSE CheckError hSystem __LINE__ get the adapter ASX_Syste
164. T Last handle placeholder 9 1 3 19 enum asxMETER TYPE Peak meter type to read Enumerator asxMETER PEAK The peak level of the signal asxMETER RMS RMS level of the signal Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 211 9 1 3 20 enum asxMSG_LOGGING Error logging control Uses Dbg View under Windows to log messages Enumerator asxMSG_LOGGING_DISABLE Disable all message logging asxMSG_LOGGING_ERROR Enable logging of error messages asxMSG_LOGGING_WARNING Enable logging of warning and error mess sages asxMSG_LOGGING_NOTICE Enable logging of notice ASX function error returns warning and error messages asxMSG_LOGGING_INFO Enable logging of info ASX function calls no tice warning and error messages asxMSG_LOGGING_DEBUG Enable logging of debug info notice warning and error messages asxMSG LOGGING VERBOSE Enable logging of all messages 9 1 3 21 enum asxNODE Node type identifiers The nodes identify how controls are connected and located This enum is used to identify node types Enumerator asxNODE NONE Node does not exist value asxNODE INVALID Node is invalid asxNODE ADAPTER n adapter node that contains controls like GPIO and NvMem asxNODE PLAYER player source node This node has the abiility to play audio files asxNODE LINE IN An audio source coming from a line in audio connector asxNODE AESEBU IN An audio source coming from a d
165. TER PROPERTY SYNC HEADER CONNECTIONS read only the number of headers connected PROPERTY SUPPORT SSX2 read only returns true or false asxADAPTER PROPERTY SUPPORTS FW UPDATE read only device sup ports firmware updating PROPERTY FIRMWARE ID read only firmware ID asxADAPTER PROPERTY SUPPORTS SNMP read only device supports SNMP 9 1 3 2 enum asXADAPTERMODE Adapter mode settings Enumerator asxADAPTERMODE ILLEGAL Illegal adapter mode asxADAPTERMODE 4 PLAY Adapter has 4 playback streams asxADAPTERMODE 6 PLAY Adapter has 6 playback streams asxADAPTERMODE 8 PLAY Adapter has 8 playback streams Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 202 File Documentation asxXADAPTERMODE 9 PLAY Adapter has 9 playback streams asxADAPTERMODE 12 PLAY Adapter has 12 playback streams asxADAPTERMODE 16 PLAY Adapter has 16 playback streams asxADAPTERMODE 1 PLAY Adapter has 1 playback streams asxXADAPTERMODE MODE 1 Adapter mode 1 Exact meaning depends on the adapter asxXADAPTERMODE MODE 2 Adapter mode 2 Exact meaning depends on the adapter asxXADAPTERMODE MODE 3 Adapter mode 3 Exact meaning depends on the adapter asxADAPTERMODE_MULTICHANNEL Adapter set to handle streams with more than 2 channels asxADAPTERMODE_MONO Adapter set to handle mono streams including physical I O asxADAPTERMODE_LOW_LATENCY Adapter set to low latency mode asxADAPTERMODE 24
166. TREAM 417 asxNODE BLULINK IN 418 asxYNODE AVB AUDIO 419 asxNODE LAST SOURCE NODE 420 asxNODE FIRST DEST NODE 450 asxNODE RECORDER 450 LINE OUT 451 asxNODE AESEBU OUT 452 asxNODE RADIO FREQ OUT 453 asxNODE SPEAKER OUT 454 asxNODE_COBRANET_OUT 455 asxNODE COBRANET TRANSMITTER 456 asxNODE ANALOG OUT 457 SDI OUT 458 asxNODE SOURCE OUT 459 asxNODE AVB OUT STREAM 460 asxNODE INTERNAL OUT 461 asxNODE BLULINK OUT 462 AVB OUT AUDIO 463 asxNODE LAST DEST NODE 464 Node type identifiers The nodes identify how controls are connected and located This enum is used to identify node types enum asxCONTROL asxCONTROL INVALID 500 asxCONTROL CONNECTION 501 asxCONTROL VOLUME 502 asx CONTROL METER 503 asxCONTROL 504 asx CONTROL_MULTIPLEXER 505 asxCONTROL AESEBU TRANSMITTER 506 AESEBU RECEIVER 507 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 169 asxCONTROL LEVEL 508 asxCONTROL_TUNER 509 asxCONTROL_ RDS 510 asx CONTROL VOX 511 asxCONTROL_AES18_TRANSMITTER 512 asxCONTROL_AES18_ RECEIVER 513 as CONTROL 518 BLOCK GENERATOR 514 as CONTROL CHANNEL MODE 515 asxCONTROL STREAM 516 asxCONTROL SAMPLE CLOCK 517 asxCONTROL MICROPHONE 518 asxCONTROL PARAMETRIC EQ 519 asx
167. This can be set to NULL quiredLength if the calling passes a string of length ASX SHORT STRING Note This function can be called will szString 0 and nStringLength 0 to retrieve the required string size in bytes Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 40 Module Documentation Examples adapter main c cobranet main c dual_mono_play main c dual_mono_record main c mixer main c mux main c play main c playlist main c tuner main c and vol ume main c 7 5 2 13 5 32 ASX ERROR ASX_Adapter_GetNvMemSizelnBytes ASX HANDLE int pnCount Get the number of bytes in the adapter s non volatile memory Parameters hAdapter A handle to an ASX adapter object pnCount A pointer to the returned total number of bytes Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 5 214 5 32 ASX_ERROR ASX Adapter GetSerialNumber ASX_HANDLE hdAdapter unsigned long pdwSerialNumber Gets an adapter s serial number This function returns the serial number of the audio adapter referenced by hAdapter All AudioScience adapters have unique serial numbers assigned during manufacturing Parameters hAdapter A handle to an ASX adapter object pdwSerial The returned serial number Number Returns Re
168. URXBWWPELE RATE 192000 216 215 asxSAMPLE_RATE_22050 216 asxSAMPLE_CLOCK_SOURCE_AESEBUISXBAMBLE RATE 24000 216 213 5 RATE 32000 216 asxSAMPLE_CLOCK_SOURCE_AESEBUISXBAMPLE RATE 44100 216 213 5 RATE 48000 216 asxSAMPLE_CLOCK_SOURCE_AESEBUISXBAWBPLE_RATE_ 64000 216 214 asxSAMPLE_RATE_8000 216 asxXSAMPLE CLOCK SOURCE RATE 88200 216 213 asxSAMPLE_RATE_96000 216 asxXSAMPLE CLOCK SOURCE AESEBURNXBWWRHLE RATE UNDEFINED 216 21 asxSAMPLE_CLOCK_SOURCE 213 asxSAMPLE_CLOCK_SOURCE_AESEBUISXBAWSPLE RATE 216 213 asxTIMESCALE 216 asxXSAMPLE CLOCK SOURCE AESEBUFRNXFUMESCALE BYTES 216 214 asxXTIMESCALE BYTES REMAINING asxXSAMPLE CLOCK SOURCE AESEBUINPUTS 214 asxXTIMESCALE INVALID 216 asxXSAMPLE CLOCK SOURCE AESEBUINFUMESCALE MILLISECONDS 214 216 asxXSAMPLE CLOCK SOURCE AESEBUINFUMESCALE MILLISECONDS 214 REMAINING 216 asxXSAMPLE CLOCK SOURCE AESEBUFINXFUMESCALE SAMPLES 216 214 asxXTIMESCALE SAMPLES REMAINING asxXSAMPLE CLOCK SOURCE AESEBUINPUT 214 asx TUNER_RDS_TYPE_RBDS 217 asxSAMPLE_CLOCK_SOURCE_AESEBUSYN NER_RDS_TYPE_RDS 217 214 asxXTUNER STATUS DIGITAL 217 asxXSAMPLE CLOCK SOURCE BLULINI amp SXTUNER STATUS FIRMWARE 216 LOADING 217 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen INDEX 271 asx TUNER_STATUS_FM_STEREO 217 asx UCONTROL_
169. X Block Parameter GetName BLOCK Block 158 ASX Block Parameter GetRange BLOCK Block 158 5 Block Parameter GetType BLOCK Block 159 ASX Block Parameter GetUnits BLOCK Block 159 ASX Block Parameter Set BLOCK Block 160 ASX ChannelMode Enumerate CHANNEL MODE Mode 84 ASX ChannelMode Get CHANNEL MODE Mode 84 ASX ChannelMode Set CHANNEL MODE Mode 84 ASX Cobranet EnumerateModes Cobranet 129 ASX Cobranet GetConductorPriority Cobranet 129 5 Cobranet GetConductorStatus Cobranet 129 ASX_Cobranet_GetDescription Cobranet 130 TRANSMITTER Aes3Tx ASX_Cobranet_GetErrorInfo Cobranet 130 ASX_Cobranet_GetFirmwareRevision Cobranet 130 ASX_Cobranet_GetIfStatus Cobranet 131 ASX_Cobranet_GetIPAddress Cobranet 131 ASX_Cobranet_GetLatency AndSampleRate Cobranet 132 ASX_Cobranet_GetLocation Cobranet 132 ASX_Cobranet_GetMACAddress Cobranet 132 ASX_Cobranet_GetMode Cobranet 133 ASX_Cobranet_GetName Cobranet 133 ASX_Cobranet_GetPersistence Cobranet 133 ASX_Cobranet_GetSerialConfig Cobranet 134 ASX_Cobranet_GetSerialEnable Cobranet 134 ASX_Cobranet_GetStaticIPAddress Cobranet 134 ASX_Cobranet_SetConductorPriority Cobranet 135 ASX_Cobranet_SetIPAddress Cobranet 135 ASX_Cobranet_SetLatency AndSampleRate Cobranet 135 ASX_Cobranet_SetLocation Cobranet 136 ASX_Cobranet_SetMode Cobranet 136 ASX_Cobranet_SetName Cobranet 136 ASX_Cobranet_SetPersistence Cobranet 137 ASX_Cobranet_SetSerialConfig
170. X HANDLE hAdapter ASX HANDLE hMixer ASX HANDLE hNode hSrcNode hDestNode ASX HANDLE hControl ASX ERROR asxError int nAdapterToUse 0 int i j nLen nNodes nControls create the system ASX System Create ASX SYSTEM TYPE HPI amp hSystem CheckError hSystem LINE get the adapter asxError ASX System GetAdapter hSystem nAdapterToUse amp hAdapter CheckError hSystem LINE ASX Adapter GetName hAdapter 0 0 amp nLen CheckError hAdapter LINE pszName char malloc nLen ASX Adapter GetName hAdapter pszName nLen amp nLen CheckError hAdapter __LINE__ printf Adapter d is s nAdapterToUse pszName get the MAC address only supported on some adapters Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 240 Example Documentation asxError ASX Adapter GetMacAddress hAdapter szString if asxError asxERROR NO ERROR printf tMAC address is s Mn szString get the mixer handle asxError ASX_Adapter_GetMixer hAdapter amp hMixer CheckError hAdapter __LINE__ dump source lines ASX Mixer GetSourceNodeCount hMixer amp nNodes printf Source nodes n for 3 0 j nNodes j ASX Mixer GetSourceNode hMixer j amp hNode PrintNodeName hNode dump destination lines ASX Mixer GetDestinationNodeCount hMixer amp nNodes printf Destination nodes Wn for 3 0 j lt nNodes j ASX Mixer
171. X by Doxygen Main Page Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen Chapter 2 Porting Applications from PCXTools The following is a guide to converting an application that uses Digigram s PCXTools API to use the ASX API 2 1 Global 2 1 1 TOOLRegister ToolUnregister Call ASX CreateSystem and ASX DeleteSystem 2 1 2 TOOLSetOEMAuthorizationDIl No corresponding ASX call 2 1 3 TOOLGetLastError TOOLGetErrorString Call ASX GetLastError and ASX GetLastErrorString Porting Applications from PCXTools 2 2 2 2 1 2 2 2 2 2 3 2 2 4 2 2 5 2 3 2 3 1 2 3 2 2 3 3 2 3 4 2 3 5 2 3 6 2 3 7 2 3 8 2 3 9 2 3 10 2 3 11 2 3 12 2 3 13 2 4 Configuration TOOLGetVersions TOOLHowManyTotalOutputs TOOLHowManyTotallnputs TOOLGetBoardlnfos TOOLGetBoardName Pipe TOOLAllocatePipe TOOLAllocatePipeEx TOOLReleasePipe TOOLPipeStart TOOLPipeStop TOOLPipeSetLevel TOOLPipeSetMonitoringMute TOOLPipeSetClock TOOLPipeDefineDigitallnput TOOLPipeSetStretch TOOLPipeGetVuMeter TOOLPipeGetClock TOOLPipeGetPosition Stream TOOLPlayFile Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 2 5 Offline TOOLPipeScrubFile TOOLPlayFileWithLevels TOOLRecordFile TOOLStreamStop TOOLStreamSetDigitalLevel TOOLStreamSetPanLevel TOOLStreamGoToLevel TOOLStreamSetRecordFormat TOOLStreamSetMpegEqualization TOOLStreamGetPosition TOOLStreamGetStatus 2 5 Offline TOOLOfflin
172. X index const unsigned int nAttack Set the attack time constant in ms ASX32 APIASX ERROR ASX Compander GetAttackTimeConstant ASX HANDLE hCompander enum asxCOMPANDER INDEX index unsigned int pnAttack Get the attack time constant in ms ASX32_API ASX_ERROR ASX_Compander_SetDecayTimeConstant ASX_ HANDLE hCompander enum asxCOMPANDER INDEX index const unsigned int nDecay Set the decay time constant in ms ASX32_API ASX_ERROR ASX_Compander_GetDecayTimeConstant ASX_ HANDLE hCompander enum asxCOMPANDER INDEX index unsigned int xpnDecay Get the decay time constant in ms ASX32 API ASX ERROR ASX Compander SetThreshold ASX HANDLE hCompander enum asxCOMPANDER INDEX index const float nThreshold Set the compander threshold in dbFS Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 193 ASX32_API ASX_ERROR ASX_Compander_GetThreshold ASX_HANDLE hCompander enum asx COMPANDER_INDEX index float pnThreshold Get the compander threshold in dbFS ASX32_API ASX_ERROR ASX_Compander_SetRatio ASX_HANDLE hCom pander enum asx COMPANDER_INDEX index const float Set the compander ratio slope ASX32_API ASX_ERROR ASX_Compander_GetRatio ASX_HANDLE hCom pander enum asx COMPANDER_INDEX index float Get the compander ratio slope ASX32_API ASX_ERROR ASX Cobranet EnumerateModes ASX HANDLE hCobranet const int nIndex enum asxCOBRANET MODE xpeMode i
173. _GetLevel 116 ASX_Vox_GetRange 116 ASX_Vox_SetLevel 116 Vox control functions 115 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen
174. _STEREO asx TUNERPROGRAM_ 8 asx h 217 asx h 219 asx TUNERBAND_TV asx TUNERPROGRAM_NONE asx h 217 asx h 218 asx TUNERBAND_TV_PAL_BG asx UCONTROL_PFLAGS asx h 218 asx h 219 asx TUNERBAND_TV_PAL_DK asx UCONTROL_PTYPE asx h 218 asx h 219 asx TUNERBAND_TV_PAL_I asx UCONTROL_RTYPE asx h 218 asx h 219 asx TUNERBAND_TV_SECAM_L asx VOLUME_AUTOFADE_LINEAR asx h 218 asx h 220 asx TUNERDEEMPHASIS asx VOLUME_AUTOFADE_LOG asx h 218 asx h 220 asx TUNERDEEMPHASIS_50 asx VOLUME_AUTOFADE asx h 218 asx h 220 asx TUNERDEEMPHASIS_75 autoassign asx h 218 asxCobranetIpAutoassignParameters asx TUNERDEEMPHASIS_NONE 161 asx h 218 asx TUNERHDBLEND Block functions 155 asx h 218 BLOCK Block asx TUNERHDBLEND_ANALOG ASX_Block_GetInfo 156 asx h 218 ASX_Block_Parameter_Get 156 asx TUNERHDBLEND_AUTO ASX_Block_Parameter_GetElementCount asx h 218 157 asx TUNERMODE ASX_Block_Parameter_GetEnumName asx h 218 157 asx TUNERMODE_RSS ASX_Block_Parameter_GetFlags 158 asx h 218 ASX_Block_Parameter_GetName 158 asx TUNERMODE_RSS_DISABLE ASX_Block_Parameter_GetRange 158 asx h 218 ASX_Block_Parameter_GetType 159 asx TUNERMODE_RSS_ENABLE ASX_Block_Parameter_GetUnits 159 asx h 218 ASX_Block_Parameter_Set 160 asx TUNERPROGRAM asx h 218 Channel Mode control functions 83 asx TUNERPROGRAM_1 CHANNEL MODE Mode asx h 218 ASX ChannelMode Enumerate 84 asxXTUNERPROGRAM 2 ASX ChannelMode Get 84 asx h 219 ASX ChannelMode Set 84 asxTUNERPROGRAM 3 Cobranet
175. ader home eliot asi repo cvsrepo Repository apps asx examples playlist ma in c v 1 6 2010 01 19 14 49 46 as tfe Exp 5 include stdio h include stdlib n include asx h include asxstring h ASX HANDLE hSystem 0 int list done 0 void PrintControlName ASX HANDLE hControl int CheckError ASX HANDLE hObj int nLine void PlayerCallback Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 250 Example Documentation ASX_HANDLE hASX_Player_Object const enum asxPLAYER_FLAGS flags void pUserl if flags amp asxPLAYER_FILE_COMPLETE printf File done callback in if flags amp asxPLAYER_FILELIST_COMPLETE printf File list done callback n list_done 1 if flags amp asxPLAYER_FILE_START char szCurrentFilename NULL ASX_Player_PlaylistStatus hASX_Player_Object NULL NULL amp szCurrentFilename NULL NULL printf File s started Mn szCurrentFilename void ShowStatus ASX HANDLE hASX Player Object unsigned int nTotalFileCount 0 int nCurrentFile 0 char szCurrentFilename NULL unsigned int nTotalTime ms 0 unsigned int nCurrentTime ms 0 Static unsigned int nLastTime ms 0 ASX Player PlaylistStatus hASX Player Object amp nTotalFileCount amp nCurrentFile amp szCurrentFilename amp nTotalTime ms amp nCurrentTime ms if nCurrentTime ms nLastTime ms gt 50 printf Playing s file d
176. alled from source s line dWMn FILE nLine printf Press ENTER to exit n getchar free pszAsxErrorString free pszAsxSubSystemErrorString ASX System Delete hSystem exit 1 return 1 10 10 record main c This is an example of how to use the ASX Recorder control SHeader home eliot asi repo cvsrepo Repository apps asx examples record main c v 1 9 2011 05 04 19 13 02 as dxb Exp include stdio h include stdlib h include asx h ASX_HANDLE hSystem 0 int CheckError ASX HANDLE hObj int nLine int main int char argv ASX_HANDLE hAdapter ASX_HANDLE hMixer ASX_HANDLE hRecorder ASX_ERROR asxError enum asxFILE_MODE eFileMode asxFILE_MODE_CREATE int nAdapterToUse 0 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 10 record main c 255 lnt es int nPaused 0 int nKeepGoing 1 if argc 2 printf Filename to record is a required parameter n return 1 if argv 1 0 argv 1 1 a ll 11101 amp amp argv 1 1 A eFileMode asxFILE_MODE_APPEND if argc 3 printf Filename to record is required parameter n return 1 create the system ASX_System_Create ASX_SYSTEM_TYPE_HPI amp hSystem CheckError hSystem __LINE__ get the adapter ASX_System_GetAdapter hSystem nAdapterToUse amp hAdapter CheckError hAdapter __LINE__ ge
177. alling 5 System Create Examples adapter main c dual mono play main c dual mono record main c mixer main c mux main c play main c playlist main c record main c system main c tuner main c and volume main c 7 1 2 9 ASX SYSTEM TYPE HPIUDP 7 Use this to select ASI s HPI interface over UDP when calling ASX System Create Also supports HPI Examples cobranet main c 7 1 2 10 stdefine ASX SYSTEM TYPE PCXTOOLS 5 Use this to select Digigram s PCX interface when calling ASX System Create 7 1 2 11 define 5 SYSTEM TYPE PORTAUDIO 4 Use this to select the PortAudio interface when calling ASX System Create 7 1 2 12 ASX SYSTEM TYPE SNMP 6 Use this to select Cobranet SNMP interface when calling 5 System Create Examples cobranet main c Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 22 Module Documentation 71 2143 ASX SYSTEM TYPE WAVE 1 Use this to select Microsoft s WAVE interface when calling 5 System Create 7 2 System functions Functions e ASX32 APIint ASX System SupportsSubSystem const int asxSystemType Query ASX library for subsystem support ASX System Create Create a complete ASX system ASX System CreateSubSystem Creates an ASX sub system and adds it to the existing system if any e ASX System SetHostNetworkInterface Set the interface ASX should use when communicating with network devices
178. am Auxilary Data title ASX PAD GetComment Get a Program Auxilary Data comment ASX PAD GetProgramType Get a Program Auxilary Data program type ASX PAD GetProgramTypeString Get a Program Auxilary Data PTY string ASX PAD GetRdsPI Get a Program Identification number 7 37 1 Detailed Description These functions support Program Auxilary Data for HD Radio and RDS for FM analog 7 17 2 Function Documentation 717 21 5 32 ASX ERROR ASX PAD GetArtist ASX HANDLE hPAD char pszArtist const int nStringLength Get a Program Auxilary Data artist Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 17 PAD control functions 101 This control will only ever exist on a tuner node Parameters hPAD A handle to an ASX PAD control pszArtist The string buffer of size nFieldLength allocated by the caller The length of the pszArtist buffer Should be ASX_LONG_STRING nStringLengtl Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 7 17 2 5 32 ASX ERROR ASX PAD GetChannelName ASX HANDLE hPAD char pszChannelName const int nStringLength Get a Program Auxilary Data channel name This control will only ever exist on a tuner node Parameters hPAD A handle to an ASX PAD control pszChannel The string buffer of size nFieldLength allocated by the caller Name Th
179. ame nLen printf Node s d pszName nIndex free pszName Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 3 csharp_asx_player Form1 cs 231 int CheckError ASX HANDLE hObj int nLine ASX ERROR asxError int asxSubSystemErrorCode 0 char xpszAsxErrorString char pszAsxSubSystemErrorString int nLenl nLen2 ASX Error GetLast hObj amp asxError amp asxSubSystemErrorCode if lasxError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorString char x malloc nLenl pszAsxSubSystemErrorString char malloc nLen2 ASX Error GetLastString hObj pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf Error d s Subsystem Error ld s Wn asxError pszAsxErrorString asxSubSystemErrorCode pszAsxSubSystemErrorString printf When called from source s line dWMn FILE nLine getchar printf Press ENTER to exit n getchar free pszAsxErrorString free pszAsxSubSystemErrorString ASX System Delete hSystem exit 1 return 1 CheckErrorNonTerminal ASX HANDLE hObj int nLine ASX ERROR asxError int asxSubSystemErrorCode 0 char xpszAsxErrorString char x pszAsxSubSystemErrorString int nLenl nLen2 ASX Error GetLast hObj amp asxError amp asxSubSystemErrorCode if lasxError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorS
180. andle to an ASX sample clock control pnSampleR ate The returned sample rate Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 18 Sample clock control functions 107 718 27 5 32 ASX ERROR ASX SampleClock GetLocalRateLock ASX_HANDLE hSampleClock int pnLock Get the setting of the local sample clock lock Parameters hSample A handle to an ASX sample clock control Clock xpnLock Returns 1 if enabled or 0 if not Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 18 2 8 5 32 ASX ERROR ASX SampleClock GetSampleRate ASX HANDLE hSampleClock int pnSampleRate Get the adapter s sample rate Parameters hSample A handle to an ASX sample clock control Clock pnSampleR The returned sample rate ate Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 18 2 ASX32 ASX ERROR ASX SampleClock SetAutoSource ASX HANDLE hSampleClock const int nEnable Set the sample clock to automatically source its clock from a valid input Parameters hSample A handle to an ASX sample clock control Clock nEnable When set to 1 the auto source 15 enabled when it is disabled Returns Returns 0 if there is no error otherwise one of asxERR
181. ant bit of the subformat entries is set when the received format is supported for reception by the Co braNet interface A test of this least significant bit can be used to determine correct reception on a per audio channel basis txSubFormat Resolution Sample Rate Latency value 0 invalid invalid invalid 0x044000 16 bit 48 kHz 5 1 3 ms 0x054000 20 bit 48 kHz 5 1 3 ms 0x064000 24 bit 48 kHz 5 1 3 ms 0x148000 16 bit 96 kHz 5 1 3 ms 0x158000 20 bit 96 kHz 5 1 3 ms 0x 168000 24 bit 96 kHz 5 1 3 ms 0x042000 16 bit 48 kHz 2 2 3 ms 0x052000 20 bit 48 kHz 2 2 3 ms 0x062000 24 bit 48 kHz 2 2 3 ms 0x144000 16 bit 96 kHz 2 2 3 ms 0x154000 20 bit 96 kHz 2 2 3 ms 0x 164000 24 bit 96 kHz 2 2 3 ms 0x041000 16 bit 48 kHz 1 1 3 ms 0x05 1000 20 bit 48 kHz 1 1 3 ms 0x061000 24 bit 48 kHz 1 1 3 ms 0x142000 16 bit 96 kHz 1 1 3 ms 0x152000 20 bit 96 kHz 1 1 3 ms 0x162000 24 bit 96 kHz 1 1 3 ms Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 29 26 5 32 ERROR ASX CobranetRx SetBundle HANDLE hCobranetRx const unsigned int nBundle Sets a Cobranet receiver s bundle Parameters A handle to an ASX cobranet receiver control branetRx nBundle Bundle number to receive 0 indicates no bundle is being received Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for A
182. arameters hAESE A handle to an ASX AESEBU receiver control BURx pdwSam The returned sample rate pleRate Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 19 2 5 2 ERROR ASX_AESEBUReceiver_SetFormat ASX HANDLE hAESEBURx const enum asxXAESEBU FORMAT eAesebuFormat Set the format of the AESEBU receiver Parameters hAESE A handle to an ASX AESEBU receiver control BURx eAesebuFor The mode to set the receiver control to mat Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 20 AESEBU transmitter control functions These functions implement AESEBU transmitter operations Functions ASX _AESEBUTransmitter_EnumerateFormat Enumerate each AES3 transmit format supported by the hardware ASX AESEBUTransmitter SetFormat Set the format of the AESEBU transmitter 5 AESEBUTransmitter GetFormat Get the format of the AESEBU transmitter Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 112 Module Documentation 7 20 1 Detailed Description These functions implement AESEBU transmitter operations 7 20 2 Function Documentation 7 20 21 5 32 ASX ERROR ASX_AESEBUTransmitter_EnumerateFormat ASX HANDLE hAESEBUTx const int nindex enum asxXAESEBU FORMAT peAesebuFormat int pnCount Enumerate each AES3 transmit format supported by the hardware
183. braNet Rx that is on the input side source node of an 4512416 asxError ASX_Mixer_GetControlByNodeTypeAndIndex hMixer asxNODE_COBRANET_IN 0 asxNODE_NONE 0 asxCONTROL METER amp hMeterControl CheckError hMixer LINE if lasxError printf Found meter on first CobraNet input 0 from the network Nn PrintMeterReadings hMixer hMeterControl This is a meter on the audio path from the ASI2416 to a CobraNet Tx asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer asxNODE NONE 0 asxNODE_COBRANET_OUT 0 asxCONTROL METER amp hMeterControl CheckError hMixer LINE if lasxError printf Found meter on first CobraNet output 0 to the network n PrintMeterReadings hMixer hMeterControl printf Press ENTER to exit n getchar ASX System Delete hSystem return 0 void PrintMeterReadings ASX HANDLE hMixer ASX HANDLE hControl int int chans 0 float readings 2 ASX ERROR asxError asxError ASX Meter GetChannels hControl int amp chans CheckError hMixer LINE asxError ASX Meter GetPeak hControl readings chans CheckError hMixer LINE if lasxError for 1 0 lt printf Meter d reads of 5 3f dB n i readings i asxError ASX Meter GetRMS hControl readings chans CheckError hMixer LINE if lasxError for i 0 i lt chans i printf Meter d reads RMS of 5 3f dB n i readings i
184. branetIpAutoassignParameters autoassign The documentation for this struct was generated from the following file asx h 8 2 asxParameterRangelnfo Struct Reference finclude lt asx h gt Data Fields enum asxUCONTROL_RTYPE type 162 Data Structure Documentation union struct int min int max int step integer struct unsigned int count int value enumerated_integer struct unsigned int count float value enumerated_float struct unsigned int count struct asxParameterRangeInfo_NamedEnumerated enums enumerated struct float fmin float fmax float fstep floating struct unsigned int max_len string u Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 8 2 asxParameterRangelInfo Struct Reference 163 8 2 1 8 2 1 1 8 2 1 2 8 2 1 3 8 2 1 4 8 2 1 5 8 2 1 6 8 2 1 7 8 2 1 8 8 2 1 9 8 2 1 10 8 2 1 11 8 2 1 12 8 2 1 13 8 2 1 14 8 2 1 15 8 2 1 16 8 2 1 17 8 2 1 18 8 2 1 19 Field Documentation unsigned int asxParameter RangeInfo count struct asxParameterRangeInfo enumerated struct asxParameterRangeInfo enumerated float struct asxParameterRangeInfo enumerated_integer struct asxParameterRangeInfo_NamedEnumerated asxParameterRangelnfo enums struct asxParameterRangelInfo floating float asxParameterRangelnfo fmax float asxParameterRangelInfo fmin float asxParameterRangelnfo fstep str
185. buffers from the given position ready for playback ASX32 API ASX ERROR ASX Player Start ASX HANDLE hPlayer Start playback of a previously opened and optionally pre loaded file ASX32 ASX ERROR ASX Player Pause 5 HANDLE hPlayer Pause playback of the currently playing file ASX32 ASX ERROR ASX Player Stop 5 HANDLE hPlayer Stops playback of the currently playing file ASX32 ASX ERROR ASX Player Wait ASX HANDLE hPlayer Wait for the current file to finish ASX32 API ASX ERROR ASX Player Close ASX HANDLE hPlayer Close the current playback file ASX32 APIASX ERROR ASX Player GetPosition ASX HANDLE hPlayer const enum asx TIMESCALE nType unsigned long plPosition Get the current playback position as the offset in bytes samples or milliseconds from the beginning or end of the file depending on the timescale code used ASX32 APIASX ERROR ASX Player SetPosition ASX HANDLE hPlayer const enum asx TIMESCALE nType const unsigned long IPosition Sets the playback to the given position ASX32 APIASX ERROR ASX Player GetState ASX HANDLE hPlayer enum asxPLAYER STATE pnState Get the current playback state ASX32 API ASX ERROR ASX Player SetTimeScale HANDLE hPlayer const float fTimeScale Set the playback timescale Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 182 File Documentation ASX32_API ASX_ERROR ASX_Player_GetTimeScale ASX_HANDLE hPlayer floa
186. bundle Parameters hCo A handle to an ASX cobranet receiver control branetRx pnBundle Bundle number being received 0 indicates no bundle is being received Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 29 Cobranet receiver control functions 145 Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 7 29 22 5 32 ASX_ERROR ASX CobranetRx GetChannelMap ASX HANDLE hCobranetRx unsigned int 8 Gets a Cobranet receiver s channel mapping Parameters hCo A handle to an ASX cobranet receiver control branetRx nMap Audio channel mapping Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 7 29 2 3 5 32 ERROR ASX CobranetRx GetMinimumDelay ASX HANDLE hCobranetRx unsigned int x pnMinDelay Gets a Cobranet receiver s minimum delay Parameters hCo A handle to ASX cobranet receiver control branetRx pnMinDelay Minimum received audio delay Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 29 24 5 32 ERROR ASX CobranetRx GetSourceMAC ASX HANDLE hCobranetRx unsigned int pdwMAC MSBs unsigned short LSBs Gets a Cobranet receiver s source MAC address for private bundles Generated on Thu Dec 17 2
187. c 17 2015 10 17 26 for ASX by Doxygen 7 28 Cobranet transmitter control functions 141 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 28 25 5 32 ASX ERROR ASX_CobranetTx_GetStatus ASX HANDLE hCobranetTx unsigned int pnDropouts unsigned int pnPosition unsigned int pnReceivers Gets a Cobranet transmitter s status This function reads SNMP variables txDropouts txPosition txReceivers Parameters hCo branetTx A handle to an ASX cobranet transmitter control pnDropouts Number of times transmission has been interrupted pnPosition Transmission permission position pnReceivers Number of receivers requesting the bundle transmitted by this transmitter Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 28 20 5 32 ERROR ASX CobranetTx GetUnicastMode ASX HANDLE hCobranetTx unsigned int pnUnicastMode unsigned int pnMaxUnicast Gets a Cobranet transmitter s unicast information This function reads SNMP variable txUnicastMode Parameters hCo A handle to an ASX cobranet transmitter control branetTx pnUnicast Specifies the number of unicast destinations served before switching to mul Mode ticast pnMaxUni Specifies the maximum number of unicast destinations cast Returns Returns 0 if there is no error otherwise one of asxERR
188. char 11 nLen ASX Adapter GetName hAdapter 2 amp nLen CheckError hAdapter __LINE__ printf Adapter d is 55 nAdapterToUse pszName get the mixer handle ASX Adapter GetMixer hAdapter amp hMixer CheckError hAdapter LINE Grab a player s channel mode for i 0 i MAX PLAYS i get channel mode object ASX ERROR err ASX Mixer GetControlByNodeTypeAndIndex hMixer asxNODE_PLAYER i 0 0 asxCONTROL CHANNEL MODE amp hChannelMode i l if err error will be returned when i number of plays break CheckError hMixer LINE set the channel mode if i amp 1 0 even ASX_ChannelMode_Set hChannelMode i asxCHANNELMODE_STEREOTOLEFT CheckError hChannelMode i __LINE__ else ASX_ChannelMode_Set hChannelMode i asxCHANNELMODE_STEREOTORIGHT CheckError hChannelMode i __LINE__ get volume object err ASX Mixer GetControlByNodeTypeAndIndex hMixer PLAYER i asxNODE LINE OUT i 2 asxCONTROL VOLUME amp hVolume if err error will be returned when i number of plays Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 234 Example Documentation break CheckError hMixer LINE ASX Volume GetGain hVolume fVolume 2 CheckError hVolume fVolume i amp 1 0 0 ASX Volume SetGain hVolume fVolume 2 CheckError hVolume
189. d Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 72 Module Documentation Examples dual_mono_record main c and record main c 710 27 ASX32 ASX_ERROR ASX_Recorder_Pause ASX_HANDLE hRecorder Pauses the recording Use ASX Recorder Start to continue recording Parameters hRecorder A handle to an ASX recorder object Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples record main c 7 10 28 ASX32 ERROR 5 Recorder Start ASX HANDLE hhRecorder Starts the recording Parameters hRecorder handle to an ASX recorder object Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples dual mono record main c and record main c 7 10 2 9 ASX32 ERROR ASX Recorder Stop ASX HANDLE hhRecorder Stops the recording Parameters hRecorder handle to an ASX recorder object Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 11 Meter control functions 73 Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples dual_mono_record main c and record main c 7 11 Meter control functions These functions support reading peak meter information Functions ASX Meter GetChannels Returns the number of channels this peak meter has e ASX Meter GetPeak Returns th
190. d audio buffers from the file This shortens the time between the time a ASX Player Start is issued and the time for audio to be output Note This function does not have to be used It is optional If ASX Player Start is called without calling ASX Player PreLoad the preload operation will happen internal to the ASX Player Start call The assumption will also be that playback begins at the start of the audio file Parameters hPlayer handle to an ASX player control object nType The units of IPosition see asx TIMESCALE lPosition The position to start playback from A value of zero start from the beginning of the file Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 9 Player control functions 65 Examples play main c and playlist main c 7 9 2 15 5 32 ASX_ERROR ASX_Player_RegisterCallback ASX_HANDLE hPlayer ASX_PLAYER_CALLBACK pCallback const enum asxxPLAYER_FLAGS flags void pUser1 Register a callback function that should be called when playback has completed Note that using this function is optional Parameters hPlayer A handle to an ASX player control object pCallback A pointer to a callback of type ASX_PLAYER CALLBACK flags Defines whether the callback should be called on file completion and or filelist completion See asxPLAYER_FLAGS
191. d on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 222 File Documentation Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen Chapter 10 Example Documentation 10 1 adapter main c This is an example of how to use the ASX Adapter functions SHeader home eliot asi repo cvsrepo Repository apps asx examples adapter mai n G v 1 6 2010 01 11 21 50 31 as age Exp include stdio h include stdlib h include asx h int CheckError ASX HANDLE hObj int nLine ASX HANDLE hSystem 0 int main int argc char argv ASX_ERROR asxError int nAdapters 0 int i create the system ASX_System_Create ASX_SYSTEM_TYPE_HPI amp hSystem CheckError hSystem __LINE__ find out how many adapters there are asxError ASX System GetAdapterCount hSystem nAdapters CheckError hSystem __LINE__ printf There are d audio adapters in the system Mn nAdapters loop over the adapters for i 0 i lt nAdapters i char pszAdapterName ASX_HANDLE hAdapter unsigned long 1Serial char xpszRevision int nLen int nIndex int nDspUtilization 224 Example Documentation int ASX_HANDLE hMixer ASX_System_GetAdapter hSystem i amp hAdapter CheckError hSystem __LINE__ ASX Adapter GetName hAdapter 0 0 amp nLen CheckError hAdapter __LINE__ pszAdapterName char malloc nLen ASX Adapter GetName hAdapter pszAdapterName nLen amp nLen CheckErro
192. d to this device Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2148 5 32 ERROR Cobranet SetConductorPriority ASX HANDLE hCobranet const unsigned int nPriority Sets a device s conductor priority Parameters hCobranet A handle to an ASX cobranet control nPriority Priority to set O indcates that this device will never be the network conduc tor 1 is the lowest priority and OxFF is the highest priority Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2 19 ASX32 ERROR ASX Cobranet SetlPAddress ASX HANDLE hCobranet const unsigned int dwiPAdadr Set the current IP address of the Cobranet device Parameters hCobranet A handle to an ASX cobranet control dwIPAddr The IP address to set Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2 20 ASX32 ERROR ASX Cobranet SetLatencyAndSampleRate ASX HANDLE hCobranet const enum asxCOBRANET LATENCY eLatency const enum asxXSAMPLE RATE eRate Gets a device s latency and sample reate Returns information from SNMP variable modeRateControl Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 136 Module Documentation Parameters hCobranet A handle to an ASX cobranet control eLatency Latency to set eRate Sample rate to
193. de 136 ASX_Cobranet_SetName 136 ASX_Cobranet_SetPersistence 137 ASX_Cobranet_SetSerialConfig 137 ASX_Cobranet_SetSerialEnable 137 125 ASX_Compander_SetDecayTimeConstant 125 ASX_Compander_SetEnable 126 ASX_Compander_SetMakeupGain 126 ASX_Compander_SetRatio 126 ASX_Compander_SetThreshold 127 ASX_Cobranet_SetStaticIPAddress 13 ompander control functions 121 CobraNet control functions 127 Cobranet receiver control functions 143 Cobranet transmitter control functions 138 COBRANET RECEIVER CobranetRx ASX CobranetRx GetBundle 144 ASX CobranetRx GetChannelMap 145 ASX CobranetRx GetMinimumDelay Control generic functions 53 CONTROL ControlBase ASX Control GetDestinationNode 53 ASX Control GetHpiControl 54 ASX Control GetSourceNode 54 ASX Control GetSubSystem 54 ASX Control GetType 55 145 count ASX CobranetRx GetSourceMAC 145 ASX CobranetRx GetStatus 146 ASX CobranetRx SetBundle 147 asxParameterRangelInfo 163 enumerated ASX CobranetRx SetChannelMap 147 asxParameterRangelInfo 163 ASX CobranetRx SetMinimumDelay enumerated float 148 asxParameterRangelInfo 163 ASX CobranetRx SetSourceMAC 14 amp numerated integer COBRANET TRANSMITTER CobranetTx enums ASX_CobranetTx_GetBundle 139 ASX_CobranetTx_GetChannelCount asxParameterRangelInfo 163 asxParameterRangelInfo 163 139 Error functions 30 ASX_CobranetTx_GetChannelMap I4BRROR Base Generated on Thu Dec 17
194. deCount 49 ASX Mixer ResetControls 49 Mixer functions 42 Multiplexer control functions 81 MULTIPLEXER_Mux ASX Multiplexer Enumerate 82 ASX Multiplexer Get 82 ASX Multiplexer Set 83 name asxParameterRangeInfo NamedEnumerated 164 Node ASX Mixer GetNodelIndex 50 ASX Mixer GetNodeType 50 ASX Node GetlIndex 51 ASX Node GetLocation 51 ASX Node GetName 52 ASX Node GetSubSystem 52 ASX Node GetType 52 Node functions 50 Pad ASX PAD GetArtist 100 5 PAD GetChannelName 101 ASX PAD GetComment 101 ASX PAD GetProgramType 102 ASX PAD GetProgramTypeString 102 ASX PAD GetRdsPI 103 ASX PAD GetTitle 103 PAD control functions 100 Parametric Equalizer control functions 118 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen INDEX 289 PARAMETRIC EQ ParametricEQ ASX EQ GetBand 119 ASX EQ 119 ASX EQ SetBand 120 ASX EQ SetState 120 pexport txt 221 Player 5 Player Close 58 ASX Player Format GetDetails 58 ASX Player Format GetString 59 5 Player GetFilename 59 ASX Player GetLoopMode 60 ASX Player GetPosition 60 ASX Player GetsState 60 5 Player GetTimeScale 61 ASX Player Open 61 ASX Player OpenPlaylist 62 ASX Player Pause 63 ASX Player PlaylistStatus 63 ASX Player PlaylistWait 64 5 Player PreLoad 64 ASX Player RegisterCallback 65 ASX Player SetLoopMode 65 5 Player SetPosition 65 ASX Player SetTimeScale 66 ASX Player Start 66 ASX Pla
195. device s serial bridge configuration Parameters hCobranet A handle to an ASX cobranet control pnBaud Returns the baud rate for the serial bridge pnPPeriod Returns the time in 256ths of a millisecond before a character received at the SCI port is placed in a packet and transmitted Gets the multicast from which SCI data will accepted pnAcceptU nicast Gets the state of the accept unicast flag 1 accept 0 ignore pIxMAC Gets the MAC to which SCI data is sent Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2 16 5 32 ASX_ERROR ASX_Cobranet_GetSerialEnable ASX_HANDLE hCobranet int pOnOff Gets a device s serial bridge status Parameters hCobranet A handle to an ASX cobranet control pOnOff Returned state 1 is on O is off Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2147 5 32 ERROR ASX Cobranet GetStaticlPAddress ASX HANDLE hCobranet unsigned int pdwlPAddr Get the static IP address of the Cobranet device Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 27 CobraNet control functions 135 Parameters hCobranet A handle to an ASX cobranet control pdwIPAddr Gets the static IP address A value of 0 0 0 0 0 indicates that no static IP address has been assigne
196. dex of the format option to fetch peAesebu Format The returned format option pnCount The total number of available formats Returns Returns 0 if there is no error otherwise one of asxERROR is returned 719 22 ASX32 ASX ERROR ASX_AESEBUReceiver_GetErrorStatus ASX HANDLE hAESEBURx unsigned int x pdwErrorStatusMask unsigned int pdwErrorStatus Get the status of the AESEBU receiver Parameters hAESE A handle to an ASX AESEBU receiver control BURx pdwEr A bit mask field indicating which of the bitfields defined by asxXAESEBU rorStatus STATUS are returned Mask pdwEr The returned status fields rorStatus Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 19 23 5 32 ASX ERROR ASX_AESEBUReceiver_GetFormat ASX HANDLE hAESEBURx enum asxXAESEBU FORMAT peAesebuFormat Get the format of the AESEBU receiver Parameters hAESE BURx A handle to an ASX AESEBU receiver control peAesebu Format The returned format Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 20 AESEBU transmitter control functions 111 7 19 24 5 32 ASX ERROR ASX_AESEBUReceiver_GetSampleRate ASX HANDLE hAESEBURXx unsigned int pdwSampleRate Get the sample rate of the AESEBU receiver P
197. dle pszName The string to use to copy the returned adapter name to Typical return values are HPI Wave DirectX PortAudio ALSA The length of the string szString that was passed in nStringLengt pnRe The minimum required length in bytes of szString quiredLength Note This function can be called will szString 0 and nStringLength 0 to retrieve the string size required Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples system main c 7 2 1 9 ASX32 ERROR ASX System GetVersion ASX HANDLE hSystem char pszSystemVersion const int nSystemVersionLength int pnRequiredSystemVersionLength char pszSubSystemVersion const int nSubSystemVersionLength int pnRequiredSubSystemVersionLength Get ASX system version information Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 2 System functions 27 This function returns version information in two strings Parameters hSystem A handle to an ASX system object pszSys temVersion The ASX version returned as a string nSystemVer sionLength The length of pszSystemVersion in bytes quiredSys temVersion Length The minimum required length of pszSystem Version in bytes pszSubSys temVersion The ASX subsystem version returned as a string This is the version number of the HPI Wave or ALSA etc driver
198. e adapters that support MP3 decoding This would be the ASI43xx and ASI6xxx series You can also generate a sine wave The format of the string is w c f a m s t w waveform SINE default SINE channels 1 8 default 2 f frequency 1000 for 1kHz default 1000 a amplitude 1 for 1dBFs default OdBFS ie full scale channel mask 10 for left only 01 for right only 11 for stereo etc default 1 for all channels t sampletype PCM8 PCM16 PCM24 PCM32 FLOAT32 defaultZFLOAT32 s samplerate positive integer default 48000 validity depends on adapter Defaults can be used if the complete string is not specifed ie gt wSINE c2 f1000 a0 m1 1 s48000 tFLOAT32 Any subset of the options may be specified the remaining options will be set to the defaults eg f500 gt 500Hz stereo sine wave at OdBFS 48kHz samplerate Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples play main c and playlist main c 7 9 2 10 2 ASX ERROR ASX_Player_OpenPlaylist ASX HANDLE hPlayer const char pszFileList const unsigned int nFiles Open a list of files for playback Parameters hPlayer handle to an ASX player control object pszFileList The names of the files to play This can be the name of a file in the current directory or a fully qualified path name See ASX Player Open Note that the player makes a copy of
199. e an ASX enum into a string e 2 APIint ASXSTRING StringToEnum const char szString int pnEnum Translate a string into an ASX enum Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 3 pexport txt File Reference 221 9 2 1 Define Documentation 9 2 1 1 define ASX32 9 2 2 Function Documentation 9 2 2 1 5 32 int ASXSTRING_EnumToString const int nEnum char szString const int nLength int x pRequiredLength Translate an ASX enum into a string Parameters nEnum The enum value to translate szString The returned string is copied here The caller should allocate enough mem ory to hold the returned string Call this function with szString 0 and check the RequiredLength field to determine how much memory to allocate nLength The length of szString The required minimum length of the caller s char array quiredLength Returns Returns on success Examples cobranet main c dual mono play main c dual mono record main c mixer main c mux main c play main c playlist main c tuner main c and volume main c 9 2 2 2 ASX32 int ASXSTRING StringToEnum const char szString int pnEnum Translate a string into an ASX enum Parameters szString The string to look up in enum list pnEnum The enum value returned Returns Returns on success 9 3 pcexport txt File Reference Generate
200. e control details PrintControlName hRecorder i get multiplexer object ASX Mixer GetControlByNodeTypeAndIndex hMixer 0 0 asxNODE_RECORDER i asxCONTROL_MULTIPLEXER amp hMux i CheckError hMixer LINE set the multiplexer to the correct line in switch i char szFilenames 16 testl wav test2 wav test3 wav test4 wav create the system ASX_System_Create ASX_SYSTEM_TYPE_HPI amp hSystem recorder Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 5 dual_mono_record main c 237 0 1 ASX Multiplexer Set hMux i asxNODE LINE IN CheckError hMux i LINE break case 2 case 3 ASX Multiplexer Set hMux i asxNODE LINE IN CheckError hMux i LINE break get channel mode object ASX Mixer GetControlByNodeTypeAndIndex hMixer 0 0 asxNODE_RECORDER i asxCONTROL CHANNEL MODE amp hChannelMode i CheckError hMixer __LINE__ set the channel mode switch i 0 2 0 1 ASX ChannelMode Set 1 1 asxCHANNELMODE NORMAL CheckError hChannelMode i LINE break case 1 case 3 ASX ChannelMode Set hChannelMode i asxCHANNELMODE SWAP CheckError hChannelMode i LINE break open the player and pass in the file to be played for i 0 i 4 i printf Open recorder d n i ASX_Recorder_Open hRecorder i szFilenames i asxFIL
201. e is no error otherwise one of asxERROR is returned Examples adapter main c dual mono play main c dual mono record main c mixer main c mux main c play main c playlist main c record main c system main c tuner main c and volume main c 7 2 1 2 5 32 ERROR ASX System CreateSubSystem const int asxSystemType ASX HANDLE pio hSystem Creates an ASX sub system and adds it to the existing system if any Use this function when creating more than one subsystem Parameters asxSystem Type The ASX system type to open One of SubSystem types defines above pio hSystem Pointer to the system handle Should be a pointer to NULL for the first call Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 24 Module Documentation Examples cobranet main c 7 2 1 3 5 32 ASX_ERROR ASX_System_Delete ASX_HANDLE hSystem Delete a complete ASX system The delete function should be called using a previously opened ASX system handle prior to closing an application Note that when 512416 CobraNet device is in use a call to ASX_System_Delete triggers a save to 4512416 flash of any control param eters that might have changed If this fails for any reason an asxXERROR MIXER SAVECONTROLSTATE error is returned Parameters hSystem The asx system handle
202. e length of the pszChannelName buffer Should be ASX SHORT nStringLengtl STRING Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 7 17 2 3 5 32 5 ERROR ASX PAD GetComment ASX HANDLE hPAD char pszComment const int nStringLength Get a Program Auxilary Data comment This control will only ever exist on a tuner node Parameters Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 102 Module Documentation hPAD A handle to an ASX PAD control pszComment The string buffer of size nFieldLength allocated by the caller nStringLengt The length of the pszComment buffer Should be ASX_LONGLONG_ STRING Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 7 17 2224 5 32 ASX_ERROR ASX_PAD_GetProgramType ASX HANDLE hPAD int pnProgramType Get a Program Auxilary Data program type PTY This control will only ever exist on a tuner node Parameters hPAD A handle to an ASX PAD control pnProgram Type Returns the program type PTY Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 7 17 2 5 5 32 ERROR GetProgramTypeString ASX HANDLE hPAD const enum asxXTUNER RDS TYPE eType const int nPTY char p
203. e peak meter reading for the given meter control ASX Meter GetRMS Returns the RMS meter reading for the given meter control ASX Meter SetBallistics Set the meter ballistics ASX Meter GetBallistics Get meter ballistics 7 11 1 Detailed Description These functions support reading peak meter information 711 22 Function Documentation 7 11 21 ASX32 ERROR ASX Meter GetBallistics ASX HANDLE Meter const enum asxMETER TYPE nMeterType float fAttackTimeMs float fDecayTimeMs Get meter ballistics Parameters hMeter A handle to an ASX meter object nMeterType Which meter part to get ballistics settings from See asxMETER TYPE Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 74 Module Documentation fAttack The attack time in milliseconds TimeMs fDecay The decay time in milliseconds TimeMs Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 11 2 2 5 32 ASX_ERROR ASX Meter GetChannels ASX HANDLE hMeter int pnChannels Returns the number of channels this peak meter has Parameters hMeter handle to an ASX meter object pnChannels The returned number of channels Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 7 11 2 3 ASX32 ERROR ASX Meter GetPeak ASX HANDLE hMeter
204. e to an ASX adapter object pnSubSys A bit mapped mask of the subsystems that interface to this adapter temMask pnSubSys A bit mapped result indicating that a particular interface is ok temOkMask Returns Returns 0 if there is no error otherwise one of asxXERROR is returned 7 5 2 2 ASX32 ERROR ASX Adapter EnumerateMode ASX HANDLE nhAdapter const int nindex enum asxADAPTERMODE peMode int pnCount Enumerate each adapter mode option Parameters hAdapter handle to an ASX adapter object nIndex The index of the adapter mode option to fetch peMode The returned adapter mode option pnCount The total number of available mode options See asx ADAPTERMODE for available options Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 5 Adapter functions 35 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 5 2 3 ASX32 ERROR ASX Adapter EnumerateProperty ASX HANDLE hAdapter const int nindex const enum asxXADPROPENUM eMode const int nSubIndex unsigned long pdwSetting Enumerates adapter properties and settings Parameters hAdapter A handle to an ASX adapter object nIndex The property number eMode Enumeration mode See asxXADPROPENUM MODE nSubIndex Subindex pdwSetting Returned setting Returns Returns 0 if there
205. eGetProgress TOOLOfflineA bortOperation TOOLOfflineReserveChannel TOOLOfflineSetAncillaryData TOOLOfflineLinkPipes 2 6 Misc TOOLGetOffsetInputLevel TOOLGetOffsetOutputLevel TOOLConvertEx TOOLConvertPart TOOLConvertSetLevel TOOLStretchEx TOOLFileInfo TOOLFileGetNormalizeInfo TOOLGetBoardExternalClock TOOLGetDigitalInputExternalClock Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 Porting Applications from PCXTools Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen Chapter 3 Deprecated List Global ASX_Cobranet_EnumerateModes ASX_HANDLE hCobranet const int nIndex enum asxXCOBRANET This function has been removed it is stubbed out Global ASX_Cobranet_GetMode ASX_HANDLE hCobranet enum asxCOBRANET MODE This function has been removed it is stubbed out Global ASX_Cobranet_SetMode ASX_HANDLE hCobranet const enum asxCOBRANET_MODE eMode This function has been removed it is stubbed out Global ASX_Compander_Get ASX_HANDLE hCompander unsigned short pwAttack unsigned short pwDecay s This function has been broekn up in to individual Get functions Gets the pa rameters for the compander Global ASX_Compander_Set ASX_HANDLE hCompander const unsigned short wAttack const unsigned short wD This function has been broekn up in to individual Set functions Sets the pa rameters for the compander Global ASX_Mixer_GetNodeIndex ASX_HANDLE hNode int pnIndex Thi
206. ec 17 2015 10 17 26 for ASX by Doxygen DONE PREFILL 58 Module Documentation Open Close Close via Close DESTROY DONE St p Open via INIT Open via INIT es E z y 2 E EN B 2 8 3e 5 LV 8 8 s P e gz ew 5 8 gt WA 2 2 sy 1 27 S 2 2 E o E This is a transient state that 2 x 5 This is a transient state that automatically transitions to 5 ad a automatically transitions to DONE after all data has E 3 P Ky PAUSED after the first buffer played and the stream is 2 m ES write has been completed drained amp E 5 8 S PreLoad or Start SetPosition via DESTROY Pause Figure 7 1 ASX Player State Diagram 7 9 2 Function Documentation 7 9 2 1 ASX32 ASX_ERROR ASX Player Close ASX HANDLE hPlayer Close the current playback file Parameters hPlayer A handle to an ASX player control object Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples play main c and playlist main c Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 9 Player control functions 59 7 9 2 2 5 32 ASX_ERROR ASX Player Format GetDetails ASX_HANDLE hPlayer enum asxXAUDIO FORMAT peFormat int pnChannnels int x pnSampleRate int pnBitRate Get the format of the currently opened fi
207. ector delay ASX32 APIASX ERROR ASX SilenceDetector SetThreshold ASX HANDLE hSilenceDetector const float f Threshold Sets the silence detector threshold units of dB ASX32 APIASX ERROR ASX SilenceDetector GetThreshold ASX HANDLE hSilenceDetector float fThreshold Gets the silence detector threshold units of dB ASX32 APIASX ERROR ASX SilenceDetector GetState ASX HANDLE hSi lenceDetector unsigned int nState Gets the silence detector state ASX32 APIASX ERROR ASX Block GetInfo ASX HANDLE hBlock char xszBlockName const unsigned int uStringLength unsigned int xuParameterCount Gets the name of the block and the number of parameters it has 5 32 5 ERROR ASX Block Parameter GetName 5 HANDLE hBlock const unsigned int uParameterIndex char szParameterName const un signed int uStringLength Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 199 9 1 1 9 1 1 1 Gets the name of parameter number uParameterIndex ASX32 APIASX ERROR ASX Block Parameter GetUnits ASX HANDLE hBlock const unsigned int uParameterIndex char szParameterUnits const un signed int uStringLength Gets the units of parameter number uParameterIndex ASX32 API ASX ERROR ASX Block Parameter GetType ASX HANDLE hBlock const unsigned int uParameterIndex enum asx UCONTROL_PTYPE xe Type Gets the type of parameter number uParameterIndex ASX32 APIASX ERROR ASX Block Paramete
208. el Channel Mode control to swap left and right channels on a stream Level control to set the physical input and output levels on an analog node AES EBU control which allows access to the channel status and user data The following diagram shows how ASX models a simple sound card Physical Output Audio file Physical Input Audio file Figure 1 2 ASX controls within a sound card Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 1 7 Coding Conventions 5 1 7 Coding Conventions Method names Ist letters are ASX_ int uppercase i e ASX_Adapter_GetMixer Variable names use Hungarian notation i e int prefix with n i e int nIndex long prefix with 1 i e long Index unsigned long prefix with dw i e unsigned long dwSampleRate float prefix with f i e float fNumber pointer prefix with p i e pnIndex reference prefix with i e int amp mIndex string char array prefix with sz i e char szString 40 global var prefix with g i e int gnIndex static var prefix with s i e int snIndex member var prefix with m i e int mnIndex enum prefix with asx then all capitals with separators i e asxXERROR INDEX OUT OF RANGE Return conventions All functions return 5 ERROR which equals 0 on success and non zero on error Generated on Thu Dec 17 2015 10 17 26 for AS
209. en superseded by ASX Tuner GetFirmwareVersion Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 16 Tuner control functions 95 7 16 2 21 5 32 ASX_ERROR ASX_Tuner_GetHdRadioSdkVersion ASX HANDLE char szSdkVersion const int nStringLength Deprecated This function has been superseded by ASX_Tuner_GetFirmwareVersion 7 16 2 22 ASX32 ASX_ERROR ASX Tuner GetHdRadioSignalQuality ASX HANDLE int x pnSignalQuality Deprecated This function has been superseded by ASX Tuner GetDigitalSignalQuality 7 16 2 23 5 32 ERROR ASX Tuner GetMode ASX HANDLE hT uner const enum asxXTUNERMODE eMode enum asxXTUNERMODE peSetting Gets the tuner mode Currently this can only be used for turning the RSS level reading on and off on an MT4039 tuner Parameters hTuner A handle to an ASX tuner control eMode The only valid parameter for this call is asxXTUNERMODE RSS DISABLE peSetting Returns the mode setting Only current valid values asxXTUNERMODE RSS ENABLE Or asx TUNERMODE RSS are Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 24 ASX32 ERROR ASX Tuner GetProgram ASX HANDLE hTuner enum asxTUNERPROGRAM peProgram Get tuner program The API only supports HDRadio in the USA Parameters hTuner A handle to an ASX tuner control
210. enceDetector GetDelay Get the silence detector delay e ASX SilenceDetector SetThreshold Sets the silence detector threshold units of dB ASX SilenceDetector GetThreshold Gets the silence detector threshold units of dB e ASX SilenceDetector GetState Gets the silence detector state 7 31 1 Detailed Description These functions control a silence detector Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 31 Silence detector control functions 153 7 31 2 Function Documentation 7 31 21 5 32 ASX_ERROR ASX SilenceDetector GetDelay ASX HANDLE hSilenceDetector unsigned int Delay Get the silence detector delay Parameters hSilenceDe handle to an ASX silence detector control tector Delay Delay in milliseconds after signal falls below threshold before silence is indicated Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 31 22 5 32 ERROR 5 SilenceDetector GetEnable ASX HANDLE hSilenceDetector unsigned int nEnable Returns whether the entire silence detector is on or off Parameters hSilenceDe A handle to an ASX silence detector control tector nEnable A return value of 1 implies on while 0 implies off Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 31 2 3 5 32 ERROR 5 SilenceDetector GetEventEnable ASX
211. enceDetector SetEnable 154 7 31 2 8 ASX SilenceDetector SetEventEnable 155 7 31 2 9 ASX_SilenceDetector_SetThreshold 155 17 32 Block functions e esi RYE oto voe 3 3 xo 155 1 321 Detaled Description or ccc RR E E 156 7 32 2 Function Documentation 156 71 32 21 ASX Block Getlinfo 156 7 32 2 2 ASX Block Parameter 157 7 32 2 3 ASX Block Parameter GetElementCount 157 7 32 24 ASX Block Parameter GetEnumName 157 7 32 2 5 ASX Block Parameter GetFlags 158 7 32 2 6 5 Block Parameter GetName 158 7 32 27 ASX Block Parameter GetRange 159 7 32 2 8 ASX Block Parameter GetType 159 7 32 2 9 ASX Block Parameter GetUnits 159 7 32 2 10 ASX Block Parameter 160 8 Data Structure Documentation 161 8 1 asxCobranetIpAutoassignParameters Struct Reference 161 811 Field Documentation 161 addi end ooo a RO ES 161 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen CONTENTS S L1 2 addr start poe na 64 244 6558645 paw ee 161 S13 oos oo oom 9x ym 161 8 2 asxParameterRangelInfo Struct Reference 161 8 2 1 Field Documentation 163 hk te le ta Bh 163 1 5 1224 Lxx ess 163 8 21 3 enumerated float
212. ength Gets the units of parameter number uParameterIndex Parameters hBlock A handle to an ASX block uParame terIndex The index of the parameter of interest szParame terUnits String used to return the parameter units It should be of length ASX SHORT STRING us tringLength The length on the string pointed to be szName Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 160 Module Documentation Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 32 2 10 5 32 ASX_ERROR ASX_Block_Parameter_Set ASX HANDLE hBlock const unsigned int uParameterindex struct asxParameter Value data Sets a parameter s value field Parameters hBlock A handle to an ASX block uParame The index of the parameter of interest terIndex data The data to set on the parameter See asxParameterValue Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen Chapter 8 Data Structure Documentation 8 1 asxCobranetlpAutoassignParameters Struct Reference include lt asx h gt Data Fields char addr_start 20 char addr_end 20 int autoassign 8 1 1 Field Documentation 8 1 1 1 char asxCobranetIpAutoassignParameters addr end 20 8 1 1 2 char asxCobranetIpAutoassignParameters addr_start 20 8 1 1 3 intasxCo
213. equested control does not have a destination node eCon The control type Should be set to one of asx CONTROL trolType p_ The returned ASX control handle hControlBase Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples mixer main c 7 6 2 4 ASX32 ERROR ASX Mixer GetControlByNodeTypeAndindex ASX HANDLE hMixer const enum asxNODE nSourceNodeType const int nSourcelndex const enum asxNODE nDestinationNodeType const int nDestinationIndex const enum asxCONTROL eControlType ASX HANDLE p hControlBase Given source and destination node specifications as well as the control type return the specified control Parameters hMixer A handle to an ASX mixer object Type control does not have a source node The type of the ASX source node object Typically this will be set to one of nSourceNode asxNODE The type may be set to asxNODE or 0 if the requested Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 46 Module Documentation nSourceln dex The source node index This may be set to 0 if the requested control does not have a source node nDestina tionNode Type The type of the ASX destination node object Typically this will be set to one of asxNODE The type may be set to asxNODE NONE or 0 if the requested control does not have a destination node nDestina tionIndex The destinat
214. er CheckError hAdapter LINE get the base control that has some CobraNet stuff asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer asxNODE COBRANET 0 asxNODE COBRANET 007 0 asxCONTROL COBRANET amp hCobraNetControl CheckError hMixer LINE dump source lines ASX Mixer GetSourceNodeCount hMixer amp nNodes printf Source nodes n for 3 0 j nNodes j ASX Mixer GetSourceNode hMixer j amp hNode PrintNodeName hNode prerntfi Xn dump destination lines ASX_Mixer_GetDestinationNodeCount hMixer amp nNodes printf Destination nodes n for 3 0 j nNodes j ASX Mixer GetDestinationNode hMixer j amp hNode PrintNodeName hNode printf Nn dump all controls asxError ASX Mixer GetControlCount hMixer amp nControls CheckError hMixer LINE printf Retrieved controls skipping volumes and sample rate converters n for i 0 i lt nControls i enum asxCONTROL eControl ASX Mixer GetControl hMixer i amp hControl Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 228 Example Documentation ASX Control GetType hControl amp eControl if eControl asxCONTROL VOLUME eControl asxCONTROL SRC continue PrintControlName hControl printf On node s ASX Control GetSourceNode hControl amp hNode if hNode PrintNodeName hNode ASX Control GetDestinationNode hControl
215. er float xnRFLevel Get the tuner RF level ASX32 APIASX ERROR ASX Tuner GetRawRFLevel ASX HANDLE hTuner int xnRawRFLevel Get the Raw tuner RF level ASX32 APIASX ERROR ASX Tuner GetStatus ASX HANDLE hTuner un signed int puErrorStatusMask unsigned int puErrorStatus Get the tuner status ASX32 APIASX ERROR ASX Tuner GetMode ASX HANDLE hTuner const enum asx TUNERMODE eMode enum asx TUNERMODE Gets the tuner mode ASX32_API ASX_ERROR ASX_Tuner_SetMode ASX_HANDLE hTuner const enum asx TUNERMODE eMode const enum asx TUNERMODE eSetting Sets the tuner mode ASX32_API ASX_ERROR ASX_Tuner_EnumerateDeemphasis ASX_HANDLE hTuner const int nIndex enum asx TUNERDEEMPHASIS xpeDeemphasis int pnCount Enumerates tuner de emphasis options ASX32 APIASX ERROR ASX Tuner SetDeemphasis ASX_HANDLE hTuner const enum asx TUNERDEEMPHASIS eDeemphasis Set tuner de emphasis ASX32_API ASX_ERROR ASX_Tuner_GetDeemphasis ASX_HANDLE hTuner enum asx TUNERDEEMPHASIS peDeemphasis Get tuner de emphasis ASX32_API ASX_ERROR ASX_Tuner_EnumerateProgram ASX_HANDLE hTuner const int nIndex enum asx TUNERPROGRAM xpeProgram int pnCount Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 187 Enumerates tuner program options ASX32_API ASX_ERROR ASX Tuner SetProgram ASX_HANDLE hTuner const enum asx TUNERPROGRAM eProgram Set tuner program ASX32_API ASX_E
216. er of size nFieldLength allocated by the caller The length of the pszTitle buffer Should be ASX_LONG_STRING nStringLengtl Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 104 Module Documentation 7 18 Sample clock control functions These functions implement sample clock operations that manipulate the adapter s sam ple clock generation Functions ASX_SampleClock_EnumerateSampleRate ASX_SampleClock_EnumerateLocalRate Enumerate each sample clock rates for the local sample clock generator ASX_SampleClock_SetSampleRate ASX_SampleClock_SetLocalRate Set the sample rate for the local sample clock generator ASX_SampleClock_GetSampleRate Get the adapter s sample rate ASX_SampleClock_GetLocalRate Get the sample rate for the local sample clock generator ASX_SampleClock_EnumerateClockSource Enumerate each sample clock source option ASX_SampleClock_SetClockSource Set the sample clock source ASX_SampleClock_GetClockSource Get the sample clock source ASX_SampleClock_SetAutoSource Set the sample clock to automatically source its clock from a valid input ASX_SampleClock_GetAutoSource Get the setting of the auto source property of the sample clock ASX_SampleClock_SetLocalRateLock Lock the local sample clock to its current setting
217. ere is no error otherwise one of asxERROR is returned 7 6 Mixer functions The mixer functions are used to access mixer nodes and controls Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 6 Mixer functions 43 Functions ASX Mixer ResetControls This function sets all the controls in the mixer to a known state ASX Mixer GetSourceNodeCount This function returns the nunber of source nodes in the mixer e ASX Mixer GetSourceNode This function gets the handle of a particular source node ASX Mixer GetDestinationNodeCount This function returns the nunber of destination nodes in the mixer ASX Mixer GetDestinationNode This function gets the handle of the specified destination node ASX Mixer GetNodeByType Get a node by type ASX Mixer GetNodeTypeCount Get the number of nodes of the specified type ASX Mixer GetControlCount This function returns the total number of controls in the mixer ASX Mixer GetControl Given a control index this function returns a handle to the specified control ASX Mixer GetControlByNode Given source and destination node handles as well as the control type return the specified control ASX Mixer GetControlByNodeTypeAndIndex Given source and destination node specifications as well as the control type return the specified control ASX Mixer GetBlockControlByNodeTypeAndIndex Given source and destination node specifications as we
218. es It is available from Microsoft and the simplest method of locating it is to just Google DbgView Download and install this on the PC you wish to test on The appliction being debugged should call ASX_System_SetMessageLogging to turn on error logging Setting the error level to asxxMSG_LOGGING_DEBUG will record all ASX calls and output other information as well 1 6 ASX Object Model In ASX the underlying audio hardware is grouped into adapters An adapter is typi cally a soundcard i e AudioScience ASI61 14 Each adapter has a mixer The mixer contains source and destination nodes A node represents a point at which audio comes in source or leaves destination the mixer Source nodes include playback streams from the computer usually from a file physical audio inputs like an analog line input or AES EBU input Destination nodes include record streams to the computer usually to a file physical audio outputs like an analog line output or AES EBU output Nodes are attached to controls which contain functionality to process the audio streams passing through them Examples of controls include Player control to play audio from a file on the computer Recorder control to record audio to a file on the computer Meter control to observe the audio signal s peak and RMS values Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 4 Main Page Volume control to alter the audio lev
219. es the number of bands pwEnabled Receives the on off state of the equalizer Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 25 23 5 32 ASX_ERROR ASX SetBand ASX_HANDLE hParmEq const unsigned short windex const enum asxEQBANDTYPE eType const unsigned long dwFrequencyHz const short nQ100 const short nGain0 01dB Sets the parameters for an equalizer band Parameters hParmEq A handle to an ASX Parametric Equalizer control object wIndex Zero based index of the band should be between zero and nBands 1 where nBands is the number of bands from call to ASX EQ GetlInfo eType Specifies the effect of the band dwFrequen Specifies the cutoff for high lo types or center frequency for band types cyHz nQ100 Specifies the sharpness for high lo types or bandwidth for band types Value can be positive or negative and is given in hundreths nQ100 72 means 0 72 nGainO Specifies the gain for equalizer high shelf and low shelf filter types Value O1dB can be positive or negative 0 is unity gain and is given in hundreths Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 25 24 ASX32 ASX ERROR ASX EQ SetState HANDLE hParmEq const unsigned short wOnOff Turns the equalizer on or off Parameters hParmEq A handle to an ASX Parametric Equali
220. eshold Gets the tone detector threshold units of dB with respect to full scale eg ASX32 APIASX ERROR ASX ToneDetector GetState ASX HANDLE hToneDe tector unsigned int nState Gets the tone detector state Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 198 File Documentation ASX32_API ASX_ERROR ASX_ToneDetector_GetFrequency ASX_HANDLE hToneDetector unsigned int nIndex unsigned int nState Gets the centre frequency of each tone detector by index ASX32 APIASX ERROR ASX SilenceDetector SetEnable ASX HANDLE hSilenceDetector const unsigned int nEnable Turns the entire silence detector on and off ASX32 APIASX ERROR ASX SilenceDetector GetEnable ASX HANDLE hSilenceDetector unsigned int nEnable Returns whether the entire silence detector is on or off 5 32 5 ERROR ASX SilenceDetector SetEventEnable ASX HANDLE hSilenceDetector const unsigned int nEnable Turns the event reporting function of the silence detector on and off 5 32 APIASX ERROR ASX SilenceDetector GetEventEnable 5 HANDLE hSilenceDetector unsigned int nEnable Returns whether the event reporting function of the silence detector is on or off ASX32 API ASX ERROR ASX SilenceDetector SetDelay ASX HANDLE hSilenceDetector const unsigned int Delay Set the silence detector delay ASX32 API ASX ERROR ASX SilenceDetector GetDelay ASX HANDLE hSilenceDetector unsigned int Delay Get the silence det
221. ess ENTER to exit n getchar free pszAsxErrorString free pszAsxSubSystemErrorString ASX System Delete hSystem exit 1 return 1 10 11 system main c This is an example of how to use the ASX System functions Header home eliot asi repo cvsrepo Repository apps asx examples system main 1 5 2004 08 11 14 13 46 as age Exp x include stdio h include stdlib n include asx h int main int argc argv ASX_HANDLE system ASX_ERROR asxError char pszAsxSubsysVersion char pszAsxVersion int nAdapters 0 char pszSystem int nLen nLenl nLen2 printf AudioScience ASX System Example n asxError ASX System Create ASX SYSTEM TYPE HPI amp system if asxError int asxSubSystemErrorCode 0 char xpszAsxErrorString char xpszAsxSubSystemErrorString Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 258 Example Documentation ASX Error GetLast system amp asxError amp asxSubSystemErrorCode ASX Error GetLastString system 0 0 amp nLenl 0 0 amp nLen2 pszAsxErrorString char x malloc nLen1l pszAsxSubSystemErrorString char malloc nLen2 ASX Error GetLastString system pszAsxErrorString nLenl amp nLenl pszAsx SubSystemErrorString nLen2 amp nLen2 printf Error d s Subsystem Error ld s asxError pszAsx ErrorString asxSubSystemErrorCode pszAsxSubSystemErrorString getchar free
222. etMacAddress ASX_HANDLE hdAdapter char pszMAC Gets an adapter s ethernet MAC address For network devices this function returns the ethernet MAC address of the Adapter The MAC address is returned as a string representing the 12 hex digits with the format XXXX XXXX XXXX If the adapter does not have a MAC address i e if it was a sound card then an error is returned Parameters hAdapter A handle to an ASX adapter object pszMAC pointer to a char array of length ASX SHORT STRING to return the MAC address string Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples mixer main c 7 5 2 10 2 ERROR ASX Adapter GetMixer ASX HANDLE nhAdapter HANDLE x p hMixer Gets a handle to an adapter s mixer This function returns a handle to a mixer object that can then be used to access mixer nodes andcontrols Parameters hAdapter A handle to an ASX adapter object p_hMixer The retuned mixer handle Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c dual_mono_play main c dual_mono_record main c mixer main c mux main c play main c playlist main c record main c tuner main c and vol ume main c Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 5 Adapter functions 39 7 5 2 11 5 32 ASX_ERROR ASX Adapter Ge
223. eters hVolume A handle to an ASX volume control fdB The returned gain in dBFS i e OdB is fullscale nChannels The number of channels This should match the number of elements in the fGetGain array Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples dual_mono_play main c 712 2 3 2 ASX_ERROR ASX_Volume_GetMute ASX HANDLE hVolume int mute const int nChannels Returns the mute setting for this volume control returned settings will contain the same value Parameters hVolume handle to an ASX volume object mute returned mute setting 1 is mute 0 is unmuted Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 12 24 2 ERROR ASX Volume GetRange ASX HANDLE hVolume float fMinGain float fMaxGain float fGainStep Get that range of volume settings available Parameters hVolume handle to an ASX volume control fMinGain The returned minimum gain in dBFS i e OdB is fullscale fMaxGain The returned maximum gain in dBFS i e OdB is fullscale fGainStep The returned gain stepsize in dB Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 12 Volume control functions 79 Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples volume main c
224. eturns 0 if there is no error otherwise one of asxERROR is returned Examples adapter main c cobranet main c and system main c 7 2 1 6 ASX32 ERROR ASX System GetCobranetAutoassignParms struct asxCobranetIpAutoassignParameters pCAP Get the IP address range that will be used for assigning IP addresses to cobranet de vices Parameters PCAP Pointer to the asxCobranetIpAutoassignParameters structure that receives the IP autoassign parameters Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 21 7 ASX32 ASX ERROR ASX System GetMessageLogging ASX HANDLE hSystem enum asxMSG LOGGING eLog Get the message logging level for ASX Parameters hSystem handle to an ASX system object eLog The error logging level see aaxMSG LOGGING for options Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 26 Module Documentation Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 2 1 8 5 32 ASX_ERROR ASX System GetName ASX HANDLE char pszName const int nStringLength int x pnRequiredLength Gets the name of the ASX system This function returns the name of the audio substem currently being used underneath ASX for example HPI would be returned if ASX was being run using the Audio Science HPI driver Parameters hSystem The asx system han
225. future use asxCONTROL RESERVED 528 Reserved for future use asxCONTROL GENERIC generic control used as a placeholder during de velopment asxCONTROL TONEDETECTOR tone detector control asxCONTROL SILENCEDETECTOR Silence detector control asxCONTROL COBRANET TRANSMITTER Cobranet transmitter control asxCONTROL COBRANET RECEIVER Cobranet receiver control asxCONTROL PAD Program Auxilary Data including RBDS control asxCONTROL SRC Samplerate converter control asxCONTROL BLOCK Block control asxCONTROL LAST CONTROL 9 1 3 14 enum asxEQBANDTYPE Parametric equalizer band type settings Enumerator asxEQBANDTYPE BYPASS Bypass asxEQBANDTYPE LOWSHELF Low Shelf programmed gain below freq unity gain above Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 207 asxEQBANDTYPE_HIGHSHELF High Shelf programmed gain above freq unity gain below asxEQBANDTYPE_EQUALIZER Equalizer programmed gain in passband unity gain outside passband asxEQBANDTYPE_LOWPASS Low Pass unity gain below freq attanuated above asxEQBANDTYPE HIGHPASS High Pass unity gain above freq attanuated below asxEQBANDTYPE BANDPASS Pass unity gain in passband attanuated outside passband asxEQBANDTYPE BANDSTOP Band Stop attenuated in passband unity gain outside passband 9 1 3 15 enum asxERROR ASX error codes These error codes are returned by most ASX functions Enume
226. he number of bits which must be set to the dimension of pnBits Bits Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 22 Vox control functions These functions support vox control manipulation Functions ASX Vox SetLevel Set vox level ASX Vox GetLevel Get vox level e ASX Vox GetRange Get that range of vox settings available 7 22 1 Detailed Description These functions support vox control manipulation Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 116 Module Documentation 7 22 2 Function Documentation 7 22 21 ASX32 ASX ERROR ASX_Vox_GetLevel ASX HANDLE hvox float fGetLevel Get vox level Parameters hVox A handle to an ASX vox control fGetLevel The returned gain in dBFS i e OdB is fullscale Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 22 22 ASX32 ERROR ASX Vox GetRange ASX HANDLE hVox float fMinLevel float fMaxLevel float fLevelStep Get that range of vox settings available Parameters hVox A handle to an ASX vox control fMinLevel The returned minimum gain in dBFS i e OdB is fullscale MaxLevel The returned maximum gain in i e OdB is fullscale fLevelStep The returned gain stepsize in dB Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7
227. ific value Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 5 2 17 5 32 ASX ERROR ASX Adapter SetMode ASX HANDLE nhAdapter const enum asxXADAPTERMODE eMode Set the current adapter mode Parameters hAdapter handle to an ASX adapter object Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 42 Module Documentation eMode The adapter mode to set This must be one of the options returned by calls to ASX_Adapter_EnumerateMode Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 5 2 18 2 ASX ERROR ASX_Adapter_WriteNvMem ASX HANDLE hAdapter const int nAddress const unsigned char cValue Write a byte to the non volatile memory Parameters hAdapter handle to an ASX adapter object nAddress The address to write the byte to cValue The byte to write Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 5 219 ASX32 ASX ERROR ASX Adapter WriteProperty ASX HANDLE hAdapter const int nIndex const unsigned short wParm1 const unsigned short wParm2 Write an adapter property value Parameters hAdapter handle to an ASX adapter object nIndex The property number wParm1 Property specific value wParm2 Property specific value Returns Returns O if th
228. igital input Typi cally this will be an AESEBU SPDIF connection asxNODE TUNER IN audio source coming from a tuner asxNODE RADIO FREQ IN Not implemented asxNODE CLOCK SOURCE IN source for of adapter sample clock gener ation asxNODE BITSTREAM IN A raw unformated bitstream To date this has been used to represent an RS422 serial stream fed directly from a satellite receiver asxNODE MICROPHONE IN audio souce coming from a microphone asxNODE COBRANET IN n audio source coming from a Cobranet audio routing channel Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 212 File Documentation asxNODE_COBRANET_RECEIVER Cobranet receiver asxNODE_ANALOG_IN An Analog input asxNODE SDI IN 3G HD SD SDI input asxNODE RTP DESTINATION IN stream destination asxNODE INTERNAL IN n audio node internal to the device asxNODE AVB IN STREAM n AVB input stream asxNODE BLULINK IN A BLU link input node asxNODE AVB IN AUDIO AVB input audio asxNODE LAST SOURCE NODE marking the last source node asxNODE FIRST DEST NODE marking the last source node asxNODE RECORDER destination that indicates a path for recording audio to the host asxNODE LINE OUT destination that outputs to a line out audio connector asxNODE AESEBU OUT destination that outputs to a digital out audio con nector Typically this will be an AESEBU SPDIF connect
229. in the fGetDb array Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 7 11 24 ASX32 ASX ERROR ASX Meter GetRMS ASX HANDLE hMeter float fdB const int nChannels Returns the RMS meter reading for the given meter control The peak is stereo and the units are in decibels relative to full scale digital dbFs The RMS measurement depends on the waveform shape For example playing a fullscale sinewave with an amplitude of 32767 for a 16bit PCM format will return a RMS reading of 3dB compared with a Peak meter reading of OdBFs while playing a square wave will return a RMS reading of OdB and playing an impulsive signal like solo drums will return an RMS value much lower than the peak value If this meter has ballistics then Ta Td 150ms which simulates the ballistics of a VU meter Parameters hMeter A handle to an ASX meter object A pointer to receive RMS meter reading in dB The range of this reading it 0 0 to 120 0 dB nChannels The number of channels This should match the number of elements in the fGetDb array Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 711 25 ASX32 ERROR ASX Meter SetBallistics ASX HANDLE Meter const enum asxMETER TYPE nMeterType const float fAttackTimeMs const float fDecayTimeMs Set
230. int pnAsxSubSystemErrorCode Get the last error ASX32 APIASX ERROR ASX Error GetLastString ASX HANDLE hASXOb ject char pszAsxErrorString const int nAsxErrorStringLength int pnRequiredAsxErrorStringLength char pszAsxSubSystemErrorString const int nAsxSubSystemErrorStringLength int xpnRequiredAsxSubSystemErrorStringLength Get the last error string information ASX32 API ASX ERROR ASX_Error_Clear ASX HANDLE hASXObject Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 177 Clears the last error ASX32 APIASX ERROR ASX_Adapter_CheckSubSystems ASX_HANDLE hAdapter unsigned int xpnSubSystemMask unsigned int pnSubSystemOkMask Returns the status of the various sub systems that interface to the adapter ASX32 APIASX ERROR ASX Adapter GetName ASX HANDLE hAdapter char pszName const int nStringLength int RequiredLength Gets the name of the adapter ASX32 APIASX ERROR ASX Adapter GetIndex ASX HANDLE hAdapter int pnIndex Gets an adapter s index ASX32 API ASX ERROR ASX Adapter GetSerialNumber ASX HANDLE hAdapter unsigned long pdwSerialNumber Gets an adapter s serial number ASX32 API ASX ERROR ASX Adapter GetHardwareRevision ASX HANDLE hAdapter char pszRevision Gets an adapter s hardware revision ASX32 API ASX ERROR ASX Adapter GetFirmwareRevision 5 HANDLE hAdapter char pszRevision Gets an adapter s firmware revision ASX32 APIASX E
231. ion 136 7 27 2 22 ASX Cobranet SeeMode 136 7 27 2 23 ASX Cobranet SetName 136 7 27 2 24 ASX Cobranet SetPersistence 137 7 27 2 25 ASX_Cobranet_SetSerialConfig 137 7 27 2 26 ASX _Cobranet_SetSerialEnable 137 7 27 2 27 ASX_Cobranet_SetStaticIPAddress 138 7 28 Cobranet transmitter control functions 138 7281 Detailed Description 139 7 28 2 Function Documentation 139 7 28 2221 5 CobranetTx GetBundle 139 7 28 2 2 ASX CobranetTx GetChannelCount 139 7 28 2 3 ASX_CobranetTx_GetChannelMap 140 7 28 24 ASX _CobranetTx_GetFormat 140 7 28 2 5 ASX CobranetIx GetStatus 141 7 28 2 6 ASX CobranetTIx GetUnicastMode 141 7 28 2 7 ASX CobranetIx SetBundle 141 7 28 2 8 ASX CobranetTx SetChannelCount 142 7 28 2 9 ASX CobranetTx SetChannelMap 142 7 28 2 10 ASX CobranetTx SetFormat 142 7 28 2 11 ASX CobranetTx SetUnicastMode 143 7 29 Cobranet receiver control 143 7 29 1 Detailed Description socie e 25 5 Rx 8 144 7 29 2 Function Documentation 144 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen CONTENTS ix 7 29 2 1 ASX CobranetRx GetBundle 144 7 29 2 ASX CobranetRx GetChannelMap 145 7 29 23
232. ion asxNODE RADIO FREQ OUT Not implemented asxNODE SPEAKER OUT destination that outputs to a speaker asxNODE COBRANET OUT destination Cobranet audio routing channel asxNODE COBRANET TRANSMITTER Cobranet transmitter asxNODE ANALOG OUT n Analog output asxNODE SDI OUT 3G HD SD SDI output asxNODE RTP SOURCE OUT n RTP stream source asxNODE AVB OUT STREAM n AVB output stream asxNODE INTERNAL OUT internal output node asxNODE BLULINK OUT BLU link output asxNODE AVB OUT AUDIO AVB output audio asxNODE LAST DEST NODE placekeeper marking the last destination node 9 1 3 22 enum asxPLAYER FLAGS Player callback flags that form a bitmask ie they are numbered 1 2 4 8 etc Enumerator asxPLAYER FILE COMPLETE single playback file has completed asxPLAYER FILELIST COMPLETE playlist has completed asxPLAYER FILE START single playback file has started Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 213 9 1 3 23 enum asxPLAYER STATE Player States Enumerator asxPLAYER INIT Initialized state asxPLAYER OPEN Player is open asxPLAYER PREFILL Buffer prefill state asxPLAYER RUNNING Player is running i e audio is playing asxPLAYER PAUSED Player is paused asxPLAYER DONE Player has completed playing a file asxPLAYER DESTROY Player is being destroyed 9 1 3 24 enum asxRECORD MODE Record Mode Enumerator asxRECORD MODE STEREO 1 Layer 2
233. ion node index This may be set to 0 if the requested control does not have a destination node eCon trolType The control type Should be set to one of asx CONTROL p_ hControlBase The returned ASX control handle Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c dual_mono_play main c dual_mono_record main c mixer main c mux main c play main c playlist main c record main c tuner main c and vol ume main c 7 6 2 5 2 ASX_ERROR ASX Mixer GetControlCount ASX HANDLE hMixer int pnControls This function returns the total number of controls in the mixer Parameters hMixer A handle to an ASX mixer object pnControls The returned number of controls Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c and mixer main c 7 6 2 6 5 32 ASX_ERROR ASX_Mixer_GetDestinationNode ASX HANDLE hMixer const int nDestinationNode ASX HANDLE hNode This function gets the handle of the specified destination node Parameters Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 6 Mixer functions 47 hMixer A handle to an ASX mixer object nDestina The index of the destination node to get This should be a num tionNode ber in the range of 0 to the total count returned by ASX Mixer
234. ion status ASX32 APIASX ERROR ASX CobranetTx GetStatus ASX HANDLE hCo branetTx unsigned int pnDropouts unsigned int pnPosition unsigned int pnReceivers Gets a Cobranet transmitter s status ASX32 APIASX ERROR ASX CobranetTx GetBundle ASX HANDLE hCo branetTx unsigned int pnBundle Gets a Cobranet transmitter s bundle ASX32 APIASX ERROR ASX CobranetTx SetBundle ASX HANDLE hCo branetTx const unsigned int nBundle Sets a Cobranet transmitter s bundle ASX32 APIASX ERROR ASX CobranetTx GetChannelCount ASX HANDLE hCobranetTx unsigned int pnCount Gets a Cobranet transmitter s channel count ASX32 APLASX ERROR ASX CobranetTx SetChannelCount ASX HANDLE hCobranetTx const unsigned int nCount Sets a Cobranet transmitter s channel count Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 196 File Documentation ASX32_API ASX_ERROR ASX_CobranetTx_GetChannelMap ASX_HANDLE hCobranetTx unsigned int nMap 8 Gets a Cobranet transmitter s channel map ASX32 APIASX ERROR ASX_CobranetTx_SetChannelMap ASX_HANDLE hCobranetTx const unsigned int nMap 8 Sets a Cobranet transmitter s channel map ASX32 APIASX ERROR 5 CobranetTx GetFormat ASX HANDLE hCo branetTx enum asxXAUDIO FORMAT xpeFormat Gets a Cobranet transmitter s sub format map 5 32 APIASX ERROR ASX SetFormat ASX HANDLE hCo branetTx const enum asxXAUDIO FORMAT eFormat Sets a Cobranet tran
235. ipeDefineDigitalInput 2 3 10 TOOLPipe5etSESIGR u s coup UR GR 2 3 11 TOOLPipeGetVuMetet ooo orm 2 3 12 TOOLPIpeGeftCl ck 2 2299 55 gt 2 3 13 vu lr ER RE DUCA fu Gu a kee ME He ee RPA OR unn m MD C ee ee j non ee EA ee ee a ee eee E WO 20 00 00 00 00 NA N CONTENTS Deprecated List 11 Module Index 13 Data Structure Index 15 51 Data Structures cs co Sor OE RO X S EE eA 15 File Index 17 Module Documentation 19 Tl Subsystem ee Se OR Ev RR 19 711 Detailed Description 20 i412 BennsDocaieniadoH ce sere ekr S 20 7 12 1 ASX SYSTEM TYPE ALSA 20 7 12 2 5 SYSTEM TYPE ANY 20 7 12 3 5 SYSTEM TYPE ASIO 20 71 2 4 5 SYSTEM TYPE AVB 1722 1 20 7 1 2 5 5 SYSTEM TYPE COUNT 20 7 1 2 6 0 ASX SYSTEM TYPE DIRECTX 21 71 27 5 SYSTEM TYPE DUMMY 21 7 1 2 8 5 SYSTEM 21 71 29 ASX SYSTEM TYPE HPIUDP 21 7 1 2 10 5 SYSTEM TYPE PCXTOOLS 21 7 1 2 11 ASX SYSTEM TYPE PORTAUDIO 21 7 1 2 12 5 SYSTEM TYPE SNMP 21 7 1 2 13 ASX SYSTEM TYPE WAVE 22 Jui SYS ek eS
236. is returned 7 28 2 10 ASX32 ERROR ASX CobranetTx SetFormat ASX HANDLE hCobranetTx const enum asxXAUDIO FORMAT eFormat Sets a Cobranet transmitter s channel format Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 29 Cobranet receiver control functions 143 This controls the resolution sample rate and latency of each transmitted channel In practice all channels are set to the same value Parameters hCo branetTx A handle to an ASX cobranet transmitter control eFormat The channel format specification can be asxAUDIO FORMAT 16 asxAUDIO FORMAT 20 asxAUDIO FORMAT 24 Spec ify asxAUDIO FORMAT NONE to disable the transmitter same effect as bundle 0 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 28 2 11 const unsigned int nMaxUnicast ASX32 API ASX ERROR ASX CobranetTx SetUnicastMode ASX HANDLE hCobranetTx const unsigned int nUnicastMode Sets a Cobranet transmitter s unicast information This function writes SNMP variable txUnicastMode Parameters hCo A handle to an ASX cobranet transmitter control branetTx nUnicast Specifies the number of unicast destinations served before switching to mul Mode ticast Value of OX7FFFFF disables multicast addressing nMaxUni Specifies the maximum number of unicast destinations cast nUnicastMode value n
237. itional header information i e ID3 header is optional Recorder State Diagram Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 10 Recorder control functions 69 ASX_ Recorder Close ASX_Recorder_Open N ASX Recorder Start ASX Recorder Stop Stop ASX Recorder BN ASX Recorder Start Figure 7 2 ASX Player State Diagram 7 10 2 Function Documentation 7 1021 ASX32 ASX_ERROR ASX Recorder Close ASX HANDLE hhecorder Closes the recording file Parameters hRecorder A handle to an ASX recorder object Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples dual mono record main c and record main c Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 70 Module Documentation 7 10 22 ASX32 ASX ERROR ASX_Recorder_EnumerateFormat ASX HANDLE hRecorder const int nindex enum asxXAUDIO FORMAT peFormat int pnCount Enumerates supported recorder formats Parameters hRecorder handle to an ASX recorder object nIndex The format number peFormat Returned enumerated format See asxxFORMAT pnCount Returned total numebr of formats Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 10 2 3 ASX32 ERROR ASX Recorder GetFilename ASX HANDLE hhecorder char pszFilename const int nS
238. k EnumerateSampleRate SAMPLE CLOCK SampleClock 105 ASX SampleClock GetAutoSource SAMPLE CLOCK SampleClock 105 ASX SampleClock GetClockSource SAMPLE CLOCK SampleClock 106 ASX SampleClock GetLocalRate SAMPLE CLOCK SampleClock 106 ASX SampleClock GetLocalRateLock SAMPLE CLOCK SampleClock 106 ASX SampleClock GetSampleRate SAMPLE CLOCK SampleClock 107 ASX SampleClock SetAutoSource SAMPLE CLOCK SampleClock 107 ASX SampleClock SetClockSource SAMPLE CLOCK SampleClock 107 ASX SampleClock SetLocalRate SAMPLE CLOCK SampleClock 108 ASX SampleClock SetLocalRateLock SAMPLE CLOCK SampleClock 108 ASX SampleClock SetSampleRate SAMPLE CLOCK SampleClock 109 ASX SHORT STRING asx h 200 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 276 INDEX ASX_SilenceDetector_GetDelay System 28 SILENCEDETECTOR_SilenceDetectoASX_System_SetMessageLogging 153 System 28 ASX_SilenceDetector_GetEnable ASX_System_SupportsSubSystem SILENCEDETECTOR_SilenceDetector System 29 153 ASX_SYSTEM_TYPE_ALSA ASX_SilenceDetector_GetEventEnable SubSystemTypes 20 SILENCEDETECTOR_SilenceDetectoASX_SYSTEM_TYPE_ANY 133 SubSystemTypes 20 ASX_SilenceDetector_GetState ASX_SYSTEM_TYPE_ASIO SILENCEDETECTOR SilenceDetector SubSystemTypes 20 153 ASX SYSTEM AVB 1722 1 ASX SilenceDetector GetThreshold SubSystemTypes 20 SILENCEDETECTOR SilenceDetecto SX SYSTEM TYPE COUNT 154 SubSystemTypes 20 ASX SilenceDetector SetDelay ASX SYSTEM
239. k This mask indicates which status bits are valid in tus Mask puErrorStatus Bits are defined by asx TUNER_STATUS puErrorSta The returned status bits tus Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 7 16 2228 ASX32 ERROR ASX Tuner SetBand ASX HANDLE hTuner const enum asx TUNERBAND eBand Set the tuner band Parameters hTuner A handle to an ASX tuner control eBand The tuner band to set This must be one of the options returned by calls to ASX_Tuner_EnumerateBand Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 7 16 2 29 5 32 ASX_ERROR ASX Tuner SetDabAudioService ASX HANDLE htTuner const int nindex Set a DAB Audio Service Parameters hTuner A handle to an ASX tuner control nIndex Index of service to tune to Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 98 Module Documentation 7 16 2 30 5 32 ASX_ERROR ASX_Tuner_SetDeemphasis ASX HANDLE const enum asx TUNERDEEMPHASIS eDeemphasis Set tuner de emphasis Parameters hTuner A handle to an ASX tuner control eDeempha The de emphasis value to set sis Returns Returns 0 if there is no
240. lByNode hMixer hNode 0 asxCONTROL_METER amp h Control if CheckErrorNonTerminal hMixer LINE print out some controldetails PrintControlName hControl fe R get a trim level control on Line Out 0 printf Finding a level trim control of node Line Out 0n first get the Line Out node asxError ASX Mixer GetNodeByType hMixer asxNODE_LINE_OUT 0 amp hNode if CheckErrorNonTerminal hMixer LINE now get the control asxError ASX Mixer GetControlByNode hMixer 0 hNode asxCONTROL_LEVEL amp hC ontrol if CheckErrorNonTerminal hMixer LINE print out some controldetails PrintControlName hControl _ get a volume control between Play 0 and Line Out 0 printf Finding a volume control between Play 0 and Line Out 0n first get the Line Out destination node asxError ASX Mixer GetNodeByType hMixer asxNODE LINE OUT 0 amp hDestNode if CheckErrorNonTerminal hMixer LINE second get the Play source node node asxError ASX Mixer GetNodeByType hMixer asxNODE_PLAYER 0 amp hSrcNode if CheckErrorNonTerminal hMixer LINE now get the control asxError ASX Mixer GetControlByNode hMixer hSrcNode hDestNode asxCONTROL_VOLUME amp hControl if CheckErrorNonTerminal hMixer LINE print out some controldetails PrintControlName hControl x x x Using ASX Mixer GetControlByNodeTypeAndIndex printf ASX Mixer Get
241. layer_GetState ASX HANDLE hPlayer enum asxPLAYER_STATE pnState Get the current playback state Parameters hPlayer handle to an ASX player control object pnState The current player state See asxPLAYER STATE Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples play main c 7 9 2 8 ASX32 ERROR ASX Player GetTimeScale ASX HANDLE hPlayer float pfTimeScale Get the playback timescale This function allows the user read the time ratio Time scale range is 0 8 1 2 80 to 012046 of original file time Note This function is only supported on the ASI6xxx series adapters Parameters hPlayer handle to an ASX player control object pfTimeScale Pointer to the returned time scale Range is 0 8 lt fTimeScale 1 2 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 9 2 9 ASX32 ERROR ASX Player Open ASX HANDLE hPlayer const char pszFile Open a file for playback Parameters hPlayer handle to an ASX player control object Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 62 Module Documentation pszFile The name of the file to play This can be the name of a file in the current directory or a fully qualified path name The file can be a wav or mp3 file Note that MP3 playback is currently only supported on thos
242. le as individual variables Parameters hPlayer A handle to an ASX player control object peFormat The returned format code see asxAUDIO FORMAT pn The returned number of channels Channnels pnSampleR The returned sample rate ate pnBitRate The returned bitrate Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 9 2 3 5 32 ASX_ERROR ASX Player_Format_GetString ASX HANDLE hPlayer char pszFormat Get the format of the currently opened file as a string Parameters hPlayer handle to an ASX player control object pszFormat The returned pointer to a format string Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples play main c and playlist main c 7 9 2 4 ASX32 ERROR ASX Player GetFilename ASX HANDLE hPlayer char x pszFilename const int nStringLength int pnRequiredLength Get the current filename if any Parameters hPlayer handle to an ASX player control object pszFilename The returned pointer to the filename The length in bytes of pszFilename nStringLengtl Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 60 Module Documentation pnRe The required length in bytes of pszRevision quiredLength Returns Returns 0 if there is no error otherwise one of asxERROR is
243. led Description 2 34 7 5 2 Function 34 7 5 2 1 ASX Adapter CheckSubSystems 34 7 5 2 2 5 Adapter 34 7 5 2 3 5 Adapter EnumerateProperty 35 7 5 2 4 ASX_Adapter_GetDspUtilization 35 7 5 2 5 ASX Adapter GetFirmwareRevision 36 7 5 2 6 5 Adapter GetHardwareRevision 36 7 5 27 5 Adapter GetlIndex 37 7 5 2 8 5 Adapter GetlpAddress 37 7 5 2 9 5 Adapter 4 38 7 5 2 10 ASX Adapter GetMixer 38 7 5 2 11 ASX Adapter GetMode 39 7 9 2 12 ASX Adapter GetNam 39 7 5 2 13 ASX Adapter GetNvMemSizeInBytes 40 7 5 2 14 ASX Adapter GetSernalNumber 40 7 5 2 15 ASX Adapter ReadNvMem 40 75216 ASX Adapter ReadPr petty 41 7 5 2 17 ASX_Adapter_SetMode 41 7 5 2 18 ASX Adapter WriteNvMem 42 7 5 2 19 ASX Adapter WriteProperty 42 76 Mixer functions 222 2 42 7 6 1 Detailed Description 43 7 6 2 Function Documentation 44 7 6 2 1 ASX Mixer GetBlockControlByNodeTypeAndIndex 44 7 6 2 2 ASX Mixer GetContro 44 7 6 2 3 5 Mixer GetControdlByNode 45 7 6 2 4 ASX Mixer GetControlByNodeTypeAndIndex
244. ll as the block control name return the specified control 7 6 1 Detailed Description The mixer functions are used to access mixer nodes and controls Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 44 Module Documentation 7 6 2 Function Documentation 7 6 2 1 ASX32 ASX_ERROR ASX Mixer GetBlockControlByNodeTypeAndindex ASX HANDLE hMixer const enum asxNODE nSourceNodeType const int nSourcelndex const enum asxNODE nDestinationNodeType const int nDestinationIndex const char pszBlockName ASX HANDLE p hControlBase Given source and destination node specifications as well as the block control name return the specified control Parameters hMixer A handle to an ASX mixer object The type of the ASX source node object Typically this will be set to one of nSourceNode asxNODE The type be set to aaxNODE NONE or 0 if the requested Type control does not have a source node nSourceIn The source node index This may be set to O if the requested control does dex not have a source node nDestina The type of the ASX destination node object Typically this will be set to tionNode one of asxNODE The type may be set to asxNODE NONE 0 if the Type requested control does not have a destination node nDestina The destination node index This may be set to 0 if the requested control tionIndex does not have a destination node pszBlock The block contr
245. lliseconds TimeMs Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 12 Volume control functions These functions support volume control manipulation Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 12 Volume control functions 77 Functions ASX Volume GetChannels Returns the number of channels this volume control has ASX Volume SetMute Sets mute for this volume control ASX Volume GetMute Returns the mute setting for this volume control ASX Volume SetGain Set volume ASX Volume GetGain Get volume ASX Volume GetRange Get that range of volume settings available ASX Volume SetAutofade Set an autofade operation 7 12 1 Detailed Description These functions support volume control manipulation 7 12 2 Function Documentation 7 12 21 5 32 ASX ERROR ASX_Volume_GetChannels ASX HANDLE hvVolume int pnChannels Returns the number of channels this volume control has Parameters hVolume A handle to an ASX volume object pnChannels The returned number of channels Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples volume main c Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 78 Module Documentation 712 22 ASX32 ASX ERROR ASX_Volume_GetGain ASX HANDLE hVolume float fdB const int nChannels Get volume Param
246. m many possible sources asxCONTROL AESEBU TRANSMITTER AESEBU transmitter control asxCONTROL AESEBU RECEIVER AESEBU receiver control asxCONTROL LEVEL level trim control for adjusting input and output lev els asxCONTROL TUNER tuner control asxCONTROL RDS RDS RBDS control asxCONTROL VOX Vox control used to set record trigger level asxCONTROL AESI8 TRANSMITTER An AESIS transmitter control asxCONTROL 818 RECEIVER AES18 receiver control Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 206 File Documentation asxCONTROL AESIS BLOCK GENERATOR AES18 block generator con trol asxCONTROL CHANNEL MODE channel mode control for adjusting au dio routing asxCONTROL BIT STREAM A bitstream control for setting raw bitstream clocking parameters asxCONTROL SAMPLE CLOCK sample clock control asxCONTROL MICROPHONE microphone control asxCONTROL PARAMETRIC parametric EQ control asxCONTROL COMPANDER compander control asxCONTROL COBRANET cobranet control asxCONTROL PLAYER player control that can play audio files from disk asxCONTROL RECORDER recorder control that can record audio files to disk asxCONTROL GPIO general purpose input output control that typically would manipulate relays and read opto inputs asxCONTROL RESERVED 525 Reserved for future use asxCONTROL RESERVED 526 Reserved for future use asxCONTROL RESERVED 527 Reserved for
247. m_GetAdapter hSystem nAdapterToUse amp hAdapter CheckError hAdapter __LINE__ ASX Adapter GetName hAdapter 0 0 amp nLen CheckError hAdapter __LINE__ pszName char malloc nLen ASX Adapter GetName hAdapter pszName nLen amp nLen CheckError hAdapter LINE printf Adapter d is s nAdapterToUse pszName get the mixer handle ASX Adapter GetMixer hAdapter amp hMixer CheckError hAdapter LINE get a player object asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer asxNODE PLAYER 0 0 0 asxCONTROL_PLAYER amp hPlayer CheckError hMixer LINE print out some control details PrintControlName hPlayer open the player and pass in the file to be played ASX Player Open hPlayer argv 1 CheckError hPlayer LINE if argc 2 printf Start at offset s milliseconds n argv 2 ASX Player PreLoad hPlayer asxTIMESCALE MILLISECONDS strtol argv 2 amp pDum my 10 start playing the file at offset 0 seconds ASX Player Start hPlayer CheckError hPlayer LINE ASX Player Format GetString hPlayer amp pszFormat printf Playing s Format 5 on Device s n argv 1 pszFormat pszName free pszName define TEST 1 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 248 Example Documentation elif 5 elif TEST 2 TEST printf Waiting for playback to complete
248. mentation 712 27 ASX32 ASX_ERROR ASX_Volume_SetMute ASX HANDLE hVolume int mute const int nChannels Sets mute for this volume control channels must contain the same setting Parameters hVolume A handle to an ASX volume object mute The mute setting 1 is mute 0 is unmuted Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 13 Level control functions These functions support level trim control manipulation in line ins and line outs Functions ASX Level Set Set the analog input or output level sometimes called trim ASX Level Get Get the analog input or output level sometimes called trim e ASX Level GetRange Get that range of level settings available 7 13 1 Detailed Description These functions support level trim control manipulation in line ins and line outs 7 13 2 Function Documentation 7 13 2 1 5 32 ASX_ERROR ASX _Level_Get ASX HANDLE hLevel float fGain Get the analog input or output level sometimes called trim Parameters hLevel A handle to an ASX level control Gain The returned level reading The level has the units of dBu Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 14 Multiplexer control functions 81 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 13 2 2 5 32 ASX_ERROR ASX Level GetRange
249. mes for a parameter Parameters hBlock handle to an ASX block uParame terIndex The index of the parameter of interest The enumerator index szEnum Name String used to return the enumerator name It should be of length ASX_ SHORT_STRING Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 158 Module Documentation uS The length on the string pointed to be szName tringLength Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 32 25 2 ASX ERROR ASX_Block_Parameter_GetFlags ASX_HANDLE hBlock const unsigned int uParameterindex enum asxUCONTROL PFLAGS eFlags Gets the flags for parameter number uParameterIndex Parameters hBlock A handle to an ASX block uParame terIndex The index of the parameter of interest eFlags Returned parameter flags See asxUCONTROL PFLAGS Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 32 26 ASX32 ERROR ASX Block Parameter GetName ASX HANDLE hBlock const unsigned int uParameterindex char szParameterName const unsigned int uStringLength Gets the name of parameter number uParameterIndex Parameters hBlock A handle to an ASX block uParame terIndex The index of the parameter of interest szParame terName String used to return the
250. mplement Microphone phantom power setting 7 24 2 Function Documentation 7 24 21 ASX32 ASX_ERROR ASX Mic GetPhantomPower ASX HANDLE hMic int pOnOff Get the current state of the phantom power on or off Parameters hMic A handle to an ASX Microphone control object pOnOff Receives power state 1 Phantom power is on 0 Phantom power is off Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 24 3 ASX32 ERROR ASX Mic SetPhantomPower ASX HANDLE hMic const int nOnOff Turn the phantom power on or off Parameters hMic A handle to an ASX Microphone control object nOnOff 1 Turn phantom power on 0 Turn phantom power off Returns Returns O if there is no error otherwise one of asxERROR is returned 7 25 Parametric Equalizer control functions These functions implement Parametric Equalizer settings Functions e ASX EQ GetlInfo Gets information on the equalizer ASX SetState Turns the equalizer on or off Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 25 Parametric Equalizer control functions 119 e ASX SetBand Sets the parameters for an equalizer band e ASX GetBand Gets the parameters for equalizer band 7 25 1 Detailed Description These functions implement Parametric Equalizer settings 7 25 2 Function Documentation 7 25 21 5 32
251. ncy AndSampleRate Gets a device s latency and sample reate ASX Cobranet SetLatencyAndSampleRate Gets a device s latency and sample reate ASX_Cobranet_GetPersistence Gets a device s flash persistence setting ASX_Cobranet_SetPersistence Sets a device s flash persistence state ASX_Cobranet_GetConductorPriority Gets a device s conductor priority ASX_Cobranet_SetConductorPriority Sets a device s conductor priority ASX_Cobranet_GetConductorStatus Gets a device s conductor status ASX_Cobranet_SetSerialEnable Enable or disable a device s serial bridge ASX_Cobranet_GetSerialEnable Gets a device s serial bridge status Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 27 CobraNet control functions 129 ASX Cobranet SetSerialConfig Configures a device s serial bridge ASX Cobranet GetSerialConfig Gets a device s serial bridge configuration e ASX Cobranet GetlIfStatus Gets a device s ethernet connection status 7 27 1 Detailed Description These functions implement device wide CobraNet settings The reader is referred to CobraNet Programmer s Reference Cirrus Logic http www cirrus com for more information 7 27 2 Function Documentation 7 27 21 ASX32 ERROR ASX Cobranet EnumerateModes ASX HANDLE hCobranet const int nindex enum asxCOBRANET MODE peMode int pnCount Deprecated This function has been removed it is stubbed out 7
252. ndex heckError hAdapter LINE rintf Nt Index is d Mn nIndex O nz 5 Adapter GetIpAddress hAdapter szIP CheckError hAdapter LINE printf t IP address is s Mn szIP get the mixer handle asxError ASX Adapter GetMixer hAdapter amp hMixer CheckError hAdapter LINE get the base control that has some CobraNet stuff hCobraNetControl FindSnmpCobranetControl hMixer if hCobraNetControl asxError ASX_Cobranet_GetDescription hCobraNetControl sziInfo sizeof szInfo CheckError hCobraNetControl if asxError printf NtsysDescription s n szInfo else printf Error d n asxError asxError ASX Cobranet GetName hCobraNetControl szInfo sizeof szInfo CheckError hCobraNetControl __LINE__ if printf tsysName s n szInfo Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 2 cobranet main c 227 asxError ASX_Cobranet_GetLocation hCobraNetControl szInfo sizeof sz Info CheckError hCobraNetControl __LINE__ if asxError printf NtsysLocation s n szInfo eise printf No CobraNet control on adapter node n printf Enter adapter number to use scanf d amp i get the selected adapter asxError ASX System GetAdapter hSystem i amp hAdapter CheckError hSystem LINE get the mixer handle asxError ASX Adapter GetMixer hAdapter amp hMix
253. ne of asxERROR is returned Examples mux main c 7 14 2 3 ASX32 ERROR ASX Multiplexer Set ASX HANDLE hMux const enum asxNODE eNode const int nNodelndex Set the multiplexer Parameters hMux A handle to an ASX multiplexer control eNode The node to set the multiplexer to See asxNODE for available nodes nNodelndex node index to set Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples dual mono record main c 7 15 Channel Mode control functions These functions support channel mode operations that can be used to swap left and right audio channels or convert stereo sources to mono outputs etc Functions ASX ChannelMode Enumerate Enumerate each channel mode option ASX ChannelMode Get Get the current channel mode ASX ChannelMode Set Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 84 Module Documentation Set the current channel mode 7 15 1 Detailed Description These functions support channel mode operations that can be used to swap left and right audio channels or convert stereo sources to mono outputs etc 7 15 2 Function Documentation 7 15 21 ASX32 ASX ERROR ASX_ChannelMode_Enumerate ASX_HANDLE hMode const int nindex enum asx CHANNELMODE peMode int x pnCount Enumerate each channel mode option Parameters hMode A handle to an ASX channel mode control
254. ns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 5 ASX32 ERROR ASX Tuner GetBand ASX HANDLE hTuner enum asx TUNERBAND peBand Get the tuner band Parameters hTuner A handle to an ASX tuner control peBand The returned tuner band This must be one of the options returned by calls to ASX Tuner EnumerateBand Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 716 26 5 32 APIASX ERROR ASX Tuner GetDabAudiolnfo ASX HANDLE hTuner char szAudiolnfo const int nSize Get a DAB audio information Parameters hTuner A handle to an ASX tuner control szAudioInfo a string to return info about the audio service such as bitrate mode nSize Max size of string Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 90 Module Documentation Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 7 2 ASX_ERROR ASX_Tuner_GetDabAudioServiceCount ASX HANDLE htTuner int pnindex int pnCount Get Number of Dab Audio Services Parameters hTuner A handle to an ASX tuner control Current index selected pncount Number of available services Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 8 5 32 ERR
255. nt pnCount ASX32 API ASX ERROR 5 Cobranet GetMode ASX HANDLE hCo branet enum asxXCOBRANET MODE ASX32 APLASX ERROR ASX Cobranet SetMode ASX HANDLE hCobranet const enum asxXCOBRANET MODE eMode ASX32 APIASX ERROR 5 Cobranet GetIPAddress ASX HANDLE hCo branet unsigned int pdwIPAddr Get the current IP address of the Cobranet device ASX32 APIASX ERROR ASX Cobranet SetIPAddress 5 HANDLE hCo branet const unsigned int dwIPAddr Set the current IP address of the Cobranet device ASX32 APIASX ERROR ASX_Cobranet_GetStaticIPAddress ASX HANDLE hCobranet unsigned int pdwIPAddr Get the static IP address of the Cobranet device ASX32 APIASX ERROR ASX Cobranet SetStaticIPAddress ASX HANDLE hCobranet const unsigned int dwIPAddr Set the static IP address of the Cobranet device ASX32 APIASX ERROR ASX Cobranet GetMACAddress ASX HANDLE hCobranet unsigned int xpdwMAC_MSBs unsigned short pwMAC LSBs Get the current cobranet MAC address ASX32 APIASX ERROR ASX Cobranet GetDescription ASX HANDLE hCo branet char szString const int nLength Get the device s description from the sysDescr SNMP field ASX32 API ASX ERROR ASX Cobranet GetName ASX HANDLE hCo branet char szString const int nLength Get the device s name from the sysName SNMP field Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 194 File Documentation ASX32 APIASX ERROR ASX_Cobranet_SetName A
256. nted in samples asxTIMESCALE BYTES REMAINING Time scale is represented in bytes re maining Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 217 asx TIMESCALE_MILLISECONDS_REMAINING Time scale is represented in milli seconds remaining asxTIMESCALE SAMPLES REMAINING Time scale is represented in sam ples remaining 9 1 3 29 enum asxXTUNER RDS Tuner PSD PAD RDS RBDS type Not translatable to strings Enumerator asxTUNER RDS TYPE RDS RDS data asx TUNER RDS TYPE RBDS RBDS data USA and HD Radio PSD 9 1 3 30 enum asxTUNER STATUS Tuner status bitfields Not translatable to strings Enumerator asxTUNER STATUS VIDEO VALID Video valid asxTUNER STATUS VIDEO COLOR PRESENT Color present asxTUNER STATUS VIDEO IS 60HZ Video is 60 Hz asxTUNER STATUS VIDEO HORZ SYNC MISSING Horizontal sync is miss ing asxTUNER STATUS PLL LOCKED tuners PLL is locked onto a signal asx TUNER STATUS FM STEREO stereo signal has been detected asx TUNER STATUS DIGITAL digital channel has been detected asxTUNER STATUS MULTIPROGRAM multi program channel has been detected asxTUNER STATUS FIRMWARE LOADING tuner firmware is loading 9 1 3 31 enum asxXTUNERBAND Tuner band settings Enumerator asxTUNERBAND AM Tuner band AM asxTUNERBAND FM Tuner band FM asxTUNERBAND TV Tuner band TV NTSC North America asxTUNERBAND FM STEREO Tuner band stereo FM
257. ntrol amp eControl ASXSTRING EnumToString eControl 0 0 amp nLen pszName char malloc nLen ASXSTRING_EnumToString eControl pszName nLen amp nLen printf Control s n pszName free pszName int CheckError ASX HANDLE hObj const int nLine nt nError nt asxSubSystemErrorCode 0 ar pszAsxErrorString ar pszAsxSubSystemErrorString nt nLenl nLen2 ASX Error GetLast hObj ASX ERROR amp nError amp asxSubSystemErrorCode if nError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorString char 11 nLen1 pszAsxSubSystemErrorString char malloc nLen2 ASX Error GetLastString hObj pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf Error d s Subsystem Error ld s Mn nError pszAsxErrorString asxSubSystemErrorCode pszAsxSubSystemErrorString printf When called from source s line dWMn FILE nLine printf Press ENTER to exit n getchar free pszAsxErrorString free pszAsxSubSystemErrorString ASX System Delete hSystem exit 1 return 1 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen Index RPTO ASX_AESEBUReceiver_GetErrorStatus asx h 199 110 ASX_AESEBUReceiver_GetFormat asx h 199 110 ASX_AESEBUReceiver_GetSampleRate Adapter 110 _ ASX Adapter CheckSubSystems 34 BE ra Receiver SetFormat ASX Adapter EnumerateMode
258. of d pos f of f n szCurrentFilename nCurrentFile 41 nTotalFileCount float nCurrentTime ms 1000 0 float nTotalTime ms 1000 0 nLastTime ms nCurrentTime ms char xm buf NULL char x xm list NULL int m count 0 ASX ERROR OpenPlaylist ASX HANDLE hPlayer const char pFilename Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 9 playlist main c 251 ASX ERROR result asxERROR PLAYER NOFILE qnt 0 fpos t len FILE fp fp fopen pFilename r iX ED return result fseek fp 0 SEEK END fgetpos fp amp len fseek fp 0 SEEK SET if len m buf char malloc len l fread m_buf 1 len fp m_count 1 for i 0 i lt len i if m buf i n m count tt st char malloc sizeof char count 0 St 0 m buf 0 lt 1 if m_buf j m_buf i 0 if j m count m list j m buf 1 m_buf len 0 Skip leading whitespace and remove empty strings for 3 0 j lt m_count j while m_list j 0 m_list j 0 m list j if m_list Jj 0 0 for i j i lt m_count 1 i m list i m list i 1 m count ji result ASX_Player_OpenPlaylist hPlayer m_list m_count fclose fp return result void FreePlaylist void if m_buf free m buf if m list free m list int main int argc char argv char pszName
259. ol name Name _ Thereturned ASX control handle hControlBase Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 6 2 2 ASX32 ERROR ASX Mixer GetControl ASX HANDLE Mixer const int nControl ASX HANDLE x p_hControlBase Given a control index this function returns a handle to the specified control Parameters hMixer A handle to an ASX mixer object nControl The index of the control handle to return p hControlBase The returned ASX control handle Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 6 Mixer functions 45 Examples cobranet main c and mixer main c 7 6 2 3 ASX32 ASX_ERROR ASX_Mixer_GetControlByNode const ASX HANDLE hMixer const ASX HANDLE hSourceNode const ASX HANDLE hbDestinationNode const enum asxCONTROL eControlType ASX HANDLE p hControlBase Given source and destination node handles as well as the control type return the spec ified control Parameters hMixer A handle to an ASX mixer object A handle to an ASX source node object This handle may be set to hSourceNode NONE 0 if the requested control does not have a source node hDestina handle to an ASX destination node object This handle may be set to tionNode asxNODE NONE or 0 if the r
260. old System 28 TONEDETECTOR_ToneDetector 151 5 System SetHostNetworkInterface ASX Tuner EnumerateBand Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen INDEX 277 Tuner 87 Tuner 96 ASX_Tuner_EnumerateDeemphasis ASX_Tuner_GetStatus Tuner 88 Tuner 96 ASX_Tuner_EnumerateHdBlend ASX_Tuner_SetBand Tuner 88 Tuner 97 ASX_Tuner_EnumerateProgram ASX_Tuner_SetDabAudioService Tuner 89 Tuner 97 ASX_Tuner_GetBand ASX_Tuner_SetDeemphasis Tuner 89 Tuner 97 ASX_Tuner_GetDabAudioInfo ASX_Tuner_SetFrequency Tuner 89 Tuner 98 ASX_Tuner_GetDabAudioServiceCount ASX_Tuner_SetGain Tuner 90 Tuner 98 ASX_Tuner_GetDabAudioServiceName ASX_Tuner_SetHdBlend Tuner 90 99 2 abMultiplexId ASX_Tuner_SetMode uner gt Tuner 99 up abMultiplexName ASX Tuner SetProgram uner 99 iir oe C ASX Volume GetChannels uner Volume 77 ue v EE E ASX Volume GetGain E 7 Volume 77 ASX_Tuner_GetDigitalSignalQuality ASS Volume Tuner 92 Vol 78 ASX Tuner GetFirmwareVersion e Tuner 92 ASX Volume GetRange ASX Tuner GetFrequency Volume 78 Tuner 92 ASX_Volume_SetAutofade ASX_Tuner_GetFrequencyRange mE Tuner 93 Volume SetGain 5 Tuner GetGain Volume 79 Tuner 93 ASX Volume SetMute ASX Tuner GetGainRange Volume 80 Tuner 93 ASX GetLevel ASX Tuner GetHdBlend Vox 116 Tuner 94 _ Vox GetRange ASX Tuner GetHdRadioDspVersion Vox 116 Tuner 94 ASX Vox
261. olume SetAutofade 5 HANDLE hVol ume const float fSetdB const int nChannels const ASX TIME nDuration const enum asx VOLUME_AUTOFADE eProfile Set an autofade operation ASX32 APIASX ERROR ASX_Level_Set ASX_HANDLE hLevel const float fGain Set the analog input or output level sometimes called trim ASX32 APIASX ERROR ASX Level Get ASX HANDLE hLevel float fGain Get the analog input or output level sometimes called trim ASX32 APIASX ERROR ASX Level GetRange ASX HANDLE hLevel float fMinGain float fMaxGain float fGainStep Get that range of level settings available ASX32 APIASX ERROR ASX Multplexer Enumerate ASX HANDLE hMux const int nIndex enum asxNODE int pnNodelIndex int pnCount Enumerate each multiplexer option Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 185 ASX32 APIASX ERROR ASX_Multiplexer_Get ASX_HANDLE hMux enum asxNODE peNode int pnNodeIndex Get the current multiplexer setting ASX32 APIASX ERROR ASX Multiplexer Set ASX HANDLE const enum asxNODE eNode const int nNodeIndex Set the multiplexer ASX32 ASX ERROR 5 ChannelMode Enumerate ASX HANDLE hMode const int nIndex enum asx CHANNELMODE peMode int pnCount Enumerate each channel mode option ASX32 ASX ERROR 5 ChannelMode Get ASX HANDLE hMode enum asxCHANNELMODE xpeMode Get the current channel mode ASX32
262. on gets the handle of the specified destination node ASX32 API ASX ERROR ASX Mixer GetNodeByType HANDLE hMixer const enum asxNODE eType const int nIndex ASX HANDLE hNode Get a node by type ASX32 APIASX ERROR ASX Mixer GetNodeTypeCount ASX HANDLE hMixer const enum asxNODE eType int pnCount Get the number of nodes of the specified type ASX32 APIASX ERROR ASX Mixer GetControlCount ASX HANDLE hMixer int xpnControls This function returns the total number of controls in the mixer ASX32 5 ERROR ASX Mixer GetControl ASX HANDLE hMixer const int nControl ASX HANDLE xp hControlBase Given a control index this function returns a handle to the specified control ASX32 APIASX ERROR ASX Mixer GetControIlByNode const HANDLE hMixer const ASX HANDLE hSourceNode const ASX HANDLE hDestina tionNode const enum asxCONTROL eControlType ASX HANDLE xp hControlBase Given source and destination node handles as well as the control type return the specified control ASX32 APIASX ERROR ASX Mixer GetControlByNodeTypeAndIndex ASX HANDLE hMixer const enum asxNODE nSourceNodeType const int nSour ceIndex const enum asxNODE nDestinationNodeType const int nDestinationIn dex const enum asx CONTROL eControlType ASX HANDLE xp hControlBase Given source and destination node specifications as well as the control type return the specified control ASX32 API ASX ERROR ASX Mixer GetBlockControlByNodeT
263. ontrol Generic control function to get the type of a control 5 32 5 ERROR ASX Control GetSourceNode 5 HANDLE hCon trol ASX HANDLE xp hNode Generic control function to get the source node of a control 5 32 APIASX ERROR 5 Control GetDestinatonNode ASX HANDLE hControl ASX HANDLE p hNode Generic control function to get the destination node of a control ASX32 APIASX ERROR ASX Control GetHpiControl ASX HANDLE hCon trol void pphHpiSubSys unsigned int phHpiControl Tunnel through ASX to get HPI control parameters NOT IMPLEMENTED YET ASX32 APIASX ERROR ASX Control GetSubSystem ASX HANDLE hCon trol int p nSubSystem Returns the sub system handle of the given control ASX32 APIASX ERROR ASX Player Open ASX HANDLE hPlayer const char 2 Open a file for playback Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 181 ASX32_API ASX_ERROR ASX_Player_Format_GetString ASX_HANDLE hPlayer char pszFormat Get the format of the currently opened file as a string ASX32 API 5 ERROR ASX Player Format GetDetails ASX HANDLE hPlayer enum asxXAUDIO FORMAT xpeFormat int pnChannnels int pnSampleRate int xpnBitRate Get the format of the currently opened file as individual variables ASX32 APIASX ERROR ASX Player PreLoad ASX HANDLE hPlayer const enum asxTIMESCALE nType const unsigned long IPosition Preloads playback
264. ontrolName 117 7 24 Microphone control 117 7241 Detailed Description 118 7 24 20 Function Documentation 118 7 24 2 1 ASX Mic GetPhantomPower 118 7 24 2 2 ASX Mic SetPhantomPower 118 7 25 Parametric Equalizer control functions 2 118 251 Detaled Description oe be ea c EY 119 7 25 2 Function Documentation 119 7 25 2 1 ASX GetBand 119 7 25 2222 ASX EQ 119 22323 ASM BO SetBand 120 7 25 24 5 120 7 26 Compander control functions 121 2201 Detaled Description 22 2 9 9 Rm eum 122 7 26 2 Function Documentation 122 7 26 2 1 ASX Compander 122 7 26 2 2 5 Compander GetAttackTimeConstant 122 7 26 2 3 ASX Compander GetDecayTimeConstant 123 7 26 24 ASX Compander GetEnable 123 7 26 2 5 ASX _Compander_GetMakeupGain 123 7 26 2 6 ASX _Compander_GetRatio 124 7 26 27 ASX Compander GetThreshold 124 7 26 2 8 ASX _Compander_Set 124 7 26 2 9 ASX Compander SetAttackTimeConstant 125 7 26 2 10 Compander SetDecayTimeConstant 125 7 26 2 11 ASX_Compander_SetEnable 126 Generated on Thu Dec 17 2015 10 17 26
265. order Pause hRecorder nPaused 1 break case r if nPaused printf Invalid command n else ASX Recorder Start hRecorder nPaused 0 break case x nKeepGoing 0 break default printf Invalid command in break ASX_Recorder_Stop hRecorder CheckError hRecorder __LINE__ printf Recording complete n close the file being played ASX_Recorder_Close hRecorder CheckError hRecorder __LINE__ printf Press ENTER to exit n getchar ASX System Delete hSystem return 0 CheckError ASX HANDLE hObj int nLine int nError int asxSubSystemErrorCode 0 char xpszAsxErrorString to end recording NnCommand to end recording NnCommand Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 11 system main c 257 char pszAsxSubSystemErrorString int nLenl nLen2 ASX Error GetLast hObj ASX ERROR amp nError amp asxSubSystemErrorCode if nError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorString char 11 nLenl pszAsxSubSystemErrorString char malloc nLen2 ASX Error GetLastString hObj pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf Error d s Subsystem Error d s Wn nError pszAsxErrorString asxSubSystemErrorCode pszAsxSubSystemErrorString printf When called from source s line dWMn FILE nLine printf Pr
266. pointer to a char array of length ASX_SHORT_STRING to return the revision string Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 5 2 6 5 32 ASX_ERROR ASX_Adapter_GetHardwareRevision ASX_HANDLE hdAdapter char pszRevision Gets an adapter s hardware revision This function returns the revision of the audio adapter referenced by hAdapter The revision indicates the hardware revision of the adapter An example of a revision string is AO The first character is a letter A Z inticating the major revision number and the second character is a digit 0 9 indicating the minor revision number Note This function is currently only supported by the ASX_SYSTEM_TYPE_HPI in terface Parameters hAdapter A handle to an ASX adapter object pszRevision A pointer to a char array of length ASX_SHORT_STRING to return the revision string Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 5 Adapter functions 37 Examples adapter main c 7 5 2 7 ASX32 ASX_ERROR ASX Adapter Getlndex HANDLE hAdapter int pnindex Gets an adapter s index This function returns the hardware index of the audio adapter referenced by hAdapter AudioScience adapters have unique indexes assigned by a hardware jumper switch sound cards or programmed in
267. pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf Error d s Subsystem Error ld s Mn nError pszAsxErrorString asxSubSystemErrorCode pszAsxSubSystemErrorString printf When called from source s line dWMn FILE nLine if nExitOnError printf Press ENTER to exit n getchar free pszAsxErrorString free pszAsxSubSystemErrorString ASX System Delete hSystem exit 1 return 1 10 13 volume main c This is an example of how to use the ASX Volume functions SHeader home eliot asi repo cvsrepo Repository apps asx examples volume main 1 2 2010 06 22 18 15 12 as age Exp x include stdio h include stdlib h include asx h include asxstring h ASX HANDLE hSystem 0 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 13 volume main c 263 int CheckError ASX HANDLE hObj const int nLine void PrintControlName ASX HANDLE hControl int main int argc argv ASX HANDLE hAdapter ASX HANDLE hMixer ASX HANDLE hVolume int nAdapterToUse 0 char szName ASX SHORT STRING int nLength int nVol float fGain 2 float fMin fMax fStep int nChannels create the system ASX System Create ASX SYSTEM TYPE HPI amp hSystem CheckError hSystem LINE get the adapter ASX System GetAdapter hSystem nAdapterToUse amp hAdapter CheckError hSystem __LINE__ ge
268. r GetFlags 5 HANDLE hBlock const unsigned int uParameterIndex enum asxUCONTROL PFLAGS xeFlags Gets the flags for parameter number uParameterIndex ASX32_API ASX ERROR ASX Block Parameter GetElementCount ASX HANDLE hBlock const unsigned int uParameterIndex unsigned int uCount Gets the number of elements ASX32 APIASX ERROR ASX Block Parameter GetRange ASX HANDLE hBlock const unsigned int uParameterIndex struct asxParameterRangelnfo xinfo Gets the parameter range 8 32 APLASX ERROR ASX Block Parameter GetEnumName ASX HANDLE hBlock const unsigned int uParameterIndex const unsigned int uEnumlItem char szEnumName const unsigned int uStringLength Gets the enumerated names for a parameter ASX32 APIASX ERROR ASX Block Parameter Set ASX HANDLE hBlock const unsigned int uParameterIndex struct asxParameterValue data Sets a parameter s value field ASX32 APIASX ERROR ASX Block Parameter Get ASX HANDLE hBlock const unsigned int uParameterIndex struct asxParameter Value data Gets a parameter s value field Define Documentation define RPTO s printf s A debug helper function 0 arguments Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 200 File Documentation 9 1 1 2 define RPT1 s d1 printf s d1 A debug helper function 1 argument 9 1 1 3 define ARRAY SIZE X sizeof X sizeof X 0 9 1 1 4 ASX32 9 1 1 5 define ASX LONG STRING 1
269. r SetHdBlend Set a HD Radio tuner to analog only or auto switch ASX Tuner GetHdBlend Get a HD Radio tuner analog or digital blend e ASX Tuner GetDabMultiplexName Get a DAB Multiplex Name ASX Tuner GetDabMultiplexId Get a DAB Multiplex ID ASX Tuner GetDabAudioServiceCount Get Number of Dab Audio Services ASX Tuner GetDabAudioServiceName Get a DAB Audio Service ASX Tuner SetDabAudioService Set a DAB Audio Service e ASX Tuner GetDabServiceld Get a DAB Service ID ASX Tuner GetDabAudioInfo Get a DAB audio information 7 16 1 Detailed Description These functions support tuner operations 7 16 2 Function Documentation 7 16 2 1 5 32 ERROR ASX Tuner EnumerateBand ASX HANDLE nhTuner const int nindex enum asxTUNERBAND peBand int pnCount Enumerate each tuner band option Parameters Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 88 Module Documentation hTuner A handle to an ASX tuner control nIndex The index of the tuner band option to fetch peBand The returned tuner band option pnCount The total number of available tuner bands Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 7 16 22 2 ERROR ASX Tuner EnumerateDeemphasis ASX HANDLE const int nindex enum asx TUNERDEEMPHASIS peDeemphasis int x pnCount Enume
270. r hAdapter __LINE__ printf Adapter d is s n i pszAdapterName the adapter index is not the same as the loop index 5 Adapter GetIndex hAdapter amp nIndex CheckError hAdapter LINE printf Index is 1d nIndex ASX Adapter GetSerialNumber hAdapter amp 1Serial CheckError hAdapter LINE printf Serial is 1d lSerial pszRevision char x malloc ASX SHORT STRING ASX Adapter GetHardwareRevision hAdapter pszRevision CheckError hAdapter LINE printf Revision is s Mn pszRevision ASX Adapter GetDspUtilization hAdapter 1 amp nDspUtilization CheckError hAdapter LINE printf Utilization is d percent Mn nDspUtilization free pszAdapterName free pszRevision ASX System Delete hSystem printf Press ENTER to exit n getchar return 0 CheckError ASX HANDLE hObj int nLine int nError int asxSubSystemErrorCode 0 char xpszAsxErrorString char xpszAsxSubSystemErrorString int nLenl nLen2 ASX Error GetLast hObj amp nError amp asxSubSystemErrorCode if nError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorString char 11 nLen1 pszAsxSubSystemErrorString char malloc nLen2 ASX Error GetLastString hObj pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf Error d 5 Subsystem Error ld s n
271. r is set to 0 it will be ignored nAsxSubSys The length of pszAsxSubSystemErrorString in bytes temEr rorStringLeng pnRe The required length of pszAsxSubSystemErrorString in bytes quiredAsx SubSyste mEr rorStringLeng Note This function can be called with string pointers set to zero to determine the size of strings to allocate Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples adapter main c cobranet main c dual mono play main c dual mono record main c mixer main c mux main c play main c playlist main c record main c system main c tuner main c and volume main c 7 5 Adapter functions The adapter functions are used to obtain adapter information and access the mixer Functions ASX Adapter CheckSubSystems Returns the status of the various sub systems that interface to the adapter ASX Adapter GetName Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 5 Adapter functions 33 Gets the name of the adapter ASX Adapter GetIndex Gets an adapter s index ASX Adapter GetSerialNumber Gets an adapter s serial number ASX Adapter GetHardwareRevision Gets an adapter s hardware revision ASX Adapter GetFirmwareRevision Gets an adapter s firmware revision ASX Adapter GetMacAddress Gets an adapter s ethernet MAC address e ASX Adapter GetIpAddress Gets an adapter s network IP address ASX Adapter GetDspUtilization
272. ranet control peLatency Pointer used to return latency peRate Pointer used to return sample rate Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 210 5 32 ASX_ERROR ASX Cobranet GetLocation ASX_HANDLE hCobranet char szString const int nLength Get the device s location from the sysLocation SNMP field Parameters hCobranet A handle to an ASX cobranet control szString Pointer to a string of length ASX_LONG_STRING nLength Name string length Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 7 27 2211 ASX32 ASX_ERROR ASX Cobranet GetMACAddress ASX HANDLE hCobranet unsigned int pdwMAC MSBs unsigned short pwMAC LSBs Get the current cobranet MAC address Parameters Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 27 CobraNet control functions 133 hCobranet A handle to an ASX cobranet control pdwMAC_ Gets the four most significant bytes of the MAC address MSBs pwMAC Gets the two least significant bytes of the MAC address LSBs Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2 12 ASX32 ERROR ASX Cobranet GetMode ASX HANDLE hCobranet enum asxCOBRANET MODE peMode Deprecated This function has been removed it is stubbed o
273. rateProperty Adapter 35 ASX_Adapter_GetDspUtilization Adapter 35 ASX_Adapter_GetFirmwareRevision Adapter 36 ASX_Adapter_GetHardwareRevision Adapter 36 ASX_Adapter_GetIndex Adapter 37 ASX_Adapter_GetIpAddress Adapter 37 ASX_Adapter_GetMacAddress 8 Adapter 38 ASX_Adapter_GetMixer Adapter 38 ASX_Adapter_GetMode Adapter 38 ASX_Adapter_GetName Adapter 39 ASX Adapter GetNvMemsSizeInBytes Adapter 40 ASX Adapter GetSerialNumber Adapter 40 ASX Adapter ReadNvMem 8 Adapter 40 ASX Adapter ReadProperty Adapter 41 5 Adapter SetMode Adapter 41 ASX Adapter WriteNvMem Adapter 42 ASX Adapter WriteProperty Adapter 42 ASX AESEBUReceiver EnumerateFormat AESEBU RECEIVER Aes3Rx 109 5 AESEBUReceiver GetErrorStatus Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 272 INDEX AESEBU RECEIVER Aes3Rx 110 5 AESEBUReceiver GetFormat AESEBU RECEIVER Aes3Rx 110 ASX AESEBUReceiver GetSampleRate AESEBU RECEIVER Aes3Rx 110 5 AESEBUReceiver SetFormat AESEBU RECEIVER Aes3Rx 111 5 AESEBUTransmitter EnumerateFormat AESEBU 112 ASX AESEBUTransmitter GetFormat AESEBU TRANSMITTER Aes3Tx 112 ASX AESEBUTransmitter SetFormat AESEBU TRANSMITTER Aes3Tx 112 ASX Block GetInfo BLOCK Block 156 ASX Block Parameter Get BLOCK Block 156 ASX Block Parameter GetElementCount BLOCK Block 157 ASX Block Parameter GetEnumName BLOCK Block 157 ASX Block Parameter GetFlags BLOCK Block 158 AS
274. rates tuner de emphasis options Parameters hTuner A handle to an ASX tuner control nIndex The number of the de emphasis setting to retrieve peDeempha de emphasis option sis pnCount The total number of de emphasis options Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 3 ASX32 ERROR ASX Tuner EnumerateHdBlend ASX HANDLE hTuner const int nindex enum asx TUNERHDBLEND x peBlend int pnCount Enumerates tuner blend options The API only supports HDRadio in the USA Parameters hTuner A handle to an ASX tuner control nIndex The number of the blend settings to retrieve peBlend The program option pnCount The total number of program options Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 16 Tuner control functions 89 7 16 2 4 5 32 ASX ERROR ASX Tuner EnumerateProgram ASX HANDLE hTuner const int nindex enum asxTUNERPROGRAM x peProgram int pnCount Enumerates tuner program options The API only supports HDRadio in the USA Parameters hTuner A handle to an ASX tuner control nIndex The number of the program setting to retrieve peProgram The program option pnCount The total number of program options Returns Retur
275. rator asxERROR NO ERROR success or no error code is 0 asxERROR ASXOBJECT attempt was made to call an ASX function with an incorrect object handle asxERROR INDEX OUT OF RANGE The index passed in to the function is out of range asxERROR UNIMPLEMENTED An attempt was made to call an un implemented function asxERROR COMMUNICATING WITH DEVICE Device communication er asxERROR STARTING DEVICE Device would not start Typically this is driver installation or hardware problem asxERROR NOT OPEN attempt was made to manipulate and ASX object that requires opening before use asxERROR ALREADY OPEN attempt was made to open an object that is already open asxERROR INVALID FORMAT The format is illegal on this adapter It may be the sample rate or the compression format that is illegal asxERROR INTERNAL BUFFERING ERROR Buffering error internal to the ASX library occurred asxERROR 818 AES 18 signalling error asxERROR INVALID OPERATION An attempt was made to perform an in valid operation asxERROR ENUMERATE INDEX OUT OF RANGE index passed in to the enumeration function is too large Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 208 File Documentation asxERROR BUFFER TOO SMALL buffer was passed to a function that was too small to hold the requested data asxERROR OUTOFMEMORY internal system call to allocate memory failed asxERROR DEPRECATED
276. resence of any of a number of tones Cur rently 25Hz and 35Hz tones can be detected independently on left and right channels Tones that exceed the threshold set by ToneDetector SetThreshold are detected The result of the detection is reflected in the controls state and optionally by sending an async event with the new state Tones must have a minimum duration of 200ms before they are detected Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 150 Module Documentation 7 30 2 Function Documentation 7 30 21 ASX32 ASX ERROR ASX_ToneDetector_GetEnable ASX HANDLE hToneDetector unsigned int nEnable Returns whether the entire tone detector is on or off Parameters hToneDetec A handle to an ASX tone detector control tor nEnable A return value of 1 implies on while 0 implies off Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 30 2 2 5 32 ASX ERROR ASX ToneDetector GetEventEnable ASX HANDLE hToneDetector unsigned int nEnable Returns whether the event reporting function of the tone detector is on or off Parameters hToneDetec handle to an ASX tone detector control tor nEnable return value of 1 implies on while implies off Returns Returns O if there is no error otherwise one of asxERROR is returned 7 30 23 5 32 ERROR 5 ToneDetector GetFrequency ASX HANDLE
277. ror ASX Tuner GetStatus hTuner amp nStatusMask amp nStatusBits CheckError hTuner LINE 0 if lasxError printf Tuner status mask 0 08 vale 0x 08X n nStatusMask nStatusBits read RDS fields get a PAD RDS object index 0 asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer asxNODE TUNER IN 0 0 0 asxCONTROL PAD amp hPAD CheckError hMixer LINE 0 if lasxError char szBuffer ASX LONGLONG STRING int n Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 12 tuner main c 261 print out some control details PrintControlName hPAD channel name asxError ASX PAD GetChannelName hPAD szBuffer sizeof szBuffer CheckError hMixer __LINE__ 0 if asxError asxERROR_NO_ERROR printf PAD ChannelName s n szBuffer RDS PI asxError ASX_PAD_GetRdsPI hPAD amp n CheckError hMixer __LINE__ 0 if asxError asxERROR_NO_ERROR printf PAD RDS SANDT RDS PTY asxError ASX PAD GetProgramType hPAD amp n CheckError hMixer __LINE__ 0 if asxError asxERROR_NO_ERROR asxError ASX_PAD_GetProgramTypeString hPAD asxTUNER RDS n szBuffer sizeof szBuffer printf PAD Program Type artist asxError ASX_PAD_GetArtist CheckError hMixer __LINE__ 0 if asxError asxERROR_NO_ERRO printf PAD Artist SS title asxError ASX_PAD_GetTitle h CheckError hMixer __LINE__ 0 RDS
278. ror string information ASX Error Clear Clears the last error 7 4 1 Detailed Description The error functions operate on all ASX objects to collect report and clear errors 7 4 3 Function Documentation 7 4 2 1 ASX32 ERROR ASX Error Clear ASX HANDLE hASXObject Clears the last error This function clears error information for the last error generated by hASXObject Parameters hASXObject The ASX object handle Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 4 Error functions 31 Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c and mixer main c 7 4 2 2 ASX32 ASX_ERROR ASX Error GetLast ASX HANDLE hASXObject ASX ERROR x pnAsxErrorCode int pnAsxSubSystemErrorCode Get the last error This function returns error information for the last error generated by hASXObject Parameters hASXObject The ASX object handle that generated the error This can be any ASX object pnAsxError The returned ASX error code If this parameter is set to 0 it will be ignored Code pnAsxSub The returned SubSystem error code This code will be an HPI error if the SystemEr HPI subsystem is being used or a MMSYSTEM error if MMSYSTEM is rorCode being use If this parameter is set to 0 it will be ignored Returns Returns 0 if there is no error otherwise one of asxERROR is returned
279. rwise one of asxERROR is returned 7 27 2 24 5 32 ASX_ERROR ASX_Cobranet_SetPersistence ASX_HANDLE hCobranet const unsigned int nSetting Sets a device s flash persistence state Writes setting to SNMP variable flashPersistEnable This should be set to maintain static IP assignments and Cobranet bundle and routing assignments through a power down Conversely clearing the persistence bit and then powering cycling the ASI2416 will set it back to factory defaults Parameters hCobranet A handle to an ASX cobranet control nSetting 0 indicates no persistence set Non zero indicates persistence enabled Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2 25 5 32 ERROR ASX Cobranet SetSerialConfig ASX HANDLE hCobranet const unsigned int nBaud const unsigned int nPPeriod const char pRxMAC 6 const int nAcceptUnicast const char pTxMAC 6 Configures a device s serial bridge Parameters hCobranet A handle to an ASX cobranet control nBaud The baud rate for the serial bridge nPPeriod Time in 256ths of a millisecond before a character received at the SCI port is placed in a packet and transmitted pRxMAC Sets the multicast MAC from which SCI data will be accepted nAcceptUni cast Set to accept properly unicast addressed data in addition to data addressed in accordance to 1 accept 0
280. s Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 34 ASX32 ERROR ASX Tuner SetMode ASX HANDLE hT uner const enum asxXTUNERMODE eMode const enum eSetting Sets the tuner mode Currently this can only be used for turning the RSS level reading on and off on an MT4039 tuner Parameters hTuner A handle to an ASX tuner control eMode The only valid parameter for this call is aaxXTUNERMODE RSS eSetting The mode setting Only current valid values are asxXTUNERMODE RSS ENABLE asXKTUNERMODE RSS DISABLE Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 35 5 32 ERROR ASX Tuner SetProgram ASX HANDLE const enum asx TUNERPROGRAM eProgram Set tuner program To The API only supports HDRadio in the USA Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 100 Module Documentation Parameters hTuner A handle to an ASX tuner control eProgram The program to set Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 17 PAD control functions These functions support Program Auxilary Data for HD Radio and RDS for FM analog Functions ASX PAD GetChannelName Get a Program Auxilary Data channel name ASX PAD GetArtist Get a Program Auxilary Data artist e ASX PAD GetTitle Get a Progr
281. s func tion has been superseded by ASX_Node_GetIndex Global ASX Mixer GetNodeType ASX HANDLE hNode enum asxNODE peType This function has been superseded by ASX Node GetType Global ASX SampleClock EnumerateSampleRate ASX HANDLE hSampleClock const int nIndex enum asxSAMI This function has been superseded by ASX SampleClock EnumerateLocalRate 12 Deprecated List Global ASX_SampleClock_SetSampleRate ASX_HANDLE hSampleClock const int nSampleRate This function has been superseded by ASX_SampleClock_SetLocalRate Global ASX Tuner GetHdRadioDspVersion ASX HANDLE hTuner char szSdk Version const int nStr This function has been superseded by ASX Tuner GetFirmwareVersion Global ASX Tuner GetHdRadioSdkVersion ASX HANDLE hTuner char szSdkVersion const int nStr This function has been superseded by ASX Tuner GetFirmwareVersion Global ASX Tuner GetHdRadioSignalQuality ASX HANDLE hTuner int pnSignalQuality This function has been superseded by ASX Tuner GetDigitalSignalQuality Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 4 Module Index 14 Module Index Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 5 Data Structure Index 5 1 Data Structures Here are the data structures with brief descriptions asxCobranetIpAutoassignParameters 161 asxParameterRangelnfo o lt ss ea o ee 161 asxParameterRangeInfo_NamedEnumerated
282. sion pExt strrchr argv 1 if stricmp pExt txt 0 OpenPlaylist hPlayer argv 1 else ASX_Player_Open hPlayer argv 1 CheckError hPlayer __LINE__ ASX_Player_RegisterCallback hPlayer PlayerCallback Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 9 playlist main c 253 asxPLAYER_FILE_COMPLETE asxPLAYER_FILELIST_COMPLETE asxPLAYER_FILE_START NULL if argc 2 printf Start at offset s milliseconds n argv 2 ASX Player PreLoad hPlayer asxTIMESCALE MILLISECONDS strtol argv 2 amp pDum my 10 start playing the file at offset 0 seconds ASX Player Start hPlayer CheckError hPlayer LINE ASX Player Format GetString hPlayer amp pszFormat printf Playing s Format 5 on Device s n argv 1 pszFormat pszName free pszName wait for playback completion printf Waiting for playback to complete n while list_done ShowStatus hPlayer ASX_Player_PlaylistWait hPlayer CheckError hPlayer __LINE__ printf Playback complete n close the file being played ASX Player Close hPlayer CheckError hPlayer LINE Not tested start position other than 0 ASX32 API ASX ERROR ASX Player Start ASX HANDLE hPlayer float fPosition ASX32 API ASX ERROR ASX Player Pause ASX HANDLE hPlayer ASX32 API ASX ERROR ASX Player Stop ASX HANDLE hPlayer ASX32 API ASX ERROR ASX Player GetPosition ASX HANDL
283. smitter s channel format ASX32 APIASX ERROR ASX CobranetTx GetUnicastMode ASX HANDLE hCobranetTx unsigned int pnUnicastMode unsigned int xpnMaxUnicast Gets a Cobranet transmitter s unicast information ASX32 APIASX ERROR ASX CobranetTx SetUnicastMode ASX HANDLE hCobranetTx const unsigned int nUnicastMode const unsigned int nMaxUni cast Sets a Cobranet transmitter s unicast information ASX32 APIASX ERROR ASX CobranetRx GetStatus ASX HANDLE hCo branetRx unsigned int pnStatus unsigned int pnDropouts unsigned int pnDelay unsigned int nFormat 8 Gets a Cobranet receiver s status ASX32 APIASX ERROR ASX CobranetRx GetBundle ASX HANDLE hCo branetRx unsigned int xpnBundle Gets a Cobranet receiver s bundle ASX32 APIASX ERROR ASX CobranetRx SetBundle 5 HANDLE hCo branetRx const unsigned int nBundle Sets a Cobranet receiver s bundle ASX32 APIASX ERROR ASX CobranetRx GetSourceMAC ASX HANDLE hCobranetRx unsigned int MSBs unsigned short LSBs Gets a Cobranet receiver s source MAC address for private bundles ASX32 APIASX ERROR ASX CobranetRx SetSourceMAC ASX HANDLE hCobranetRx const unsigned int dwMAC_MSBs const unsigned short MAC LSBs Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 197 Sets a Cobranet receiver s source MAC address for private bundles ASX32_API ASX_ERROR ASX_CobranetRx_GetChannelMap ASX_HANDL
284. sx h 203 asx h 202 asxXADPROPENUM MODE SETTINGS asx h 202 asxXADPROPENUM SSX2 OFF asxXAESEBU ERROR asx h 203 asxXAESEBU ERROR BIPHASE VIOLATION asx h 203 asxXAESEBU ERROR CHANNELSTATUS CRC asx h 203 asxXAESEBU ERROR NOT LOCKED asx h 203 asxXAESEBU ERROR PARITY ERROR asx h 203 asxXAESEBU ERROR POOR QUALITY asx h 203 asxXAESEBU ERROR VALIDITY asx h 203 asxAESEBU FORMAT AESEBU asx h 202 asxXAESEBU FORMAT SPDIF asx h 202 asxAESEBU FORMAT UNDEFINED asx h 203 asx AESEBU_FORMAT asx h 202 asx AESEBU_STATUS asx h 203 asx AUDIO_FORMAT_DOLBY_AC2 asx h 203 asxAUDIO FORMAT MPEG AACPLUS asx h 203 asxAUDIO FORMAT MPEG L2 asx h 203 asxAUDIO FORMAT MPEG L3 asx h 203 asxAUDIO FORMAT NONE asx h 203 asxAUDIO FORMAT 16 asx h 203 asxAUDIO FORMAT PCM20 asxAUDIO FORMAT 24 asx h 203 asxAUDIO FORMAT PCM32 asx h 203 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen INDEX 279 asxAUDIO_FORMAT_PCM32_ FLOAT INDEX NOISEGATE asx h 203 asx h 205 asxXAUDIO FORMAT 8 asxCOMPANDER INDEX asx h 203 asx h 205 asxXAUDIO FORMAT asxCONTROL asx h 203 asx h 205 ask CHANNELMODE asxCONTROL AES18 BLOCK GENERATOR asx h 203 asx h 205 asxXCHANNELMODE ILLEGAL asxCONTROL 518 RECEIVER asx h 204 asx h 205 asxCHANNELMODE LEFTTOSTEREO asxCONTROL 518 TRANSMITTER asx h 204 asx h 205 asxXCHANNELMODE NORMAL asxCONTROL AES
285. sxERROR is returned 7 31 27 2 ASX ERROR ASX SilenceDetector SetEnable ASX_HANDLE hSilenceDetector const unsigned int nEnable Turns the entire silence detector on and off Parameters hSilenceDe A handle to an ASX tone detector control tector nEnable A value of 1 enables the silence detector and a value of 0 disables it Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 32 Block functions 155 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 31 2 8 5 32 ASX_ERROR ASX SilenceDetector SetEventEnable ASX HANDLE hSilenceDetector const unsigned int nEnable Turns the event reporting function of the silence detector on and off Parameters hSilenceDe A handle to an ASX silence detector control tector nEnable A value of enables the silence detector event reporting and a value of 0 disables it Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 31 2 9 5 32 ERROR ASX SilenceDetector SetThreshold ASX HANDLE hSilenceDetector const float fThreshold Sets the silence detector threshold units of dB Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 32 Block functions These functions provide an abstract mechanism to manipulate a well defined set of property primitives that can be combined into a block Func
286. szString const int nStringLength Get a Program Auxilary Data PTY string This control will only ever exist on a tuner node Parameters hPAD A handle to an ASX PAD control eType The RDS RBDS type selection nPTY The program type code to translate pszString The string buffer of size nStringLength allocated by the caller nStringLengt The length of the pszComment buffer Should be ASX_LONGLONG_ STRING Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 17 PAD control functions 103 Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 7 17 2 6 5 32 ASX_ERROR ASX_PAD_GetRdsPI ASX HANDLE int uP Get a Program Identification number This control will only ever exist on a tuner node A valid PI will only be returned for a tuner set to analog FM Parameters A handle to an 5 PAD control uPI The returned program identification number Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 717 27 2 ERROR GetTitle ASX HANDLE hPAD char pszTitle const int nStringLength Get a Program Auxilary Data title This control will only ever exist on a tuner node Parameters hPAD A handle to an ASX PAD control pszTitle The string buff
287. t pfTimeScale Get the playback timescale ASX32 APIASX ERROR ASX Player GetFilename ASX HANDLE hPlayer char pszFilename const int nStringLength int pnRequiredLength Get the current filename if any ASX32 APIASX ERROR ASX Player SetLoopMode ASX HANDLE hPlayer const int nLooping Set the player to loop or single play mode ASX32 APIASX ERROR ASX Player GetLoopMode ASX HANDLE hPlayer int xpnLooping Get the current player loop mode ASX32 APIASX ERROR ASX_Player_OpenPlaylist ASX HANDLE hPlayer const char pszFileList const unsigned int nFiles Open a list of files for playback ASX32 APIASX ERROR ASX Player PlaylistStatus ASX HANDLE hPlayer unsigned int nTotalFileCount int nCurrentFile char szCurrentFilename unsigned int nTotalTime ms unsigned int nCurrentTime ms Returns playlist status ASX32 APIASX ERROR ASX Player RegisterCallback ASX HANDLE hPlayer ASX PLAYER CALLBACK pCallback const enum asxPLAYER FLAGS flags void pUserl Register a callback function that should be called when playback has completed ASX32 APIASX ERROR ASX Player PlaylistWait ASX HANDLE hPlayer Wait for the playlist to finish ASX32 APIASX ERROR ASX Recorder Open ASX HANDLE hRecorder const char pszFile const enum asxFILE FORMAT nFileType const enum asxFILE MODE nFileMode const int nChannels const enum asxAUDIO FORMAT nFormat const long lSampleRate const long Bitrate const enum asxRECORD
288. t contains the node ASX_Node_GetSubSystem Returns the sub system handle of the given node ASX Node GetName Get the name of the node ASX Mixer GetNodeType ASX Mixer GetNodelIndex 77 1 Detailed Description The node functions are used to access nodes objects The node objects as they are implemented in ASX are really just placeholders These functions allow an application to query node information including the node type index and name Often these functions will be called after after the source and or destination nodes of a particular control have been obtained 7 7 2 Function Documentation 7 7 2 1 ASX32 ERROR ASX Mixer GetNodelndex ASX HANDLE hNode int pnindex Deprecated This function has been superseded by 5 Node GetIndex Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 7 Node functions 51 7 7 2 2 ASX32 ASX_ERROR ASX_Mixer_GetNodeType Deprecated ASX HANDLE hNode enum asxNODE peType This function has been superseded by ASX Node GetType 7 7 2 3 ASX32 ERROR ASX Node ASX HANDLE hNode int pnindex Returns the index of the given node Parameters hNode handle to an ASX node object pnindex The returned ASX node index For example if hNode object repre sented the second line out pnIndex would return 1 Index 0 would be the first line out so index 1 is the second line out Also returns
289. t the adapter name ASX Adapter GetName hAdapter szName sizeof szName amp nLength CheckError hAdapter __LINE__ printf Adapter d is 55 Mn nAdapterToUse szName get the mixer handle ASX_Adapter_GetMixer hAdapter amp hMixer CheckError hAdapter __LINE__ get a volume object ASX Mixer GetControlByNodeTypeAndIndex hMixer asxNODE_PLAYER 0 play object index 0 asxNODE_LINE_OUT 0 line out object index 0 asxCONTROL_VOLUME amp hVolume CheckError hMixer __LINE__ print out control name PrintControlName hVolume ASX_Volume_GetRange hVolume amp fMin amp fMax amp fStep CheckError hVolume __LINE__ printf Volume max f min f step f n fMax fMin fStep printf Enter a volume to apply 0 is fullscale 100 is off n gt scanf d amp nVol printf Volume set n fGain 0 float nVol index 0 is the left channel fGain 1 float nVol index 1 is the right channel ASX Volume GetChannels hVolume amp nChannels CheckError hVolume LINE ASX Volume SetGain hVolume fGain nChannels CheckError hVolume LINE printf Press ENTER to exit n Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 264 Example Documentation getchar ASX System Delete hSystem return 0 void PrintControlName ASX HANDLE hControl char xpszName int nLen enum asxCONTROL eControl ASX Control GetType hCo
290. t the mixer handle ASX Adapter GetMixer hAdapter amp hMixer CheckError hAdapter LINE get a recorder object asxError ASX Mixer GetControlByNodeTypeAndIndex hMixer asxNODE NONE 0 asxNODE RECORDER 0 asxCONTROL RECORDER amp hRecorder CheckError hMixer LINE open the player and pass in the file to be played ASX Recorder Open hRecorder argv argc 1 asxFILE FORMAT WAV file format asxFILE FORMAT WAV MP3 RAW eFileMode file mode asxFILE MODE CREATE or APPEND 25 channels 1 or 2 at present asxAUDIO FORMAT 16 audio format asxAUDIO FORMAT PCM8 PCM16 PCM24 _PCM32 PCM32 FLOAT MPEG L2 MPEG L3 DOLBY AC2 MPEG AACPLUS 44100 sample rate 8 to 192000 Hz 0 bitrate 8000 to 384000 bps MPEG only asxRECORD MODE STEREO asxRECORD MODE STEREO JOINT STEREO DUAL MO NO CheckError hRecorder __LINE__ start playing the file at offset 0 seconds ASX Recorder Start hRecorder CheckError hRecorder LINE wait for record completion while nKeepGoing Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 256 Example Documentation int if nPaused printf Press Vr to resume or VxV else printf Press p to pause or VxV c getchar get the rest of the line while getchar n switch case p if nPaused printf Invalid else ASX Rec
291. tMode ASX HANDLE nhAdapter enum asxXADAPTERMODE peMode Get the current adapter mode Parameters hAdapter handle to an ASX adapter object peMode The returned adapter mode See asxADAPTERMODE for different mode options Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 5 212 ASX32 5 ERROR ASX Adapter GetName ASX HANDLE nhAdapter char pszName const int nStringLength int RequiredLength Gets the name of the adapter This function returns the name of the audio adapter referenced by hAdapter An exam ple return string would be ASI6114 for and AudioScience ASI6114 adapter Note that some adapters have plug in modules and will return addition module code characters following the adapter name For example a ASI8920 with two modules would return ASI8920 1100 indicating that module positions and 2 are populated with modules of type 1 The device datasheet in this case the ASI8900 should be consulted to translate the module code to a module type an example of the compact calling method would be char szName ASX SHORT STRING ASX Adapter GetName hAdapter szName ASX SHORT STRING NULL Parameters hAdapter handle to an ASX adapter object pszName The string to use to copy the returned adapter name to The length of szString in bytes nStringLengtl The minimum required length of szString in bytes
292. tT ompander 126 139 ASX Compander SetMakeupGain ASX CobranetTx GetChannelMap Compander 126 COBRANET TRANSMITTER CobraAd amp iKx Compander SetRatio 140 Compander 126 ASX CobranetTx GetFormat ASX Compander SetThreshold COBRANET TRANSMITTER CobranetTX ompander 127 140 5 Control GetDestinationNode ASX CobranetTx GetStatus CONTROL ControlBase 53 COBRANET TRANSMITTER CobraA amp Xx Control GetHpiControl 141 CONTROL ControlBase 54 ASX GetUnicastMode ASX Control GetSourceNode COBRANET TRANSMITTER CobranetT CONTROL ControlBase 54 141 ASX Control GetSubSystem ASX CobranetTx SetBundle CONTROL ControlBase 54 COBRANET TRANSMITTER Control GetType 141 CONTROL ControlBase 55 ASX CobranetTx SetChannelCount ASX EQ GetBand COBRANET TRANSMITTER CobranetlLDPARAMETRIC ParametricEQ 119 142 ASX EQ GetInfo ASX CobranetTx SetChannelMap PARAMETRIC EQ ParametricEQ 119 COBRANET TRANSMITTER SetBand 142 PARAMETRIC EQ ParametricEQ 120 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 274 INDEX ASX EQ SetState PARAMETRIC EQ ParametricEQ 120 ASX ERROR asx h 200 ASX ERROR CALLBACK asx h 200 5 Error Clear ERROR Base 30 5 Error ERROR Base 31 ASX Error GetLastString ERROR Base 31 5 GetGenericControlName GENERIC GenericControl 117 ASX GPIO GetProperties Gpio 113 ASX GPIO InputGet Gpio 114 ASX GPIO OutputGet
293. tate of the GPIO opto inputs e ASX GPIO OutputSet Write to the GPIO relay outputs e ASX GPIO OutputGet Read the current GPIO relay output settings 7 21 1 Detailed Description These functions implement GPIO operations By GPIO we here mean the control of relays and the reading of optos 7 21 2 Function Documentation 7 21 21 5 32 ERROR 5 GPIO GetProperties HANDLE nGPIO int pnNumberOfinputBits int pnNumberOfOutputBits Get the properties of the GPIO control GPIO controls have a number of input and output bits and this function tells the appli cation how many there are of each Parameters Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 114 Module Documentation hGPIO A handle to an ASX GPIO control object pnNum berOfInput Bits The number of input bits pnNum berOfOut putBits The number of output bits Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 21 22 ASX32 ASX_ERROR ASX GPIO InputGet ASX HANDLE hGPIO int pninputBits const int nNumberOfBits Read the state of the GPIO opto inputs This functions reads all the GPIO inputs and returns the current readings in an array of bits Parameters hGPIO A handle to an ASX GPIO control object pninputBits An array of dimension nNumberOfBits items elements returns the bit read ings pnBits 0 is the reading
294. ters hTuner A handle to an ASX tuner control pfTunerGain The returned gain in dB Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 94 Module Documentation 7 16 2 18 5 32 ASX_ERROR ASX_Tuner_GetGainRange ASX HANDLE hTuner float fMin float fMax float fStep Get the tuner gain range in dB Some tuners controls support a gain adjustment and this control will retunn the range of gain settings supported Parameters hTuner A handle to an ASX tuner control fMin The returned minimum gain in dB Max The returned maximum gain in dB fStep The returned gain step in dB Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples tuner main c 7 16 2 19 5 32 ASX_ERROR ASX Tuner GetHdBlend ASX HANDLE hTuner enum asxTUNERHDBLEND x pnMode Get a HD Radio tuner analog or digital blend Parameters hTuner A handle to an ASX tuner control pnMode 0 is automatic switch to digital 1 is analog only Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 16 2 20 ASX32 ERROR ASX Tuner GetHdRadioDspVersion ASX HANDLE char szSdkVersion const int nStringLength Deprecated This function has be
295. the filelist so there in no need for the calling application to keep the list of strings in the calling context nFiles The number of files in the playlist Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 9 Player control functions 63 Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples playlist main c 7 9 2 11 ASX32 ERROR ASX Player Pause ASX HANDLE hPlayer Pause playback of the currently playing file Use ASX Player Start to continue playing To end a paused recording call ASX Player Stop Parameters hPlayer A handle to an ASX player control object Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 9 2 12 ASX32 ASX ERROR ASX Player PlaylistStatus ASX HANDLE hPlayer unsigned int nTotalFileCount int nCurrentFile char szCurrentFilename unsigned int nTotalTime ms unsigned int nCurrentTime ms Returns playlist status Use this function to monitor playlist progress Parameters hPlayer A handle to an ASX player control object nTotalFile Count Returns the total number of files remaining in the current playlist This will equal the parameter nFiles used the call to ASX Player OpenPlaylist nCurrent File Returns the index of the currently playing file A value of 1 indicates that the first file has not
296. the host PC network adapter ASX System SetHostNetworkInterface 192 168 1 106 create the system ASX System CreateSubSystem ASX SYSTEM TYPE HPIUDP amp hSystem CheckError hSystem LINE add SNMP so that we can control CobraNet devices Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 226 Example Documentation ASX System CreateSubSystem ASX SYSTEM TYPE SNMP amp hSystem CheckError hSystem LINE wait 4 seconds for CobraNet device discovery to complete printf Waiting 2 seconds for device discovery to complete n Sleep 2000 list all the adapters ASX System GetAdapterCount hSystem amp nAdapters CheckError hSystem LINE printf Found d adapters Mn nAdapters dump adapter information for i 0 i lt nAdapters i char szIP ASX_SHORT_STRING char szInfo ASX_LONG_STRING int nIndex 0 get the adapter asxError ASX System GetAdapter hSystem i amp hAdapter CheckError hSystem __LINE__ ASX Adapter GetName hAdapter 0 0 amp nLen CheckError hAdapter __LINE__ pszName char 11 ASX Adapter GetName hAdapter pszName nLen amp nLen CheckError hAdapter __LINE__ printf Adapter d is s n i pszName he adapter index is never the same the loop index etwork adapters have a fixed unique index that is independent of there P address or order of discovery SX Adapter GetIndex hAdapter amp nI
297. the network asxSAMPLE CLOCK SOURCE AESEBUAUTO Sample clock source is de rived from the first AESEBU input with valid input asxSAMPLE CLOCK SOURCE AESEBUINPUTI Sample clock source is de rived from AESEBU input 1 asxSAMPLE CLOCK SOURCE AESEBUINPUT2 Sample clock source is de rived from AESEBU input 2 asxSAMPLE CLOCK SOURCE AESEBUINPUTS3 Sample clock source is de rived from AESEBU input 3 asxSAMPLE CLOCK SOURCE AESEBUINPUTA Sample clock source is de rived from AESEBU input 4 asxSAMPLE CLOCK SOURCE AESEBUINPUTS Sample clock source is de rived from AESEBU input 5 asxSAMPLE CLOCK SOURCE AESEBUINPUTS6 Sample clock source is de rived from AESEBU input 6 asxSAMPLE CLOCK SOURCE AESEBUINPUT 7 Sample clock source is de rived from AESEBU input 7 asxSAMPLE CLOCK SOURCE AESEBUINPUTS Sample clock source is de rived from AESEBU input 8 asxSAMPLE CLOCK SOURCE AESEBUINPUT 9 Sample clock source is de rived from AESEBU input 9 asxSAMPLE CLOCK SOURCE AESEBUINPUTIO Sample clock source is derived from AESEBU input 10 asxSAMPLE CLOCK SOURCE AESEBUINPUTII Sample clock source is derived from AESEBU input 11 asxSAMPLE CLOCK SOURCE AESEBUINPUTI2 Sample clock source is derived from AESEBU input 12 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 215 asxSAMPLE CLOCK SOURCE AESEBUINPUTI3 derived from AESEBU input 13 asxSAMPLE CLOCK SOURCE AESEBUINPUTI4 derived from AESEBU input 14 asxS
298. the playback timescale ASX_Player_GetFilename Get the current filename if any ASX_Player_SetLoopMode Set the player to loop or single play mode ASX_Player_GetLoopMode Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 9 Player control functions 57 Get the current player loop mode e ASX Player OpenPlaylist Open a list of files for playback ASX Player PlaylistStatus Returns playlist status ASX Player RegisterCallback Register a callback function that should be called when playback has completed ASX Player PlaylistWait Wait for the playlist to finish 7 9 1 Detailed Description These functions support file playback The player control transparently supports the playback of several different file formats and compression formats Formats supported for playback in this version asxFILE FORMAT WAV _RAW Filename Extension _ 8 or 16 supported write only _PCM24 or PCM32 supported write only PCM32 FLOAT supported write only MPEG L2 supported supported MPEG L3 supported supported MPEG AACPLUS not supported yet not supported yet _DOLBY_AC2 not supported yet not supported yet Note RAW format playback currently cannot support PCM data formats due to the lack format information in the file A future version of ASX will include a new play back function to play raw PCM files Player State Diagram Generated on Thu D
299. there is no error otherwise one of asxERROR is returned Examples cobranet main c dual mono play main c dual mono record main c mixer main c mux main c play main c playlist main c tuner main c and volume main c 7 9 Player control functions These functions support file playback Functions ASX Player Open Open a file for playback e ASX Player Format GetString Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 56 Module Documentation Get the format of the currently opened file as a string ASX_Player_Format_GetDetails Get the format of the currently opened file as individual variables ASX_Player_PreLoad Preloads playback buffers from the given position ready for playback ASX_Player_Start Start playback of a previously opened and optionally pre loaded file ASX_Player_Pause Pause playback of the currently playing file ASX_Player_Stop Stops playback of the currently playing file ASX_Player_Wait Wait for the current file to finish ASX_Player_Close Close the current playback file ASX_Player_GetPosition Get the current playback position as the offset in bytes samples or milliseconds from the beginning or end of the file depending on the timescale code used ASX_Player_SetPosition Sets the playback to the given position ASX_Player_GetState Get the current playback state ASX_Player_SetTimeScale Set the playback timescale ASX_Player_GetTimeScale Get
300. there is no error otherwise one of asxERROR is returned Examples mixer main c 7 6 2 9 5 32 ASX_ERROR ASX_Mixer_GetNodeTypeCount ASX HANDLE hMixer const enum asxNODE eType int pnCount Get the number of nodes of the specified type This function returns the number of nodes of the specified type in the mixer For example an adapter with 4 line outs would return 4 when nType is set to asxNODE LINE OUT Parameters hMixer A handle to an ASX mixer object eType The node type to get This should be set to one of asxNODE pnCount The retunred number of nodes of type nType Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples mixer main c 7 6 2 10 5 32 ERROR ASX Mixer GetSourceNode ASX HANDLE nhMixer const int nSourceNode ASX HANDLE p hNode This function gets the handle of a particular source node Parameters hMixer A handle to an ASX mixer object The index of the source node to get This should be a number in the range nSourceNode of to the total count returned by ASX Mixer GetSourceNodeCount p_hNode The returned source node handle Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 6 Mixer functions 49 Examples cobranet main c and mixer main c 7 6 2 11 5 32
301. therwise one of asxERROR is returned 7 7 2 6 ASX32 ERROR ASX Node GetSubSystem ASX HANDLE hNode int p nSubSystem Returns the sub system handle of the given node Parameters hNode handle to an ASX node object _ The returned ASX sub system type nSubSystem Returns Returns 0 if there is no error otherwise one of asxERROR is returned 77 27 ASX32 ERROR ASX Node GetType ASX HANDLE hNode enum asxNODE peType Returns the node type of the given node Parameters hNode handle to an ASX node object The returned ASX node type This will below to one of asxNODE If hNode is null peNodezasxNODE this is not an error Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 8 Control generic functions 53 Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c and mixer main c 7 8 Control generic functions These generic control functions operate on all control objects Functions ASX Control GetType Generic control function to get the type of a control ASX Control GetSourceNode Generic control function to get the source node of a control ASX Control GetDestinationNode Generic control function to get the destination node of a control ASX Control GetHpiControl Tunnel through ASX to get HPI control parameters NOT IMPLEMENTE
302. tion ASX32 DLL ASXLINUX LIB AudioScience AudioScience Sound Cards Sound Cards Figure 1 1 ASX interface under Windows and Linux 1 3 Installation and Usage 1 3 1 Windows XP and Windows 7 1 Make sure you have an AudioScience WAVE WDM or Combo driver installed and working with at least one audio adapter The driver install will install both ASX32 DLL which implements the ASX interface documented here and ASIC TRL EXE which is a Win32 application that uses the ASX interface to control ASI adapters 2 Obtain the ASX SDK executable file from the applications section of the Au dioScience web site lt http www audioscience com gt The file is named ASX SDK WIN XXXXX EXE where XXXXX is the version number 3 Run the ASX SDK WIN XXXXX EXE application to install asx h code ex amples and asx32 lib 1 3 2 Linux ToDo Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 1 4 Compiling applications that use the ASX interface 3 14 Compiling applications that use the ASX interface The various interface files required to interface with asx32 dll are typically installed in c Program Files V AudioScience ASX ib directory Applications can make use of asx h and asxstring h header files and should link against asx 32lib 1 5 Debugging ASX calls under Windows ASX ships with the capability of outputting debug information to a Third Party debug viewer Dbg View should be used to display the debug messag
303. tions e ASX Block GetInfo Gets the name of the block and the number of parameters it has ASX Block Parameter GetName Gets the name of parameter number uParameterIndex ASX Block Parameter GetUnits Gets the units of parameter number uParameterIndex ASX Block Parameter GetType Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 156 Module Documentation Gets the type of parameter number uParameterIndex ASX_Block_Parameter_GetFlags Gets the flags for parameter number uParameterIndex ASX_Block_Parameter_GetElementCount Gets the number of elements ASX_Block_Parameter_GetRange Gets the parameter range ASX_Block_Parameter_GetEnumName Gets the enumerated names for a parameter ASX_Block_Parameter_Set Sets a parameter s value field ASX_Block_Parameter_Get Gets a parameter s value field 7 32 1 Detailed Description These functions provide an abstract mechanism to manipulate a well defined set of property primitives that can be combined into a block 7 32 2 Function Documentation 7 32 21 ASX32 ASX_ERROR ASX Block ASX HANDLE hBlock char szBlockName const unsigned int uStringLength unsigned int uParameterCount Gets the name of the block and the number of parameters it has Parameters hBlock A handle to an ASX block szBlock String used to return the name of the block It should be of length ASX Name SHORT STRING uS
304. to non volatile memory network devices Indexes in the range of 1 99 are used for sound cards or other bus based devices Indexes in the range of 100 9999 are used for network devices Indexes of 10000 and higher are used to auto assign indexes to network devices that don t have an index programmed yet Note that the hardware index is not the same as the ASX adapter index passed to ASX System GetAdapter Parameters hAdapter A handle to an ASX adapter object pnindex The returned index Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples adapter main c and cobranet main c 7 5 2 8 ASX32 ERROR ASX Adapter GetlpAddress ASX HANDLE nhAdapter char pszlP Gets an adapter s network IP address For network devices this function returns the IP address of the Adapter The IP address is returned as a string with the format XXX XXX XXX XXX If the adapter does not have an IP address i e if it was a sound card then an error is returned Parameters hAdapter A handle to an ASX adapter object pszIP A pointer to a char array of length ASX SHORT STRING to return the MAC address string Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 38 Module Documentation Examples cobranet main c 7 5 2 9 5 32 ASX_ERROR ASX Adapter G
305. tring char x malloc 1 pszAsxSubSystemErrorString char malloc nLen2 ASX Error GetLastString hObj pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf WARNING d s Skipping n n asxError pszAsxErrorString ASX Error Clear hObj return 1 10 3 csharp asx player Form1 cs This is an example of how to use the ASX Player control from cff Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 232 Example Documentation 10 4 dual_mono_play main c This is an example of how to set up channel mode controls for dual mono playback All play streams on AudioScience audio adapters play at a minimum either mono or stereo files on the same device Mono playback always converts mono or stereo to a stereo stream of audio So to play to the right channel for example the stereo stream should be converted to have only right channel audio output Configuration Steps The following steps should be performed to set up playback of 4 independent mono streams We are going to play in the following configuration Play 1 Line Out 1 Left Play 2 Line Out 1 Right Play 3 gt Line Out 2 Left Play 4 Line Out 2 Right Find and set the channel mode controls on Play nodes as follows Play 1 Channel Mode stereo to left gt Line Out 1 Left Play 2 Channel Mode stereo to right gt Line Out 1 Right Play 3 Channel Mode stereo to left gt Line Out
306. tringLength int x pnRequiredLength Get the current filename if any Parameters hRecorder handle to an ASX recorder object pszFilename The returned pointer to the filename The length in bytes of pszFilename nStringLengt The required length in bytes of pszRevision quiredLength Returns Returns 0 if there is no error otherwise one of asxERROR is returned Returns asxERROR INDEX OUT OF RANGE if the buffer is too small 7 10 24 5 32 ERROR ASX Recorder GetPosition ASX HANDLE hhecorder const enum asx TIMESCALE nType unsigned long plPosition Gets the current record position Parameters hRecorder handle to an ASX recorder object units to return the position in see asx TIMESCALE plPosition The current record position Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 10 Recorder control functions 71 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 10 2 5 5 32 ASX ERROR ASX_Recorder_GetState ASX HANDLE hRecorder enum asxRECORDER STATE peState Get the current record state Parameters hRecorder A handle to an ASX recorder object peState The current recorder state See asxRECORDER STATE Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 10 2 6 5 32
307. trol ASXSTRING EnumToString eControl 0 0 amp nLen pszName char malloc nLen ASXSTRING_EnumToString eControl pszName nLen amp nLen printf Control s n pszName free pszName void PrintNodeName ASX_HANDLE hNode char xpszName int nLen nIndex Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 10 6 mixer main c 243 int int enum asxNODE eNode ASX Node GetType hNode amp eNode ASX Node GetIndex hNode amp nIndex ASXSTRING EnumToString eNode 0 0 amp nLen pszName char malloc nLen ASXSTRING_EnumToString eNode pszName nLen printf Node s_ d n pszName nIndex free pszName CheckError ASX HANDLE hObj int nLine ASX ERROR nError int asxSubSystemErrorCode 0 char xpszAsxErrorString char pszAsxSubSystemErrorString int nLenl nLen2 ASX Error GetLast hObj amp nError amp asxSubSystemErrorCode f nError return 0 ASX Error GetLastString hObj 0 0 amp nLen1 0 0 amp nLen2 pszAsxErrorString char malloc nLenl pszAsxSubSystemErrorString char malloc nLen2 ASX Error GetLastString hObj pszAsxErrorString nLenl amp nLenl pszAsxSubSystem ErrorString nLen2 amp nLen2 printf Error d s Subsystem Error ld s Wn nError pszAsxErrorString asxSubSystemErrorCode pszAsxSubSystemErrorString printf When called from source s line dWMn FILE nLine H printf Press ENTER to exit n getchar
308. turns 0 if there is no error otherwise one of asxERROR is returned Examples adapter main c 7 5 2 15 ASX32 ASX_ERROR ASX_Adapter_ReadNvMem ASX HANDLE hAdapter const int nAddress unsigned char pcValue Read a byte from the non volatile memory Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 5 Adapter functions 41 Parameters hAdapter A handle to an ASX adapter object nAddress The address to read the byte from pcValue A pointer to the returned byte Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 5 216 5 32 5 ERROR ASX Adapter ReadProperty HANDLE nhAdapter const int nindex unsigned short pwParm1 unsigned short pwParm2 Read an adapter s property value Current support property indexes are e ERRATA 1 returns whether errata 1 workaround for 6100 cards is turned on e 2 SSX2 SETTING returns whether SSX2 is on or off e 3 SYNC HEADER CONNECTIONS read only returns the number of head ers connected e 4 SUPPORT SSX2 read only returns true or false 5 SUPPORTS FW UPDATE read only device supports firmware updating e 6 FIRMWARE ID read only firmware ID Parameters hAdapter handle to an ASX adapter object nIndex The index of the property to read pwParml Receives property specific value 2 Receives property spec
309. uct asxParameterRangelnfo integer int asxParameterRangeInfo max unsigned int asxParameterRangeInfo max len int asxParameterRangelInfo min int asxParameterRangelInfo step struct asxParameterRangelInfo string enum asxxUCONTROL_RTYPE asxParameterRangelnfo type union asxParameterRangeInfo u floats asxParameterRangelInfo value asxParameter RangeInfo value The documentation for this struct was generated from the following file asx h Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 164 Data Structure Documentation 8 3 asxParameterRangelnfo NamedEnumerated Struct Reference include lt asx h gt Data Fields int value e char name ASX SHORT STRING 8 3 1 Field Documentation 8 3 1 1 char asxParameterRangeInfo NamedEnumerated name ASX SHORT STRING 8 3 1 2 int asxParameterRangeInfo_NamedEnumerated value The documentation for this struct was generated from the following file asx h 8 44 asxParameterValue Struct Reference include lt asx h gt Data Fields e enum asxUCONTROL PTYPE eType unsigned int ultems size tsize void value 8 4 1 Field Documentation 8 4 1 1 enum asxUCONTROL asxParameterValue eType 8 4 1 2 size t asxParameterValue size 8 4 1 3 unsigned int asxParameter Value ultems 8 4 1 4 void asxParameterValue value The documentation for this struct was generated from the following file asx h Generated
310. um asx COMPANDER_INDEX index float fRatio Get the compander ratio slope Parameters hCompan A handle to an ASX Compander control object der index Index of rtio to get fRatio Returned ratio 1 0 is 1 1 Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 26 07 5 32 ERROR ASX Compander GetThreshold ASX HANDLE hCompander enum asxCOMPANDER INDEX index float pnThreshold Get the compander threshold in dbFS Parameters hCompan A handle to an ASX Compander control object der index Index of threshold to get pnThreshold Returned threshold in dbFS Returns Returns O if there is no error otherwise one of asxERROR is returned 7 26 2 8 ASX32 ERROR ASX Compander Set ASX HANDLE hCompander const unsigned short wAttack const unsigned short wDecay const short wRatio100 const short nThreshold0 01dB const short nMakeupGain0 01dB Deprecated This function has been broekn up in to individual Set functions Sets the param eters for the compander Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 26 Compander control functions 125 Parameters hCompan der A handle to an ASX Compander control object wAttack Sets compander attack time in milliseconds wDecay Sets compander decay time in milliseconds wRatio100 Sets the input to output
311. urce is Sample clock source is Sample clock source is Sample clock source is Sample clock source is Sample clock source is Sample clock source is Sample clock source is Sample clock source is Sample clock source is Sample clock source is Sample clock source is asxSAMPLE CLOCK SOURCE LOCAL Sample clock source is local PLL asxSAMPLE CLOCK SOURCE PREV MODULE Sample clock source is pre vious module daisy chain Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 216 File Documentation asxSAMPLE_CLOCK_SOURCE_UNDEFINED Sample clock source is unde fined asxSAMPLE CLOCK SOURCE LIVEWIRE deprecated Use asxXSAMPLE CLOCK SOURCE NETWORK asxSAMPLE CLOCK SOURCE BLULINK Sample clock source is generated by blu link 9 1 3 27 enum asxSAMPLE RATE Sample rate options Enumerator asxSAMPLE RATE 8000 asxSAMPLE RATE 11025 asxSAMPLE RATE 16000 asxSAMPLE RATE 22050 asxSAMPLE RATE 24000 asxSAMPLE RATE 32000 asxSAMPLE RATE 44100 asxSAMPLE RATE 48000 asxSAMPLE RATE 64000 asxSAMPLE RATE 88200 asxSAMPLE RATE 96000 asxSAMPLE RATE 192000 asxSAMPLE RATE 12000 asxSAMPLE RATE 176400 asxSAMPLE RATE UNDEFINED 9 1 3 28 enum asx TIMESCALE TimeScale type identifiers Enumerator asxTIMESCALE INVALID Placeholder that indicates an error asxTIMESCALE BYTES Time scale is represented in bytes asxTIMESCALE MILLISECONDS Time scale is represented in milli seconds asxTIMESCALE SAMPLES Time scale is represe
312. ut 7 27 2 13 ASX32 ERROR ASX Cobranet GetName ASX HANDLE hCobranet char szString const int nLength Get the device s name from the sysName SNMP field Parameters hCobranet A handle to an ASX cobranet control szString Pointer to a string of length ASX LONG STRING nLength Name string length Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 7 27 2 14 ASX32 ERROR ASX Cobranet GetPersistence HANDLE hCobranet unsigned int pnSetting Gets a device s flash persistence setting Returns information from SNMP variable flashPersistEnable This should be set to maintain static IP assignments and Cobranet bundle and routing assignments through a powerdown Conversely clearing the persistence bit and then powering cycling the ASI2416 will set it back to factory defaults Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 134 Module Documentation Parameters hCobranet A handle to an ASX cobranet control pnSetting 0 indicates no persistence set Non zero indicates persistence enabled Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 27 2 15 ASX32 ASX_ERROR ASX Cobranet GetSerialConfig HANDLE hCobranet unsigned int pnBaud unsigned int pnPPeriod char pRxMAC 6 int x pnAcceptUnicast char pTxMAC 6 Gets a
313. wFrequencyHz const short nQ100 const short nGainO_01dB Sets the parameters for an equalizer band ASX32 APIASX ERROR ASX EQ GetBand ASX HANDLE hParmEq const unsigned short wIndex enum asxEQBANDTYPE unsigned long pdwFrequencyHz short pnQ100 short pnGainO 014 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 192 File Documentation Gets the parameters for an equalizer band ASX32_API ASX_ERROR ASX Compander Set ASX HANDLE hCompan der const unsigned short wAttack const unsigned short wDecay const short wRatio100 const short nThreshold0_01dB const short nMakeupGainO O1dB ASX32 APIASX ERROR ASX Compander Get ASX HANDLE hCompan der unsigned short pwAttack unsigned short pwDecay short pwRatiol00 short pnThresholdO 01dB short xpnMakeupGainO O1dB ASX32 APIASX ERROR ASX Compander SetEnable ASX HANDLE hCom pander const unsigned int nOn Sets the on off parameter for the compander ASX32 APIASX ERROR ASX Compander GetEnable ASX HANDLE hCom pander unsigned int nOn Gets the on off parameter for the compander ASX32 APIASX ERROR ASX Compander SetMakeupGain ASX HANDLE hCompander const float fMakeupGain Set the compander makeup gain ASX32 APIASX ERROR ASX Compander GetMakeupGain ASX HANDLE hCompander float fMakeupGain Get the compander makeup gain ASX32 API ASX ERROR ASX Compander SetAttackTimeConstant ASX HANDLE hCompander enum asxCOMPANDER INDE
314. ws to log messages enum asxPLAYER FLAGS asxPLAYER FILE COMPLETE 1 asxPLAYER_ FILELIST COMPLETE 2 asx amp PLAYER FILE START 4 Player callback flags that form a bitmask ie they are numbered 1 2 4 8 etc enum asxXTUNER STATUS asxXTUNER STATUS VIDEO VALID 1 asxXTUNER STATUS VIDEO COLOR PRESENT 2 asXTUNER STATUS VIDEO IS 60 7 4 STATUS VIDEO HORZ SYNC MISSING 8 asxXTUNER STATUS LOCKED 16 asxTUNER STATUS STEREO 32 asXTUNER STATUS DIGITAL 64 STATUS MULTIPROGRAM 128 asxXTUNER STATUS FIRMWARE LOADING 256 Tuner status bitfields Not translatable to strings Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 174 File Documentation enum asx TUNER_RDS_TYPE asx TUNER_RDS_TYPE_RDS 0 asx TUNER_ RDS_TYPE_RBDS 1 Tuner PSD PAD RDS RBDS type Not translatable to strings enum asxAESEBU STATUS asx AESEBU_ERROR 0x01 asxAESEBU_ERROR_NOT_LOCKED 0x02 asxAESEBU_ERROR_POOR_QUALITY 0x04 asxAESEBU_ERROR_PARITY_ ERROR 0x08 asxAESEBU_ERROR_BIPHASE_VIOLATION 0x10 asxAESEBU_ERROR_ VALIDITY 0x20 asxxAESEBU_ERROR_CHANNELSTATUS_CRC 0x40 AESEBU status bitfields Not translatable to strings enum asxCOMPANDER_INDEX asxCOMPANDER_INDEX_NOISEGATE 0 asxXCOMPANDER INDEX COMPANDER 1 Compander control indicies enum asxHANDLE asxXHANDLE INVALID asxXHANDLE SYSTEM asxHANDLE ADAPTER
315. y not supported by the con trol will not cause a callback to pCallback routine 7 2 1 11 5 32 ASX ERROR ASX_System_SetCobranetAutoassignParms const struct asxCobranetIpAutoassignParameters pCAP Set the IP address range that will be used for assigning IP addresses to cobranet devices This function should be called before the ASX_SYSTEM_TYPE_SNMP is create with ASX_System_Create or ASX System CreateSubSystem Parameters pCAP Pointer to the asxCobranetIpAutoassignParameters structure that contains the IP autoassign parameters Returns Returns 0 if there is no error otherwise one of asxERROR is returned 7 2 1 12 ASX32 ERROR ASX System SetHostNetworkinterface const char szinterface Set the interface ASX should use when communicating with network devices This function should be called before 5 System Create Parameters szInterface The network interface to use For Windows this is the IP address of the form 192 168 1 13 Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples cobranet main c 7 2 1 13 ASX32 ASX_ERROR System SetMessageLogging eLog ASX HANDLE hSystem const enum asxMSG LOGGING Set the message logging level for ASX Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 3 Handle functions 29 Parameters hSystem A handle to an ASX system object
316. yer States enum asxRECORDER STATE asxRECORDER INIT 10500 asxRECORDER 10501 asxRECORDER RUNNING 10502 asxRECORDER PAUSED 10503 Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 9 1 asx h File Reference 173 asxRECORDER DONE 10504 asxRECORDER DESTROY 10505 Recorder States e enum asxTIMESCALE asx TIMESCALE_INVALID 10600 asx TIMESCALE_BYTES 10601 asx TIMESCALE_ MILLISECONDS 10602 asxXTIMESCALE SAMPLES 10603 asxXTIMESCALE BYTES REMAINING 10604 asx TIMESCALE MILLISECONDS REMAINING 10605 asXTIMESCALE SAMPLES REMAINING 10606 TimeScale type identifiers enum asxSAMPLE_RATE asxSAMPLE_RATE_8000 10700 asxXSAMPLE RATE 11025 10701 asxSAMPLE_ RATE 16000 10702 asxxSAMPLE_RATE_22050 10703 asxSAMPLE RATE 24000 10704 asXSAMPLE RATE 32000 10705 asxXSAMPLE RATE 44100 10706 asxXSAMPLE RATE 48000 10707 asxSAMPLE RATE 64000 210708 asxXSAMPLE RATE 88200 10709 asxXSAMPLE RATE 96000 10710 asxXSAMPLE RATE 192000 10711 asxSAMPLE RATE 12000 210712 asXSAMPLE RATE 176400 10713 asXSAMPLE RATE UNDEFINED 10799 Sample rate options enum asxMSG LOGGING asxMSG LOGGING DISABLE 10800 asxMSG LOGGING ERROR 10801 asxMSG LOGGING WARNING 10802 asxMSG LOGGING NOTICE 10803 asxMSG LOGGING INFO 10804 asxMSG LOGGING DEBUG 10805 asxMSG LOGGING VERBOSE 10806 Error logging control Uses DbgView under Windo
317. yer Stop 66 ASX Player Wait 67 Player control functions 55 Recorder ASX Recorder Close 69 ASX Recorder EnumerateFormat 69 ASX Recorder GetFilename 70 ASX Recorder GetPosition 70 ASX Recorder GetState 71 ASX Recorder Open 71 ASX Recorder Pause 72 ASX Recorder Start 72 ASX Recorder Stop 72 Recorder control functions 67 Sample clock control functions 104 SAMPLE SampleClock ASX SampleClock EnumerateClockSource 105 ASX SampleClock GetAutoSource 105 ASX SampleClock GetClockSource 106 ASX SampleClock GetLocalRate 106 ASX SampleClock GetLocalRateLock 106 ASX_SampleClock_GetSampleRate 107 ASX_SampleClock_SetAutoSource 107 ASX_SampleClock_SetClockSource 107 ASX_SampleClock_SetLocalRate 108 ASX_SampleClock_SetLocalRateLock 108 ASX_SampleClock_SetSampleRate 109 Silence detector control functions 152 SILENCEDETECTOR SilenceDetector size step ASX_SilenceDetector_GetDelay 153 ASX SilenceDetector GetEnable 153 ASX SilenceDetector GetEventEnable 153 ASX SilenceDetector GetState 153 ASX_SilenceDetector_GetThreshold 154 ASX_SilenceDetector_SetDelay 154 ASX_SilenceDetector_SetEnable 154 ASX_SilenceDetector_SetEventEnable 155 ASX_SilenceDetector_SetThreshold 155 asxParameterValue 164 asxParameterRangelInfo 163 string asxParameterRangelInfo 163 SubSystem types 19 SubSystemTypes ASX SYSTEM TYPE ALSA 20 ASX SYSTEM TYPE ANY 20 ASX SYSTEM TYPE ASIO 20
318. yet started The range of nCurrentFile is 0 to nTotalFileCount 1 A pause operation does not affect the value returned by nCurrentFile szCurrent Filename The name of the current file being played This returns undefined before the first Start command is issued nTotalTime_ ms The total time in milliseconds of all the files that are in the playback list Note that this variable will be affected if timescaling is enabled ms The current accumlated time of the file list playback in milliseconds This nCurrentTime will range from 0 to nTotalTime ms Note that this variable will be affected if timescaling is enabled Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 64 Module Documentation Examples playlist main c 7 9 213 5 32 ASX_ERROR ASX_Player_PlaylistWait ASX_HANDLE hPlayer Wait for the playlist to finish This function does not return until the current playlist has finished playing Parameters hPlayer A handle to an ASX player control object Returns Returns 0 if there is no error otherwise one of asxERROR is returned Examples playlist main c 7 9 214 5 32 ASX ERROR ASX_Player_PreLoad ASX HANDLE hPlayer const enum asx TIMESCALE nType const unsigned long Position Preloads playback buffers from the given position ready for playback This function will seek to the specified file position and then loa
319. ypeAndIndex ASX HANDLE hMixer const enum asxNODE nSourceNodeType const int nSourceIndex const enum asxNODE nDestinationNodeType const int nDesti nationIndex const char pszBlockName ASX HANDLE hControlBase Given source and destination node specifications as well as the block control name return the specified control ASX32 APIASX ERROR ASX Node GetType ASX HANDLE hNode enum asxNODE Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 180 File Documentation Returns the node type of the given node 5 32 5 ASX_Node_GetIndex ASX_HANDLE hNode int xpnIndex Returns the index of the given node ASX32 API ASX ERROR ASX Node GetLocation ASX HANDLE hNode int pnModuleSlot int pnNodeIndexOnSlot char pszModuleName const int nStringLength Returns the location of the given node in terms of module slots and position on the module that contains the node ASX32 API ASX ERROR ASX Node GetSubSystem ASX HANDLE hN ode int xp nSubSystem Returns the sub system handle of the given node ASX32 APIASX ERROR ASX Node GetName ASX HANDLE hNode char xpszNodeName const int nStringLength Get the name of the node ASX32 API ASX ERROR ASX Mixer GetNodeType ASX HANDLE hN ode enum asxNODE ASX32 API ASX ERROR ASX Mixer GetNodeIndex ASX HANDLE hN ode int pnIndex ASX32 APIASX ERROR ASX Control GetType ASX HANDLE hControl enum asxCONTROL peC
320. zer control object wOnOff 1 Turn equalizer on 0 Turn equalizer off Returns Returns 0 if there is no error otherwise one of asxERROR is returned Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 7 26 Compander control functions 121 7 26 Compander control functions These functions implement Compander settings Functions ASX_Compander_Set ASX_Compander_Get ASX_Compander_SetEnable Sets the on off parameter for the compander ASX_Compander_GetEnable Gets the on off parameter for the compander ASX_Compander_SetMakeupGain Set the compander makeup gain ASX_Compander_GetMakeupGain Get the compander makeup gain ASX Compander SetAttackTimeConstant Set the attack time constant in ms ASX Compander GetAttackTimeConstant Get the attack time constant in ms ASX Compander SetDecayTimeConstant Set the decay time constant in ms ASX Compander GetDecayTimeConstant Get the decay time constant in ms ASX Compander SetThreshold Set the compander threshold in dbFS ASX Compander GetThreshold Get the compander threshold in dbFS ASX Compander SetRatio Set the compander ratio slope ASX Compander GetRatio Get the compander ratio slope Generated on Thu Dec 17 2015 10 17 26 for ASX by Doxygen 122 Module Documentation 7 26 1 Detailed Description These functions implement Compander settings 7 26 2 Function Documentation
Download Pdf Manuals
Related Search
Related Contents
座注意 "取扱説明書" 取扱説明書 PFHV-P560CM-WE Field Programmable Gate Array Copyright © All rights reserved.
Failed to retrieve file