Home | History | Annotate | Download | only in src
      1 /*
      2  INTEL CONFIDENTIAL
      3  Copyright 2009 Intel Corporation All Rights Reserved.
      4  The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers and licensors. The Material contains trade secrets and proprietary and confidential information of Intel or its suppliers and licensors. The Material is protected by worldwide copyright and trade secret laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed, or disclosed in any way without Intels prior express written permission.
      5 
      6  No license under any patent, copyright, trade secret or other intellectual property right is granted to or conferred upon you by disclosure or delivery of the Materials, either expressly, by implication, inducement, estoppel or otherwise. Any license under such intellectual property rights must be express and approved by Intel in writing.
      7 */
      8 
      9 #ifndef __MIX_AUDIOINITPARAMS_H__
     10 #define __MIX_AUDIOINITPARAMS_H__
     11 
     12 
     13 #include <mixparams.h>
     14 
     15 /**
     16  * MIX_TYPE_AUDIOINITPARAMS:
     17  *
     18  * Get type of class.
     19  */
     20 #define MIX_TYPE_AUDIOINITPARAMS (mix_aip_get_type ())
     21 
     22 /**
     23  * MIX_AUDIOINITPARAMS:
     24  * @obj: object to be type-casted.
     25  *
     26  * Type casting.
     27  */
     28 #define MIX_AUDIOINITPARAMS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIX_TYPE_AUDIOINITPARAMS, MixAudioInitParams))
     29 
     30 /**
     31  * MIX_IS_AUDIOINITPARAMS:
     32  * @obj: an object.
     33  *
     34  * Checks if the given object is an instance of #MixParams
     35  */
     36 #define MIX_IS_AUDIOINITPARAMS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIX_TYPE_AUDIOINITPARAMS))
     37 
     38 /**
     39  * MIX_AUDIOINITPARAMS_CLASS:
     40  * @klass: class to be type-casted.
     41  *
     42  * Type casting.
     43  */
     44 #define MIX_AUDIOINITPARAMS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIX_TYPE_AUDIOINITPARAMS, MixAudioInitParamsClass))
     45 
     46 /**
     47  * MIX_IS_AUDIOINITPARAMS_CLASS:
     48  * @klass: a class.
     49  *
     50  * Checks if the given class is #MixParamsClass
     51  */
     52 #define MIX_IS_AUDIOINITPARAMS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIX_TYPE_AUDIOINITPARAMS))
     53 
     54 /**
     55  * MIX_AUDIOINITPARAMS_GET_CLASS:
     56  * @obj: a #MixParams object.
     57  *
     58  * Get the class instance of the object.
     59  */
     60 #define MIX_AUDIOINITPARAMS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MIX_TYPE_AUDIOINITPARAMS, MixAudioInitParamsClass))
     61 
     62 typedef struct _MixAudioInitParams        MixAudioInitParams;
     63 typedef struct _MixAudioInitParamsClass   MixAudioInitParamsClass;
     64 
     65 /**
     66  * MixAudioInitParams:
     67  * @parent: Parent.
     68  *
     69  * @MixAudio initialization parameter object.
     70  */
     71 struct _MixAudioInitParams
     72 {
     73   /*< public >*/
     74   MixParams parent;
     75 
     76   /*< private >*/
     77   void* reserved1;
     78   void* reserved2;
     79   void* reserved3;
     80   void* reserved4;
     81 };
     82 
     83 /**
     84  * MixAudioInitParamsClass:
     85  * @parent_class: Parent class.
     86  *
     87  * @MixAudio initialization parameter object class structure.
     88  */
     89 struct _MixAudioInitParamsClass
     90 {
     91   /*< public >*/
     92   MixParamsClass parent_class;
     93 
     94   /* class members */
     95 };
     96 
     97 /**
     98  * mix_aip_get_type:
     99  * @returns: type
    100  *
    101  * Get the type of object.
    102  */
    103 GType mix_aip_get_type (void);
    104 
    105 /**
    106  * mix_aip_new:
    107  * @returns: A newly allocated instance of #MixAudioInitParams
    108  *
    109  * Use this method to create new instance of #MixAudioInitParams
    110  */
    111 MixAudioInitParams *mix_aip_new(void);
    112 
    113 /**
    114  * mix_aip_ref:
    115  * @mix: object to add reference
    116  * @returns: the MixAudioInitParams instance where reference count has been increased.
    117  *
    118  * Add reference count.
    119  */
    120 MixAudioInitParams *mix_aip_ref(MixAudioInitParams *mix);
    121 
    122 /**
    123  * mix_aip_unref:
    124  * @obj: object to unref.
    125  *
    126  * Decrement reference count of the object.
    127  */
    128 #define mix_aip_unref(obj) mix_params_unref(MIX_PARAMS(obj))
    129 
    130 /* Class Methods */
    131 
    132 #endif /* __MIX_AUDIOINITPARAMS_H__ */
    133