Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
LastError property (RO) 
 
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 are not related directly to Audio Sound Recorder): 
 
Mnemonic value
Numeric value
Meaning
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
Not used by this control
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 cancelled 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
The current product edition doesn't support this feature: check the Introduction section for a chart comparison of the features available inside each product edition
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
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents