[polypaudio-commits] r469 - /trunk/polyp/module-solaris.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Mon Jan 30 04:21:54 PST 2006


Author: ossman
Date: Mon Jan 30 13:21:53 2006
New Revision: 469

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=469&root=polypaudio&view=rev
Log:
Fixes for the new infrastructure so that the solaris module compiles.

Modified:
    trunk/polyp/module-solaris.c

Modified: trunk/polyp/module-solaris.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/polyp/module-solaris.c?rev=469&root=polypaudio&r1=468&r2=469&view=diff
==============================================================================
--- trunk/polyp/module-solaris.c (original)
+++ trunk/polyp/module-solaris.c Mon Jan 30 13:21:53 2006
@@ -57,8 +57,6 @@
 PA_MODULE_VERSION(PACKAGE_VERSION)
 PA_MODULE_USAGE("sink_name=<name for the sink> source_name=<name for the source> device=<OSS device> record=<enable source?> playback=<enable sink?> format=<sample format> channels=<number of channels> rate=<sample rate> buffer_size=<record buffer size>")
 
-#define PA_TYPEID_SOLARIS PA_TYPEID_MAKE('S', 'L', 'R', 'S')
-
 struct userdata {
     pa_sink *sink;
     pa_source *source;
@@ -398,7 +396,7 @@
     u->core = c;
 
     if (mode != O_WRONLY) {
-        u->source = pa_source_new(c, PA_TYPEID_SOLARIS, pa_modargs_get_value(ma, "source_name", DEFAULT_SOURCE_NAME), 0, &ss);
+        u->source = pa_source_new(c, __FILE__, pa_modargs_get_value(ma, "source_name", DEFAULT_SOURCE_NAME), 0, &ss, NULL);
         assert(u->source);
         u->source->userdata = u;
         u->source->get_latency = source_get_latency_cb;
@@ -408,7 +406,7 @@
         u->source = NULL;
 
     if (mode != O_RDONLY) {
-        u->sink = pa_sink_new(c, PA_TYPEID_SOLARIS, pa_modargs_get_value(ma, "sink_name", DEFAULT_SINK_NAME), 0, &ss);
+        u->sink = pa_sink_new(c, __FILE__, pa_modargs_get_value(ma, "sink_name", DEFAULT_SINK_NAME), 0, &ss, NULL);
         assert(u->sink);
         u->sink->get_latency = sink_get_latency_cb;
         u->sink->userdata = u;




More information about the pulseaudio-commits mailing list