Copyright © 2005-2018 MultiMedia Soft

LastError property (RO)

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property LastError As enumErrorCodes


 

[C#]

public enumErrorCodes LastError {get;}


 

[C++]

public: __property enumErrorCodes get_LastError();


 

This property is Read-only

 

 

Remarks

Each call to one of the component's methods could generate an error: in case the called method should return an unexpected value, this property could give more details about the nature of the error. In case the called method should success, this property would assume the value NOERROR (0).

 

Here follows a list of the available error codes that could be returned by the component's methods calls (note that the table below refers to our internal multimedia engine so many of the available codes could be not directly related to Audio DJ Studio):

 

Mnemonic value

Numeric value

Meaning

ERR_NOERROR

0

No error was generated by the latest method call

ERR_INVALID_PLAYER

-1

Invalid player

ERR_NOT_ENOUGH_MEMORY

-2

Not enough memory

ERR_VALUE_OUT_OF_RANGE

-3

The value of one of the parameters passed to the method was out of the available range of values

ERR_INVALID_WINDOW

-4

The provided HWND handle doesn't belong to a valid window

ERR_INVALID_DS_CARD

-5

The sound card chosen as the output device is not a compatible sound card

ERR_INVALID_FILE

-6

Invalid sound file

ERR_INVALID_PLAYLIST_FILE

-7

Invalid playlist file

ERR_CANNOT_CREATE_FILE

-8

A file creation failed (probably attempting to save a playlist file)

ERR_INVALID_SOURCE_POS

-9

The source position of a playlist item is invalid (out of range)

ERR_INVALID_DEST_POS

-10

The destination position of a playlist item is invalid (out of range)

ERR_INVALID_MIXER

-11

The selected mixer index is out of range

ERR_FX_EFFECT_UNAVAILABLE

-12

The selected special effect is not available (probably the passed value was out of range)

ERR_BUFFERING

-13

Error during Internet stream buffering

ERR_ALREADY_INITIALIZED

-14

The control has already been initialized

ERR_INTERNET_UNAVAILABLE

-15

No Internet connection cannot be established

ERR_TIMEOUT

-16

Connection timeout

ERR_EAX_UNAVAILABLE

-17

The EAX effects are not available on the current sound card

ERR_DMOFX_UNAVAILABLE

-18

DirectX effects not available

ERR_DIRECTX_OLDER

-19

The DirectX version is older than version 8

ERR_SOUND_NOT_LOADED

-20

The last operation failed because no sound was loaded

ERR_INVALID_FORMAT

-21

The last operation failed because not available for the loaded file format

ERR_INVALID_DRIVER

-22

The sound card chosen as the output device doesn't have a valid driver

ERR_CANNOT_LOAD_FOR_MIXING

-23

The given song cannot be used for mixing purposes

ERR_NOT_LOADED_FOR_MIXING

-24

Unsupported

ERR_CHANGING_TEMPO

-25

The Tempo change failed

ERR_CHANGING_RATE

-26

The Playback rate change failed

ERR_CHANGING_PITCH

-27

The Pitch change failed

ERR_EQUALIZER_BAND_UNAVAILABLE

-28

The given equalizer band is not available

ERR_FEEDBACK_ALREADY_AVAILABLE

-29

The visual feedback you are trying to create already exists

ERR_FEEDBACK_NOT_CREATED

-30

You are trying to use a visual feedback that still doesn't exists

ERR_CANNOT_FADE_ON_SAME_PLAYER

-31

It's not possible to perform a fade-in/fade-out using a single player

ERR_FADER_NOT_READY

-32

The fader is not ready: check the Fader.Init method for details

ERR_TRIGGER_ALREADY_EXISTS

-33

A trigger with the given identification number already exists

ERR_TRIGGER_NOT_FOUND

-34

The selected trigger doesn't exist

ERR_INVALID_CD_DRIVE

-35

The specified CD drive is invalid

ERR_CD_DRIVE_NOT_READY

-36

The specified CD drive is not ready

ERR_CD_INVALID_TRACK

-37

The specified CD audio track is invalid

ERR_CD_INVALID_ACTION

-38

The requested CD action is invalid

ERR_CD_INVALID_IDENTIF_CODE

-39

The requested CD identification code is invalid

ERR_CD_IDENTIF_UNAVAIL

-40

The requested CD identification is not available

ERR_CD_TRACK_NOAUDIO

-41

The specified CD track is not an audio track

ERR_CD_DRIVE_BUSY

-42

The specified CD drive is busy loading another audio track

ERR_CANNOT_FADE_PLAYER_A

-43

Cannot fade on player A (probably because no playlist has been loaded)

ERR_CANNOT_FADE_PLAYER_B

-44

Cannot fade on player B (probably because no playlist has been loaded)

ERR_CANNOT_FADE_SMALL_SONGS

-45

Cannot use the given playlist for fading because all of the contained songs duration is shorter than the overall fading time

ERR_FADER_BOTH_PLAYING

-46

Cannot fade two players that are already playing: at least one of them must be paused or stopped.

ERR_CANNOT_LOAD_FOR_FADING

-47

Cannot fade songs whose duration is shorter than the overall fading time

ERR_INFO_UNAVAILABLE

-48

The requested information is currently unavailable

ERR_NOT_INITIALIZED

-49

The component is still not initialized

ERR_INVALID_INPUT_DEVICE

-50

The input device is not valid

ERR_INVALID_INPUT_CHANNEL

-51

The input channel is not valid

ERR_INVALID_RECORDER

-52

Invalid recorder

ERR_INVALID_INPUT_FORMAT

-53

The input format is not valid

ERR_OPENING_REC_SILENCE_LOGFILE

-54

Error opening Sound Activation System silence log file

ERR_CD_COVER_URL_NOT_AVAILABLE

-55

URL for CD cover picture not available

ERR_CD_COVER_FILE_NOT_AVAILABLE

-56

CD cover picture file not available

ERR_CDDB_QUERY_FAILED

-57

Query to CDDB server failed

ERR_CDDB_INFO_NOT_AVAIL

-58

Information about CD not available on the CDDB server

ERR_CDDB_DATA_NOT_AVAIL

-59

Information about CD not available locally

ERR_CDDB_SERVERS_NOT_AVAIL

-60

CDDB server not available

ERR_CDDB_CONNECTION_FAILURE

-61

Connection to CDDB server failed

ERR_CD_MCI_ERROR

-62

MCI error accessing CD drive

ERR_INTERNET_NOT_CONNECTED

-63

Internet connection not available

ERR_RECORDER_BUSY

-64

The recorder is busy

ERR_SOUND_WAVEFORM_NOT_ANALYSED

-65

Sound waveform still not analyzed

ERR_SPEAKERS_DISABLED

-66

Speakers assignment disabled

ERR_SPEAKER_REAR_UNSUPPORTED

-67

The current output device doesn't support Rear speakers

ERR_SPEAKER_CENTER_LFE_UNSUPPORTED

-68

The current output device doesn't support Center speakers

ERR_SPEAKER_REAR_CENTER_UNSUPPORTED

-69

The current output device doesn't support Rear Center speakers

ERR_SPEAKER_NEEDS_MONO

-70

Cannot assign a stereo sound to a mono speaker

ERR_INVALID_SPEAKERS_CONFIG

-71

The provided speakers configuration is invalid

ERR_SOUND_WAV_NOT_IN_MEMORY

-72

The sound exported in memory in WAV format is not available

ERR_RECORDER_EMPTY

-73

The recorder didn't performed any previous recording session in memory

ERR_REVERSED_SOUND_NOT_AVAIL

-74

Reversed sound not available

ERR_INVALID_EQUALIZER_FILE

-75

Invalid equalizer file

ERR_EQUALIZER_BAND_NOT_AVAIL

-76

Equalizer band not available

ERR_ACM_CODEC_FORMAT_UNSUPPORTED

-77

Unsupported ACM codec format

ERR_ACM_CODEC_CANCEL

-78

The Cancel button was pressed after a selection of an ACM codec

ERR_WAV_DATA_NOT_ENOUGH_ROOM

-79

Not enough room for containing WAV data

ERR_INVALID_POSITION

-80

Invalid position

ERR_NO_SELECTION_AVAIL

-81

No selection available

ERR_INVALID_EXPORT_SETTINGS

-82

Invalid export settings

ERR_ENCODER_NOT_AVAILABLE

-83

Encoder application not available inside the system or, in alternative, parameters passed to the encoder were invalid.

ERR_ENCODER_ERROR

-84

Encoder failed to start

ERR_CANNOT_MIX_REMOTE_URL

-85

Cannot mix sound coming from remote URL

ERR_FTP_CONNECTION_FAILED

-86

FTP connection failed

ERR_FTP_DIRECTORY_NOT_FOUND

-87

FTP remote directory not found

ERR_FTP_UPLOAD_FAILURE

-88

FTP upload failure

ERR_FTP_UPLOAD_CANCELED

-89

FTP upload canceled by the user

ERR_SOCKET_NOT_AVAILABLE

-90

FTP upload impossible because the Windows sockets cannot be initialized

ERR_DSP_INVALID_DLL

-91

This is not a valid DLL for custom DSP management

ERR_DSP_FUNCTION_NOT_AVAIL

-92

The custom DSP doesn't contain the requested function

ERR_DSP_INVALID_ID

-93

Invalid custom DSP identifier

ERR_DSP_FAILURE

-94

Custom DSP failure

ERR_DSP_IS_NOT_EXTERNAL

-95

The identifier is not related to an external custom DSP

ERR_REVERSE_NOT_AVAILABLE

-96

Reversed sound is not available

ERR_MEMORY_REC_SESSION

-97

Recording session is being performed in memory and in an output file

ERR_UNAVAIL_EDITION

-98

Deprecated

ERROR_TOO_MANY_PLAYERS

-99

The current product edition cannot create other players (*)

ERR_GENERIC

-100

An unknown error occurred

ERR_VST_FILE_NOT_FOUND

-101

The DLL containing the VST effect was not found

ERR_VST_INVALID_ID

-102

Invalid VST identifier

ERR_VST_FAILURE

-103

VST effect failure

ERR_VST_NOT_LOADED

-104

The VST effect still needs to be loaded

ERR_VST_NOT_COMPATIBLE

-105

The VST effect is not compatible with the current implementation of the control

ERR_VST_NO_EDITOR_AVAIL

-106

The VST effect doesn't contain an editor

ERR_VST_EDITOR_IS_VISIBLE

-107

The editor of the VST effect is visible

ERR_VST_INVALID_PROGRAM

-108

The VST effect doesn't contain the given program

ERR_INVALID_EDITOR

-109

Invalid editor

ERR_EDITOR_BUSY

-110

The sound editor is busy

ERR_EDITOR_EMPTY

-111

The sound editor doesn't contain any sound

ERR_ALREADY_EXISTS

-112

The given item already exists

ERR_NOT_FOUND

-113

Item not found

ERR_PLAYER_BUSY

-114

Player is busy

ERR_DELAYED_PLAYBACK_OVERLAP

-115

Delayed playback overlaps an existing one

ERR_NO_UNDO_AVAILABLE

-116

Undo is not available

ERR_RAW_PCM_WITHOUT_HEADER

-117

The sound file is a headerless RAW PCM

ERR_INCOHERENT_REC_SESSION

-118

Incoherent recording session

ERR_INVALID_FILTER_NAME

-119

Invalid filter name

ERR_INVALID_FILTER_TYPE

-120

Invalid filter type

ERR_INVALID_WINDOW_TYPE

-121

Invalid window type

ERR_CANNOT_ADD_PLAYER_TO_MIXER

-122

Cannot add player to mixer

ERR_OUTPUT_NOT_FOR_MIXING

-123

Output not set to mixing mode

ERR_INVALID_CASTING_ID

-124

Invalid casting identifier

ERR_INVALID_ENCODE_MODE

-125

Invalid encode mode

ERR_INVALID_SERVER_ADDRESS

-126

Invalid server address

ERR_CONNECTION_FAILED

-127

Connection failed

ERR_INVALID_PASSWORD

-128

Invalid password

ERR_CASTING_ALREADY_STARTED

-129

Casting session already started

ERR_CONNECTION_DIED

-130

Casting connection died

ERR_INVALID_STREAN_MIXER

-131

Invalid stream mixer

ERR_ASIO_INVALID_DEVICE

-132

Invalid ASIO device

ERR_ASIO_INVALID_CHANNEL

-133

Invalid ASIO channel

ERR_ASIO_CPANEL_NOT_AVAILABLE

-134

ASIO control panel not available

ERR_ASIO_SYSTEM_NOT_INITIALIZED

-135

ASIO system not initialized

ERR_ASIO_DEVICE_NOT_INITIALIZED

-136

ASIO device not initialized

ERR_ASIO_CANNOT_START_DEVICE

-137

Cannot start ASIO device

ERR_ASIO_INPUT_CHAN_BUSY

-138

ASIO input channel is busy

ERR_INVALID_DEVICE

-139

Invalid device

ERR_CANNOT_CREATE_DS_BUFFER

-140

Cannot create DirectSound buffer

ERR_INVALID_DRIVER_TYPE

-141

Invalid driver type

ERR_ASIO_DEVICE_ALREADY_STARTED

-142

ASIO device already started

ERR_NOT_IMPLEMENTED

-143

Feature not implemented

ERR_CANNOT_INIT_GDIPLUS

-144

Cannot initialize GDI+

ERR_INVALID_ENCR_KEY

-145

Invalid encryption key

ERR_NOT_QUEUED_SOUND

-146

The chosen player is not streaming from a sound queue

ERR_MISSING_NOISE_PROFILE

-147

Noise profile is missing

ERR_INVALID_BITRATE

-148

Invalid bitrate

ERR_AUDIO_RENDERERS_ENUM_FAILED

-149

Enumeration of audio renderers failed

ERR_NO_AUDIO_RENDERERS

-150

No audio renderers available

ERR_INVALID_VIDEO_MIXER_ID

-151

The unique identifier of the video mixer is invalid

ERR_PLAYER_NOT_ON_MIXER

-152

The chosen player is not attached to a video mixer

ERR_FONT_NOT_GDIPLUS_COMPATIBLE

-153

The chosen font is not compatible with GDI+

ERR_PL_NOT_AUTOMATION_MODE

-154

Playlist is not set to work in automation mode

ERR_INVALID_PLATFORM

-155

The command cannot be executed on platforms different from x86

ERR_NOT_MULTISTREAM

-156

The audio of the video clip is not multistream

ERR_INVALID_FRAME_ID

-157

Invalid frame identifier

ERR_CANNOT_CREATE_BITMAP

-158

Cannot create bitmap

ERR_STRING_TOO_SHORT

-159

The string is too short

ERR_STRING_TOO_LONG

-160

The string is too long

ERR_INVALID_RECORDING_MODE

-161

Invalid recording mode

ERR_INVALID_OUTPUT_FORMAT

-162

Invalid output format

ERR_SOUND_NOT_STEREO

-163

The loaded sound is not stereo

ERR_INVALID_STATE

-164

Invalid state for performing the requested operation

ERR_FFDSHOW_NOT_AVAILABLE

-165

FFDSHOW is not installed inside the system

ERR_SOUND_NOT_MONO

-166

The loaded sound is not mono

ERR_OUTPUT_FORMAT_NOT_STEREO

-167

The format of the output file is not stereo

ERR_INVALID_CURVE_DESIGNER_ID

-168

Invalid identifier for the curve designer

ERR_FULLSCREEN_NOT_PREDISPOSED

-169

Fullscreen not predisposed for the given monitor

ERR_NOT_MIDI

-170

Not a MIDI file

ERR_INVALID_MIDI_SOUNDFONT_ID

-171

Invalid MIDI soundfont identifier

ERR_INVALID_MIDI_PARAM

-172

Invalid MIDI parameter

ERR_LIST_EMPTY

-173

The requested list (for example a list of MIDI events) is empty

ERR_INVALID_MIDI_EVENT_ID

-174

Invalid MIDI event identifier

ERR_NO_DEFAULT_SOUNDFONT

-175

No default soundfont available

ERR_INVALID_KEYBOARD

-176

Invalid keyboard

ERR_MIDI_DEVICE_ALREADY_STARTED

-177

MIDI device already started

ERR_MIDI_DEVICE_NOT_STARTED

-178

MIDI device not started

ERR_INVALID_RANGE

-179

Invalid range

ERR_WASAPI_SYSTEM_NOT_INITIALIZED

-180

WASAPI system not initialized

ERR_WASAPI_DEVICE_NOT_STARTED

-181

WASAPI device not started

ERR_WASAPI_CANNOT_START_DEVICE

-182

Cannot start WASAPI device

ERR_WASAPI_DEVICE_ALREADY_STARTED

-183

WASAPI device already started

ERR_WASAPI_DEVICE_BUSY

-184

WASAPI device busy

ERR_WASAPI_VOLUME_UNAVAIL

-185

WASAPI volume not available or not accessible

ERR_UNSUPPORTED_AUDIO_FORMAT

-186

The audio format is not supported

ERR_ASIO_DEVICE_NOT_STARTED

-187

The ASIO device has not been started

ERR_CODEC_NOT_AVAILABLE

-188

The add-on needed to decode the samples is not available

ERR_INVALID_FUNC

-189

The function name is invalid

ERR_INVALID_PLUGIN

-190

The requested plugin is invalid

ERR_DOWNLOADER_REMOTE_FILE_FAILURE

-191

Downloader remote file error

ERR_DOWNLOADER_LOCAL_FILE_FAILURE

-192

Downloader local file error

ERR_DOWNLOADER_INVALID_SERVICE

-193

Downloader invalid service

ERR_DOWNLOADER_INVALID_PARAM

-194

Downloader invalid parameter

ERR_DOWNLOADER_INVALID_MEMORY

-195

Downloader invalid memory buffer

ERR_DOWNLOADER_CONNECTION_TIMEOUT

-196

Downloader connection timeout

ERR_DOWNLOADER_DATA_TIMEOUT

-197

Downloader data timeout

ERR_DOWNLOADER_URL_NOT_FOUND

-198

Downloader URL not found

ERR_DOWNLOADER_FILE_NOT_FOUND

-199

Downloader remote file not found

ERR_SOUNDGEN_CHANNEL_EMPTY

-200

The specified channel of the sound generator is empty

ERR_SOUNDGEN_INVALID_TYPE

-201

The sound generator doesn't support the specified type

ERR_SOUNDCOMPOSER_EMPTY

-202

The sound composer is empty

ERR_SAPI_VOICE_CANNOT_CREATE

-203

Cannot create Speech API voice

ERR_SAPI_STREAM_CANNOT_CREATE

-204

Cannot create Speech API audio stream

ERR_SAPI_VOICE_INVALID_OUTPUT

-205

The output specified for the Speech API stream is invalid

ERR_SAPI_VOICE_CANNOT_SPEAK

-206

Speech API voice unable to speech

ERR_SAPI_VOICE_CANNOT_ENUM

-207

Cannot enumerate Speech API voices

ERR_SAPI_VOICE_CANNOT_SET

-208

Cannot set Speech API voice

ERR_SOUNDCOMPOSER_INVALID_CHANNEL

-209

The specified channel of the sound composer is invalid

ERR_INVALID_CHANNEL_PAIR

-210

Invalid channels pair

ERR_LICENSE_PROTECTED

-211

The sound file is protected through DRM (Digital Right Management)

ERR_ZIP_CLOSED

-212

The ZIP session is closed

ERR_INVALID_ZIP_ENCR_TYPE

-213

Invalid encryption type for creating the ZIP file