summaryrefslogtreecommitdiff
path: root/gr-audio/lib/jack
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
committerTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
commit597b93798a804cde1783d6d2ab53b348d57c44cd (patch)
treeb65e73bb0de634ff5d209b15971ebdabf369a45c /gr-audio/lib/jack
parent1151e5502ccd440ebd89599cf7e4be4fb5ed8334 (diff)
Removing trailing/extra whitespaces before release.
We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
Diffstat (limited to 'gr-audio/lib/jack')
-rw-r--r--gr-audio/lib/jack/jack_sink.cc2
-rw-r--r--gr-audio/lib/jack/jack_sink.h2
-rw-r--r--gr-audio/lib/jack/jack_source.cc6
-rw-r--r--gr-audio/lib/jack/jack_source.h6
4 files changed, 8 insertions, 8 deletions
diff --git a/gr-audio/lib/jack/jack_sink.cc b/gr-audio/lib/jack/jack_sink.cc
index ed3f63b81f..0da074290f 100644
--- a/gr-audio/lib/jack/jack_sink.cc
+++ b/gr-audio/lib/jack/jack_sink.cc
@@ -117,7 +117,7 @@ namespace gr {
pthread_cond_init(&d_ringbuffer_ready, NULL);;
pthread_mutex_init(&d_jack_process_lock, NULL);
#endif
-
+
// try to become a client of the JACK server
jack_options_t options = JackNullOption;
jack_status_t status;
diff --git a/gr-audio/lib/jack/jack_sink.h b/gr-audio/lib/jack/jack_sink.h
index 9c97b34f96..eefe5d5b50 100644
--- a/gr-audio/lib/jack/jack_sink.h
+++ b/gr-audio/lib/jack/jack_sink.h
@@ -55,7 +55,7 @@ namespace gr {
bool d_ok_to_block;
jack_client_t *d_jack_client;
- static const int MAX_PORTS = 10;
+ static const int MAX_PORTS = 10;
int d_portcount;
jack_port_t *d_jack_output_port[MAX_PORTS];
jack_ringbuffer_t *d_ringbuffer[MAX_PORTS];
diff --git a/gr-audio/lib/jack/jack_source.cc b/gr-audio/lib/jack/jack_source.cc
index d2a1698982..9223cbb588 100644
--- a/gr-audio/lib/jack/jack_source.cc
+++ b/gr-audio/lib/jack/jack_source.cc
@@ -66,7 +66,7 @@ namespace gr {
{
jack_source *self = (jack_source *)arg;
unsigned int write_size = nframes*sizeof(sample_t);
-
+
for(int i = 0; i < self->d_portcount; i++) {
if(jack_ringbuffer_write_space (self->d_ringbuffer[i]) < write_size) {
self->d_noverruns++;
@@ -74,7 +74,7 @@ namespace gr {
fputs ("jO", stderr);
return 0;
}
-
+
char *buffer = (char *)jack_port_get_buffer(self->d_jack_input_port[i], nframes);
jack_ringbuffer_write (self->d_ringbuffer[i], buffer, write_size);
@@ -109,7 +109,7 @@ namespace gr {
d_ok_to_block(ok_to_block),
d_jack_client(0),
d_portcount(0),
- d_jack_input_port(),
+ d_jack_input_port(),
d_ringbuffer(),
d_noverruns(0)
{
diff --git a/gr-audio/lib/jack/jack_source.h b/gr-audio/lib/jack/jack_source.h
index 2f7a0163a4..6c895ae067 100644
--- a/gr-audio/lib/jack/jack_source.h
+++ b/gr-audio/lib/jack/jack_source.h
@@ -41,7 +41,7 @@ namespace gr {
*
* Output samples will be in the range [-1,1].
*/
- class jack_source : public source
+ class jack_source : public source
{
friend int jack_source_process(jack_nframes_t nframes, void *arg);
@@ -55,8 +55,8 @@ namespace gr {
bool d_ok_to_block;
jack_client_t *d_jack_client;
- static const int MAX_PORTS = 10;
- int d_portcount;
+ static const int MAX_PORTS = 10;
+ int d_portcount;
jack_port_t *d_jack_input_port[MAX_PORTS];
jack_ringbuffer_t *d_ringbuffer[MAX_PORTS];
jack_nframes_t d_jack_buffer_size;