
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */

#include "libcallaudio-enums.h"
#include "libcallaudio.h"

#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)

/* enumerations from "libcallaudio.h" */

GType
call_audio_mode_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (CALL_AUDIO_MODE_DEFAULT), "CALL_AUDIO_MODE_DEFAULT", "default" },
        { C_ENUM (CALL_AUDIO_MODE_CALL), "CALL_AUDIO_MODE_CALL", "call" },
        { C_ENUM (CALL_AUDIO_MODE_UNKNOWN), "CALL_AUDIO_MODE_UNKNOWN", "unknown" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("CallAudioMode"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
call_audio_speaker_state_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (CALL_AUDIO_SPEAKER_OFF), "CALL_AUDIO_SPEAKER_OFF", "off" },
        { C_ENUM (CALL_AUDIO_SPEAKER_ON), "CALL_AUDIO_SPEAKER_ON", "on" },
        { C_ENUM (CALL_AUDIO_SPEAKER_UNKNOWN), "CALL_AUDIO_SPEAKER_UNKNOWN", "unknown" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("CallAudioSpeakerState"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
call_audio_mic_state_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (CALL_AUDIO_MIC_OFF), "CALL_AUDIO_MIC_OFF", "off" },
        { C_ENUM (CALL_AUDIO_MIC_ON), "CALL_AUDIO_MIC_ON", "on" },
        { C_ENUM (CALL_AUDIO_MIC_UNKNOWN), "CALL_AUDIO_MIC_UNKNOWN", "unknown" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("CallAudioMicState"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

