comparison src/pulse_audio/pulse_audio.c @ 1101:661777673349 trunk

[svn] - pulse: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:37:12 -0700
parents da9d6ad2b5b5
children a0928c1779bb
comparison
equal deleted inserted replaced
1100:e363a0fa8ea0 1101:661777673349
700 "destroy", 700 "destroy",
701 GTK_SIGNAL_FUNC(gtk_widget_destroyed), 701 GTK_SIGNAL_FUNC(gtk_widget_destroyed),
702 &dialog); 702 &dialog);
703 } 703 }
704 704
705 OutputPlugin *get_oplugin_info(void) { 705 static OutputPlugin pulse_op = {
706 static OutputPlugin pulse_plugin = {
707 NULL, 706 NULL,
708 NULL, 707 NULL,
709 "PulseAudio Output Plugin", 708 "PulseAudio Output Plugin",
710 NULL, 709 NULL,
711 NULL, 710 NULL,
721 pulse_free, 720 pulse_free,
722 pulse_playing, 721 pulse_playing,
723 pulse_get_output_time, 722 pulse_get_output_time,
724 pulse_get_written_time, 723 pulse_get_written_time,
725 NULL, 724 NULL,
726 }; 725 };
727 726
728 return &pulse_plugin; 727 OutputPlugin *pulse_oplist[] = { &pulse_op, NULL };
729 } 728
729 DECLARE_PLUGIN(pulse, NULL, NULL, NULL, pulse_oplist, NULL, NULL, NULL);