MixAudio Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <mixacpmp3.h> MixAudioConfigParamsMP3; MixAudioConfigParamsMP3 * mix_acp_mp3_new (void); MixAudioConfigParamsMP3 * mix_acp_mp3_ref (MixAudioConfigParamsMP3 *mix); #define mix_acp_mp3_unref (obj) #define MIX_ACP_MP3_CRC (obj) #define MIX_ACP_MP3_MPEG_FORMAT (obj) #define MIX_ACP_MP3_MPEG_LAYER (obj)
A data object which stores audio specific parameters for MP3 audio.
Additional parameters must be set in the parent object MixAudioConfigParams
typedef struct { MixAudioConfigParams parent; /* Audio Format Parameters */ gboolean CRC; gint MPEG_format; gint MPEG_layer; } MixAudioConfigParamsMP3;
MI-X Audio Parameter object for MP3 Audio.
MixAudioConfigParams |
parent. |
gboolean |
CRC. See MIX_ACP_MP3_CRC |
gint |
OptionalMPEG format of the mpeg audio. See MIX_ACP_MP3_MPEG_FORMAT |
gint |
OptionalMPEG layer of the mpeg audio. See MIX_ACP_MP3_MPEG_LAYER |
MixAudioConfigParamsMP3 * mix_acp_mp3_new (void);
Use this method to create new instance of MixAudioConfigParamsMP3
|
A newly allocated instance of MixAudioConfigParamsMP3 |
MixAudioConfigParamsMP3 * mix_acp_mp3_ref (MixAudioConfigParamsMP3 *mix);
Add reference count.
|
object to add reference |
|
the MixAudioConfigParamsMP3 instance where reference count has been increased. |
#define mix_acp_mp3_unref(obj) mix_params_unref(MIX_PARAMS(obj))
Decrement reference count of the object.
|
object to unref. |
#define MIX_ACP_MP3_CRC(obj) (MIX_AUDIOCONFIGPARAMSMP3(obj)->CRC)
MixAudioConfigParamMP3.CRC accessor.
Optional
|
MixAudioConfigParamsMP3 object. |
#define MIX_ACP_MP3_MPEG_FORMAT(obj) (MIX_AUDIOCONFIGPARAMSMP3(obj)->MPEG_format)
MixAudioConfigParamMP3.MPEG_format accessor.
Supported MPEG format should be 1 or 2.
|
MixAudioConfigParamsMP3 object. |
#define MIX_ACP_MP3_MPEG_LAYER(obj) (MIX_AUDIOCONFIGPARAMSMP3(obj)->MPEG_layer)
MixAudioConfigParamMP3.MPEG_layer accessor.
Supported layer should be 1, 2, or 3.
|
MixAudioConfigParamsMP3 object. |