audio_error.h

SPARK Audio Core error codes.

Copyright

Copyright (C) 2021 SPARK Microsystems International Inc. All rights reserved.

License

This source code is proprietary and subject to the SPARK Microsystems Software EULA found in this package in file EULA.txt.

Author

SPARK FW Team.

Typedefs

typedef enum audio_error audio_error_t

Enums

enum audio_error

Values:

enumerator AUDIO_ERR_NONE = 0

No error occurred

enumerator AUDIO_ERR_NOT_ENOUGH_MEMORY

Not enough memory is allocated by the application for a full audio core initialization

enumerator AUDIO_ERR_PROC_STAGE_LIMIT_REACHED

Maximum number of processing stages for a given audio pipeline is already reached when trying to add another one

enumerator AUDIO_ERR_PRODUCER_Q_FULL

Producer’s queue is full when trying to produce

enumerator AUDIO_ERR_CONSUMER_Q_EMPTY

Consumer’s queue is empty when trying to consume

enumerator AUDIO_ERR_BUFFERING_NOT_COMPLETE

Initial buffering is not completed when trying to consume

enumerator AUDIO_ERR_NO_SAMPLES_TO_PROCESS

Producer’s queue is empty when trying to process

enumerator AUDIO_ERR_CDC_INIT_FAILURE

An error occurred during the clock drift compensation module initialization

enumerator AUDIO_ERR_PIPELINE_CFG_INVALID

Pipeline configuration is invalid