Mercurial > hg > svapp
comparison audioio/AudioJACKTarget.cpp @ 110:f57047e0522b
* Merge rev 1048 (build fixes) from rdf-import branch
author | Chris Cannam |
---|---|
date | Tue, 29 Apr 2008 09:44:44 +0000 |
parents | 9c5c1989d0f8 |
children | 2bc8bf6d016c |
comparison
equal
deleted
inserted
replaced
109:2dd30a7cd21a | 110:f57047e0522b |
---|---|
18 #include "AudioJACKTarget.h" | 18 #include "AudioJACKTarget.h" |
19 #include "AudioCallbackPlaySource.h" | 19 #include "AudioCallbackPlaySource.h" |
20 | 20 |
21 #include <iostream> | 21 #include <iostream> |
22 #include <cmath> | 22 #include <cmath> |
23 | |
24 #include <alloca.h> | |
23 | 25 |
24 //#define DEBUG_AUDIO_JACK_TARGET 1 | 26 //#define DEBUG_AUDIO_JACK_TARGET 1 |
25 | 27 |
26 #ifdef BUILD_STATIC | 28 #ifdef BUILD_STATIC |
27 #ifdef Q_OS_LINUX | 29 #ifdef Q_OS_LINUX |
352 while (m_outputs.size() < channels) { | 354 while (m_outputs.size() < channels) { |
353 | 355 |
354 char name[20]; | 356 char name[20]; |
355 jack_port_t *port; | 357 jack_port_t *port; |
356 | 358 |
357 sprintf(name, "out %d", m_outputs.size() + 1); | 359 sprintf(name, "out %d", int(m_outputs.size() + 1)); |
358 | 360 |
359 port = jack_port_register(m_client, | 361 port = jack_port_register(m_client, |
360 name, | 362 name, |
361 JACK_DEFAULT_AUDIO_TYPE, | 363 JACK_DEFAULT_AUDIO_TYPE, |
362 JackPortIsOutput, | 364 JackPortIsOutput, |