RygelL16Transcoder* rygel_l16_transcoder_construct (GType object_type, Endianness endianness) { RygelL16Transcoder * self; char* _tmp6_; char* _tmp5_; char* _tmp4_; char* _tmp3_; char* _tmp2_; char* _tmp1_; char* _tmp0_; char* _tmp7_; char* mime_type; _tmp6_ = NULL; _tmp5_ = NULL; _tmp4_ = NULL; _tmp3_ = NULL; _tmp2_ = NULL; _tmp1_ = NULL; _tmp0_ = NULL; _tmp7_ = NULL; mime_type = (_tmp7_ = g_strconcat (_tmp5_ = g_strconcat (_tmp4_ = g_strconcat (_tmp2_ = g_strconcat (_tmp1_ = g_strconcat ("audio/L", _tmp0_ = g_strdup_printf ("%i", RYGEL_L16_TRANSCODER_WIDTH), NULL), ";rate=", NULL), _tmp3_ = g_strdup_printf ("%i", RYGEL_L16_TRANSCODER_FREQUENCY), NULL), ";channels=", NULL), _tmp6_ = g_strdup_printf ("%i", RYGEL_L16_TRANSCODER_CHANNELS), NULL), _tmp6_ = (g_free (_tmp6_), NULL), _tmp5_ = (g_free (_tmp5_), NULL), _tmp4_ = (g_free (_tmp4_), NULL), _tmp3_ = (g_free (_tmp3_), NULL), _tmp2_ = (g_free (_tmp2_), NULL), _tmp1_ = (g_free (_tmp1_), NULL), _tmp0_ = (g_free (_tmp0_), NULL), _tmp7_); self = (RygelL16Transcoder*) rygel_transcoder_construct (object_type, mime_type, "LPCM", RYGEL_MEDIA_ITEM_AUDIO_CLASS); self->priv->endianness = endianness; mime_type = (g_free (mime_type), NULL); return self; }
RygelL16Transcoder* rygel_l16_transcoder_construct (GType object_type, Endianness endianness) { #line 293 "rygel-l16-transcoder.c" RygelL16Transcoder * self; char* _tmp6_; char* _tmp5_; char* _tmp4_; char* _tmp3_; char* _tmp2_; char* _tmp1_; char* _tmp0_; char* _tmp7_; char* mime_type; #line 51 "rygel-l16-transcoder.vala" mime_type = (_tmp7_ = g_strconcat (_tmp5_ = g_strconcat (_tmp4_ = g_strconcat (_tmp2_ = g_strconcat (_tmp1_ = g_strconcat ("audio/L", _tmp0_ = g_strdup_printf ("%i", RYGEL_L16_TRANSCODER_WIDTH), NULL), ";rate=", NULL), _tmp3_ = g_strdup_printf ("%i", RYGEL_L16_TRANSCODER_FREQUENCY), NULL), ";channels=", NULL), _tmp6_ = g_strdup_printf ("%i", RYGEL_L16_TRANSCODER_CHANNELS), NULL), _g_free0 (_tmp6_), _g_free0 (_tmp5_), _g_free0 (_tmp4_), _g_free0 (_tmp3_), _g_free0 (_tmp2_), _g_free0 (_tmp1_), _g_free0 (_tmp0_), _tmp7_); #line 55 "rygel-l16-transcoder.vala" self = (RygelL16Transcoder*) rygel_transcoder_construct (object_type, mime_type, "LPCM", RYGEL_MEDIA_ITEM_AUDIO_CLASS); #line 57 "rygel-l16-transcoder.vala" self->priv->endianness = endianness; #line 310 "rygel-l16-transcoder.c" _g_free0 (mime_type); return self; }
RygelMP3Transcoder* rygel_mp3_transcoder_construct (GType object_type, RygelMP3Layer layer) { RygelMP3Transcoder * self; self = (RygelMP3Transcoder*) rygel_transcoder_construct (object_type, "audio/mpeg", "MP3", RYGEL_MEDIA_ITEM_AUDIO_CLASS); self->priv->layer = layer; return self; }
RygelMP2TSTranscoder* rygel_mp2_ts_transcoder_construct (GType object_type, RygelMP2TSProfile profile) { RygelMP2TSTranscoder * self; self = (RygelMP2TSTranscoder*) rygel_transcoder_construct (object_type, "video/mpeg", RYGEL_MP2_TS_TRANSCODER_PROFILES[profile], RYGEL_MEDIA_ITEM_VIDEO_CLASS); self->priv->profile = profile; return self; }