[pulseaudio-commits] r2428 - in /branches/glitch-free/src/modules/rtp: sap.c sap.h

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu May 15 10:59:44 PDT 2008


Author: lennart
Date: Thu May 15 19:59:42 2008
New Revision: 2428

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2428&root=pulseaudio&view=rev
Log:
more pa_bool_t'ization

Modified:
    branches/glitch-free/src/modules/rtp/sap.c
    branches/glitch-free/src/modules/rtp/sap.h

Modified: branches/glitch-free/src/modules/rtp/sap.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/modules/rtp/sap.c?rev=2428&root=pulseaudio&r1=2427&r2=2428&view=diff
==============================================================================
--- branches/glitch-free/src/modules/rtp/sap.c (original)
+++ branches/glitch-free/src/modules/rtp/sap.c Thu May 15 19:59:42 2008
@@ -71,7 +71,7 @@
     pa_xfree(c->sdp_data);
 }
 
-int pa_sap_send(pa_sap_context *c, int goodbye) {
+int pa_sap_send(pa_sap_context *c, pa_bool_t goodbye) {
     uint32_t header;
     struct sockaddr_storage sa_buf;
     struct sockaddr *sa = (struct sockaddr*) &sa_buf;
@@ -127,7 +127,7 @@
     return c;
 }
 
-int pa_sap_recv(pa_sap_context *c, int *goodbye) {
+int pa_sap_recv(pa_sap_context *c, pa_bool_t *goodbye) {
     struct msghdr m;
     struct iovec iov;
     int size, k;

Modified: branches/glitch-free/src/modules/rtp/sap.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/modules/rtp/sap.h?rev=2428&root=pulseaudio&r1=2427&r2=2428&view=diff
==============================================================================
--- branches/glitch-free/src/modules/rtp/sap.h (original)
+++ branches/glitch-free/src/modules/rtp/sap.h Thu May 15 19:59:42 2008
@@ -40,9 +40,9 @@
 pa_sap_context* pa_sap_context_init_send(pa_sap_context *c, int fd, char *sdp_data);
 void pa_sap_context_destroy(pa_sap_context *c);
 
-int pa_sap_send(pa_sap_context *c, int goodbye);
+int pa_sap_send(pa_sap_context *c, pa_bool_t goodbye);
 
 pa_sap_context* pa_sap_context_init_recv(pa_sap_context *c, int fd);
-int pa_sap_recv(pa_sap_context *c, int *goodbye);
+int pa_sap_recv(pa_sap_context *c, pa_bool_t *goodbye);
 
 #endif




More information about the pulseaudio-commits mailing list