mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:56:14 +00:00
jack: Remove trailing whitespace
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1034>
This commit is contained in:
parent
9e1919c040
commit
ca9576deca
4 changed files with 6 additions and 6 deletions
|
@ -409,11 +409,11 @@ gst_jack_audio_unref_connection (GstJackAudioConnection * conn)
|
||||||
/* don't use conn->lock here. two reasons:
|
/* don't use conn->lock here. two reasons:
|
||||||
*
|
*
|
||||||
* 1) its not necessary: jack_deactivate() will not return until the JACK thread
|
* 1) its not necessary: jack_deactivate() will not return until the JACK thread
|
||||||
* associated with this connection is cleaned up by a thread join, hence
|
* associated with this connection is cleaned up by a thread join, hence
|
||||||
* no more callbacks can occur or be in progress.
|
* no more callbacks can occur or be in progress.
|
||||||
*
|
*
|
||||||
* 2) it would deadlock anyway, because jack_deactivate() will sleep
|
* 2) it would deadlock anyway, because jack_deactivate() will sleep
|
||||||
* waiting for the JACK thread, and can thus cause deadlock in
|
* waiting for the JACK thread, and can thus cause deadlock in
|
||||||
* jack_process_cb()
|
* jack_process_cb()
|
||||||
*/
|
*/
|
||||||
GST_INFO ("deactivate jack_client %p", conn->client);
|
GST_INFO ("deactivate jack_client %p", conn->client);
|
||||||
|
@ -581,7 +581,7 @@ gst_jack_audio_client_get_client (GstJackAudioClient * client)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (client != NULL, NULL);
|
g_return_val_if_fail (client != NULL, NULL);
|
||||||
|
|
||||||
/* no lock needed, the connection and the client does not change
|
/* no lock needed, the connection and the client does not change
|
||||||
* once the client is created. */
|
* once the client is created. */
|
||||||
return client->conn->client;
|
return client->conn->client;
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
GST_JACK_CLIENT_SOURCE,
|
GST_JACK_CLIENT_SOURCE,
|
||||||
GST_JACK_CLIENT_SINK
|
GST_JACK_CLIENT_SINK
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* GStreamer
|
/* GStreamer
|
||||||
* Copyright (C) 2008 Tristan Matthews <tristan@sat.qc.ca>
|
* Copyright (C) 2008 Tristan Matthews <tristan@sat.qc.ca>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
* to deal in the Software without restriction, including without limitation
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
|
|
@ -85,4 +85,4 @@ static gboolean gst_jack_ring_buffer_pause(GstAudioRingBuffer * buf);
|
||||||
static gboolean gst_jack_ring_buffer_stop(GstAudioRingBuffer * buf);
|
static gboolean gst_jack_ring_buffer_stop(GstAudioRingBuffer * buf);
|
||||||
static guint gst_jack_ring_buffer_delay(GstAudioRingBuffer * buf);
|
static guint gst_jack_ring_buffer_delay(GstAudioRingBuffer * buf);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue