[pulseaudio-commits] r1629 - in /branches/lennart/src/pulsecore: core.c core.h

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat Aug 11 08:56:07 PDT 2007


Author: lennart
Date: Sat Aug 11 17:56:06 2007
New Revision: 1629

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1629&root=3Dpulseaudio&vi=
ew=3Drev
Log:
add default fragment settings variables to pa_core

Modified:
    branches/lennart/src/pulsecore/core.c
    branches/lennart/src/pulsecore/core.h

Modified: branches/lennart/src/pulsecore/core.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/=
core.c?rev=3D1629&root=3Dpulseaudio&r1=3D1628&r2=3D1629&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/pulsecore/core.c (original)
+++ branches/lennart/src/pulsecore/core.c Sat Aug 11 17:56:06 2007
@@ -112,6 +112,8 @@
     c->default_sample_spec.format =3D PA_SAMPLE_S16NE;
     c->default_sample_spec.rate =3D 44100;
     c->default_sample_spec.channels =3D 2;
+    c->default_n_fragments =3D 4;
+    c->default_fragment_size_msec =3D 25;
 =

     c->module_auto_unload_event =3D NULL;
     c->module_defer_unload_event =3D NULL;

Modified: branches/lennart/src/pulsecore/core.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/=
core.h?rev=3D1629&root=3Dpulseaudio&r1=3D1628&r2=3D1629&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/pulsecore/core.h (original)
+++ branches/lennart/src/pulsecore/core.h Sat Aug 11 17:56:06 2007
@@ -65,6 +65,8 @@
     char *default_source_name, *default_sink_name;
 =

     pa_sample_spec default_sample_spec;
+    unsigned default_n_fragments, default_fragment_size_msec;
+    =

     pa_time_event *module_auto_unload_event;
     pa_defer_event *module_defer_unload_event;
 =





More information about the pulseaudio-commits mailing list