AXaudio
ax_audio_error.h File Reference

AXAudio error codes. More...

Go to the source code of this file.

Macros

#define AX_AUDIO_ERROR
 A convenience macro for generating new GErrors.
 

Enumerations

enum  AXAudioErrorCode {
  AX_AUDIO_GENERIC_ERROR, AX_AUDIO_CONNECT_ERROR, AX_AUDIO_CODEC_ERROR, AX_AUDIO_SOURCE_ERROR,
  AX_AUDIO_CHANNEL_ERROR, AX_AUDIO_BIT_RATE_ERROR, AX_AUDIO_SAMPLE_RATE_ERROR, AX_AUDIO_SAMPLE_BIT_RATE_COMB_ERROR,
  AX_AUDIO_PLAYBACK_ERROR, AX_AUDIO_PLAYBACK_NOT_SUPPORTED_ERROR, AX_AUDIO_PARAM_ERROR
}
 

Functions

GQuark ax_audio_error_quark (void)
 

Detailed Description

AXAudio error codes.

Enumeration Type Documentation

◆ AXAudioErrorCode

Specifies the available error codes

Enumerator
AX_AUDIO_GENERIC_ERROR 

Generic error

AX_AUDIO_CONNECT_ERROR 

Connection to audio source is failing

AX_AUDIO_CODEC_ERROR 

Codec is not supported

AX_AUDIO_SOURCE_ERROR 

Audio source does not exist

AX_AUDIO_CHANNEL_ERROR 

Audio source does not support the chosen AXAudioChannel

AX_AUDIO_BIT_RATE_ERROR 

Bit rate is not supported by the codec.

AX_AUDIO_SAMPLE_RATE_ERROR 

Sample rate is not supported by the codec

AX_AUDIO_SAMPLE_BIT_RATE_COMB_ERROR 

Bit rate and sample rate combination is not valid

AX_AUDIO_PLAYBACK_ERROR 

Playback does not work, resource can be busy

AX_AUDIO_PLAYBACK_NOT_SUPPORTED_ERROR 

Playback is not supported

AX_AUDIO_PARAM_ERROR 

Parameter error eg. the parameter is empty