[pulseaudio-discuss] ifdef foo
timothy at hobbs.cz
Wed Mar 15 23:19:47 UTC 2017
OK, next question.
I see the following comment
449 #else /* USE_TCP_SOCKETS */
450 if (u->socket_server_unix)
(pa_socket_server_get_address(u->socket_server_unix, t, sizeof(t)))
452 pa_http_protocol_remove_server_string(u->http_protocol, t);
But I always thought that TCP sockets and Unix sockets where different.
That unix sockets where the ones that exist as an inode in the
filesystem, where-as TCP sockets are bound to a network port. Is the
comment wrong or am I misunderstanding?
On 03/15/2017 10:56 PM, Tanu Kaskinen wrote:
> On Wed, 2017-03-15 at 22:35 +0100, Timothy Hobbs wrote:
>> I thought that was what it was. I was just confused by the use of "foo",
>> which is usually used when prototyping something... Is it convention
>> just for PA or is it a wider C convention?
> I haven't seen it outside PulseAudio.
More information about the pulseaudio-discuss