Ejemplo n.º 1
0
static void
fs_rtp_dtmf_sound_source_class_init (FsRtpDtmfSoundSourceClass *klass)
{
    FsRtpSpecialSourceClass *spsource_class = FS_RTP_SPECIAL_SOURCE_CLASS (klass);

    spsource_class->build = fs_rtp_dtmf_sound_source_build;
    spsource_class->get_codec = fs_rtp_dtmf_sound_source_get_codec;

    g_type_class_add_private (klass, sizeof (FsRtpDtmfSoundSourcePrivate));
}
Ejemplo n.º 2
0
static void
fs_rtp_dtmf_event_source_class_init (FsRtpDtmfEventSourceClass *klass)
{
    FsRtpSpecialSourceClass *spsource_class = FS_RTP_SPECIAL_SOURCE_CLASS (klass);

    spsource_class->build = fs_rtp_dtmf_event_source_build;
    spsource_class->add_blueprint = fs_rtp_dtmf_event_source_class_add_blueprint;
    spsource_class->negotiation_filter =
        fs_rtp_dtmf_event_source_negotiation_filter;
    spsource_class->get_codec = fs_rtp_dtmf_event_source_get_codec;

    g_type_class_add_private (klass, sizeof (FsRtpDtmfEventSourcePrivate));
}