afaik, the server/client terminology in jacktrip only relates to the
process of initiating the connection: the server waits for the client to
connect to the server.
jacktrip doesn't allow multiple clients to connect to a single server
(writing multi-client servers communicating over UDP is a bit tricky),
you need 1 server and 1 client for each connection.
since a certain UDP port can only be used by one application on your
computer, you will need to use the "port-offset" flag;
something like:
server:~$ jacktrip -s --clientname Client0 -o 0 &
server:~$ jacktrip -s --clientname Client1 -o 10 &
server:~$ jacktrip -s --clientname Client2 -o 20 &
server:~$ jacktrip -s --clientname Client3 -o 30 &
server:~$ jacktrip -s --clientname Client4 -o 40 &
server:~$ jacktrip -s --clientname Client5 -o 50 &
server:~$ jacktrip -s --clientname Client6 -o 60
client0:~$ jacktrip -c IP_SERVER --clientname Server -o 0
client1:~$ jacktrip -c IP_SERVER --clientname Server -o 10
client2:~$ jacktrip -c IP_SERVER --clientname Server -o 20
client3:~$ jacktrip -c IP_SERVER --clientname Server -o 30
client4:~$ jacktrip -c IP_SERVER --clientname Server -o 40
client5:~$ jacktrip -c IP_SERVER --clientname Server -o 50
client6:~$ jacktrip -c IP_SERVER --clientname Server -o 60
,fgasr
IOhannes
Thanks IOhannes for the answer. That's the way of doing it with the
current version.
There is actually also a way of doing what you want with the trunk
version (you have to compile it). Right now it uses any UDP port between
61000-62000, which you'd need to open in your firewall. UDP and TCP 4464
is used to establish communication.
I haven't tested with in a while but it should still be working. To run
the server in this mode, you type (note the Capital S):
jacktrip -S
And then you run each client as (note the Capital C):
jacktrip -C IP_SERVER
The new version has this and many other improvements. The reason I
haven't released it is that the header will change, so it'll won't be
compatilbe with the older version, so I want to make sure I have a
stable header for future versions.
And yes, we need a better documentation. I think the best is to add it
to the wiki in the googlecode page. If anyone is interested in helping
in that please let me know.
Best!
JPC
On 12/08/2010 03:27 PM, Juan-Pablo Caceres wrote:
>
> The new version has this and many other improvements. The reason I
> haven't released it is that the header will change, so it'll won't be
are you talking about the header-files (.h) or the packet-header?
iirc, the packet-header also changed between 1.0.4 and 1.0.5 (at least
one cannot mix the two versions).
> compatilbe with the older version, so I want to make sure I have a
> stable header for future versions.
great
>
> And yes, we need a better documentation. I think the best is to add it
though the original problem is a rather generic networking problem.
speaking of which, does anybody now a multi-client UDP-server?
(i've been trying to implement one, but would like to have
more/other/better ideas on how to implement "connection-tracking")
fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkz/2iIACgkQkX2Xpv6ydvTicQCgkPhvI8RenZBqAIFP0QWff2pb
4CkAnA1hpRP6E5iFIwHnONPms8NdDmtV
=Fvgz
-----END PGP SIGNATURE-----
On 12/8/10 4:18 PM, IOhannes m zm�lnig wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 12/08/2010 03:27 PM, Juan-Pablo Caceres wrote:
>>
>> The new version has this and many other improvements. The reason I
>> haven't released it is that the header will change, so it'll won't be
>
> are you talking about the header-files (.h) or the packet-header?
>
> iirc, the packet-header also changed between 1.0.4 and 1.0.5 (at least
> one cannot mix the two versions).
That's correct, and what I want to avoid in the future, if possible.
>> compatilbe with the older version, so I want to make sure I have a
>> stable header for future versions.
>
> great
>
>
>>
>> And yes, we need a better documentation. I think the best is to add it
>
> though the original problem is a rather generic networking problem.
> speaking of which, does anybody now a multi-client UDP-server?
> (i've been trying to implement one, but would like to have
> more/other/better ideas on how to implement "connection-tracking")
Yes, it's a generic UDP server issue. There's no standard way of writing
those severs, so ad-hoc solutions are used. We have documented our
approach in this paper, if you're interested:
https://ccrma.stanford.edu/~jcaceres/publications/PDFs/2009-caceres_chafe-SMC-jacktripmulticlient.pdf
I'll be happy to hear your ideas on it!
Best,
JPC
I don't think it'll work in jacktrip-1.0.5.patch2. You need to get the
latest svn here:
http://code.google.com/p/jacktrip/source/checkout
Let me know how it goes that way.
Best!
JPC
Can you copy the entire error message? Rt audio comes included in
trunk/jacktrip/externals/includes/rtaudio-4.0.7, so it has to be
something else. The other dependencies you mention should be qt4-devel
and jack-audio-connection-kit-devel.
Let me know how it goes,
JPC
On 12/10/10 12:47 PM, leyoy wrote:
>
>> Can you copy the entire error message? Rt audio comes included in
>> trunk/jacktrip/externals/includes/rtaudio-4.0.7, so it has to be
>> something else.
>
> here's the error log !:
>
> Building on Linux
> Project MESSAGE: Linux
> Project MESSAGE: Linux
> Project MESSAGE: Linux
> make -f Makefile.Release clean
> make[1]: entrant dans le r�pertoire � /home/leyoy/logitec/jacktrip-
> read-only/src �
> rm -f release/moc_DataProtocol.cpp release/moc_JackTrip.cpp release/
> moc_JackTripWorker.cpp release/moc_JackTripWorkerMessages.cpp release/
> moc_NetKS.cpp release/moc_PacketHeader.cpp release/moc_Settings.cpp
> release/moc_ThreadPoolTest.cpp release/moc_UdpDataProtocol.cpp release/
> moc_UdpMasterListener.cpp
> rm -f release/DataProtocol.o release/JackTrip.o release/
> jacktrip_globals.o release/jacktrip_main.o release/JackTripThread.o
> release/JackTripWorker.o release/LoopBack.o release/PacketHeader.o
> release/ProcessPlugin.o release/RingBuffer.o release/Settings.o
> release/UdpDataProtocol.o release/UdpMasterListener.o release/
> AudioInterface.o release/RtAudioInterface.o release/
> JackAudioInterface.o release/RtAudio.o release/moc_DataProtocol.o
> release/moc_JackTrip.o release/moc_JackTripWorker.o release/
> moc_JackTripWorkerMessages.o release/moc_NetKS.o release/
> moc_PacketHeader.o release/moc_Settings.o release/moc_ThreadPoolTest.o
> release/moc_UdpDataProtocol.o release/moc_UdpMasterListener.o
> rm -f -r ./jacktrip ./jacktrip_debug ./release ./debug
> rm -f *~ core *.core
> make[1]: quittant le r�pertoire � /home/leyoy/logitec/jacktrip-read-
> only/src �
> make -f Makefile.Debug clean
> make[1]: entrant dans le r�pertoire � /home/leyoy/logitec/jacktrip-
> read-only/src �
> rm -f debug/moc_DataProtocol.cpp debug/moc_JackTrip.cpp debug/
> moc_JackTripWorker.cpp debug/moc_JackTripWorkerMessages.cpp debug/
> moc_NetKS.cpp debug/moc_PacketHeader.cpp debug/moc_Settings.cpp debug/
> moc_ThreadPoolTest.cpp debug/moc_UdpDataProtocol.cpp debug/
> moc_UdpMasterListener.cpp
> rm -f debug/DataProtocol.o debug/JackTrip.o debug/jacktrip_globals.o
> debug/jacktrip_main.o debug/JackTripThread.o debug/JackTripWorker.o
> debug/LoopBack.o debug/PacketHeader.o debug/ProcessPlugin.o debug/
> RingBuffer.o debug/Settings.o debug/UdpDataProtocol.o debug/
> UdpMasterListener.o debug/AudioInterface.o debug/RtAudioInterface.o
> debug/JackAudioInterface.o debug/RtAudio.o debug/moc_DataProtocol.o
> debug/moc_JackTrip.o debug/moc_JackTripWorker.o debug/
> moc_JackTripWorkerMessages.o debug/moc_NetKS.o debug/
> moc_PacketHeader.o debug/moc_Settings.o debug/moc_ThreadPoolTest.o
> debug/moc_UdpDataProtocol.o debug/moc_UdpMasterListener.o
> rm -f -r ./jacktrip ./jacktrip_debug ./release ./debug
> rm -f *~ core *.core
> make[1]: quittant le r�pertoire � /home/leyoy/logitec/jacktrip-read-
> only/src �
> rm -f -r
> rm -f ./jacktrip
> rm -f ./jacktrip_debug
> rm -f ./release
> rm -f ./debug
> Project MESSAGE: Linux
> Project MESSAGE: Linux
> Project MESSAGE: Linux
> make -f Makefile.Release
> make[1]: entrant dans le r�pertoire � /home/leyoy/logitec/jacktrip-
> read-only/src �
> forbids declaration of �snd_pcm_t� with no type
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5074: error: expected
> �;� before �*� token
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp: In member function
> �virtual unsigned int RtApiAlsa::getDeviceCount()�:
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5100: error:
> �snd_ctl_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5100: error: �handle�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5104: error:
> �snd_card_next� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5106: error: �sprintf�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5107: error:
> �snd_ctl_open� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5109: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5116: error:
> �snd_ctl_pcm_next_device� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5118: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5128: error:
> �snd_ctl_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp: In member function
> �virtual RtAudio::DeviceInfo RtApiAlsa::getDeviceInfo(unsigned int)�:
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5143: error:
> �snd_ctl_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5143: error: �chandle�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5147: error:
> �snd_card_next� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5149: error: �sprintf�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5150: error:
> �SND_CTL_NONBLOCK� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5150: error:
> �snd_ctl_open� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5152: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5159: error:
> �snd_ctl_pcm_next_device� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5161: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5174: error:
> �snd_ctl_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5202: error:
> �SND_PCM_ASYNC� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5203: error:
> �snd_pcm_stream_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5203: error: expected
> �;� before �stream�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5204: error:
> �snd_pcm_info_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5204: error: �pcminfo�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5205: error:
> �snd_pcm_info_alloca� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5206: error:
> �snd_pcm_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5206: error: �phandle�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5207: error:
> �snd_pcm_hw_params_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5207: error: �params�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5208: error:
> �snd_pcm_hw_params_alloca� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5211: error: �stream�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5211: error:
> �SND_PCM_STREAM_PLAYBACK� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5212: error:
> �snd_pcm_info_set_device� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5213: error:
> �snd_pcm_info_set_subdevice� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5214: error:
> �snd_pcm_info_set_stream� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5216: error:
> �snd_ctl_pcm_info� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5222: error:
> �SND_PCM_NONBLOCK� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5222: error:
> �snd_pcm_open� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5224: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5231: error:
> �snd_pcm_hw_params_any� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5233: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5234: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5242: error:
> �snd_pcm_hw_params_get_channels_max� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5244: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5245: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5251: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5255: error:
> �SND_PCM_STREAM_CAPTURE� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5259: error:
> �snd_ctl_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5268: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5279: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5289: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5323: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5333: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5342: error:
> �snd_pcm_hw_params_test_rate� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5354: error:
> �snd_pcm_format_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5354: error: expected
> �;� before �format�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5356: error: �format�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5356: error:
> �SND_PCM_FORMAT_S8� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5357: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5359: error:
> �SND_PCM_FORMAT_S16� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5360: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5362: error:
> �SND_PCM_FORMAT_S24� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5363: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5365: error:
> �SND_PCM_FORMAT_S32� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5366: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5368: error:
> �SND_PCM_FORMAT_FLOAT� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5369: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5371: error:
> �SND_PCM_FORMAT_FLOAT64� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5372: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5385: error:
> �snd_card_get_name� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5387: error: �sprintf�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp: In member function
> �virtual bool RtApiAlsa::probeDeviceOpen(unsigned int,
> RtApi::StreamMode, unsigned int, unsigned int, unsigned int,
> RtAudioFormat, unsigned int*, RtAudio::StreamOptions*)�:
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5422: error:
> �snd_ctl_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5422: error: �chandle�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5426: error:
> �snd_card_next� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5428: error: �sprintf�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5429: error:
> �SND_CTL_NONBLOCK� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5429: error:
> �snd_ctl_open� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5431: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5437: error:
> �snd_ctl_pcm_next_device� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5442: error:
> �snd_ctl_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5447: error:
> �snd_ctl_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5471: error:
> �snd_pcm_stream_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5471: error: expected
> �;� before �stream�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5473: error: �stream�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5473: error:
> �SND_PCM_STREAM_PLAYBACK� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5475: error: �stream�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5475: error:
> �SND_PCM_STREAM_CAPTURE� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5477: error:
> �snd_pcm_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5477: error: �phandle�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5478: error:
> �SND_PCM_ASYNC� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5479: error: �stream�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5479: error:
> �snd_pcm_open� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5490: error:
> �snd_pcm_hw_params_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5490: error:
> �hw_params� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5491: error:
> �snd_pcm_hw_params_alloca� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5492: error:
> �snd_pcm_hw_params_any� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5494: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5495: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5508: error:
> �SND_PCM_ACCESS_RW_NONINTERLEAVED� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5508: error:
> �snd_pcm_hw_params_set_access� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5510: error:
> �SND_PCM_ACCESS_RW_INTERLEAVED� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5518: error:
> �SND_PCM_ACCESS_RW_INTERLEAVED� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5518: error:
> �snd_pcm_hw_params_set_access� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5520: error:
> �SND_PCM_ACCESS_RW_NONINTERLEAVED� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5528: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5529: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5536: error:
> �snd_pcm_format_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5536: error: expected
> �;� before �deviceFormat�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5539: error:
> �deviceFormat� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5539: error:
> �SND_PCM_FORMAT_S8� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5541: error:
> �deviceFormat� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5541: error:
> �SND_PCM_FORMAT_S16� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5543: error:
> �deviceFormat� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5543: error:
> �SND_PCM_FORMAT_S24� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5545: error:
> �deviceFormat� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5545: error:
> �SND_PCM_FORMAT_S32� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5547: error:
> �deviceFormat� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5547: error:
> �SND_PCM_FORMAT_FLOAT� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5549: error:
> �deviceFormat� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5549: error:
> �SND_PCM_FORMAT_FLOAT64� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5551: error:
> �deviceFormat� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5551: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5557: error:
> �deviceFormat� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5557: error:
> �SND_PCM_FORMAT_FLOAT64� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5558: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5563: error:
> �SND_PCM_FORMAT_FLOAT� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5564: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5569: error:
> �SND_PCM_FORMAT_S32� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5570: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5575: error:
> �SND_PCM_FORMAT_S24� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5576: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5581: error:
> �SND_PCM_FORMAT_S16� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5582: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5587: error:
> �SND_PCM_FORMAT_S8� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5588: error:
> �snd_pcm_hw_params_test_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5599: error:
> �snd_pcm_hw_params_set_format� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5601: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5602: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5610: error:
> �snd_pcm_format_cpu_endian� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5614: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5615: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5622: error:
> �snd_pcm_hw_params_set_rate_near� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5624: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5625: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5634: error:
> �snd_pcm_hw_params_get_channels_max� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5637: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5638: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5643: error:
> �snd_pcm_hw_params_get_channels_min� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5645: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5646: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5655: error:
> �snd_pcm_hw_params_set_channels� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5657: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5658: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5670: error:
> �snd_pcm_uframes_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5670: error: expected
> �;� before �periodSize�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5671: error:
> �periodSize� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5671: error:
> �snd_pcm_hw_params_set_period_size_near� was not declared in this
> scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5673: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5674: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5684: error:
> �snd_pcm_hw_params_set_periods_near� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5686: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5687: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5703: error:
> �snd_pcm_hw_params� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5705: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5706: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5717: error:
> �snd_pcm_sw_params_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5717: error:
> �sw_params� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5718: error:
> �snd_pcm_sw_params_alloca� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5719: error:
> �snd_pcm_sw_params_current� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5720: error:
> �snd_pcm_sw_params_set_start_threshold� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5721: error:
> �snd_pcm_sw_params_set_stop_threshold� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5722: error:
> �snd_pcm_sw_params_set_silence_threshold� was not declared in this
> scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5730: error: expected
> �;� before �val�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5731: error: �val� was
> not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5731: error:
> �snd_pcm_sw_params_get_boundary� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5732: error:
> �snd_pcm_sw_params_set_silence_size� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5734: error:
> �snd_pcm_sw_params� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5736: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5737: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5774: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5775: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5780: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5827: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5827: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5827: error:
> �snd_pcm_link� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5882: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5882: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5882: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5883: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5883: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5883: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp: In member function
> �virtual void RtApiAlsa::closeStream()�:
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5922: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5922: error:
> �snd_pcm_drop� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5924: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5924: error:
> �snd_pcm_drop� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5929: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5929: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5929: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5930: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5930: error: �struct
> AlsaHandle� has no member named �handles�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5930: error:
> �snd_pcm_close� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp: In member function
> �virtual void RtApiAlsa::startStream()�:
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5965: error:
> �snd_pcm_state_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5965: error: expected
> �;� before �state�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5967: error:
> �snd_pcm_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5967: error: �handle�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5967: error: expected
> primary-expression before �)� token
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5967: error: expected
> �;� before �apiInfo�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5969: error: �state�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5969: error:
> �snd_pcm_state� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5970: error:
> �SND_PCM_STATE_PREPARED� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5971: error:
> �snd_pcm_prepare� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5973: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5981: error: �state�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5981: error:
> �snd_pcm_state� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5982: error:
> �SND_PCM_STATE_PREPARED� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5983: error:
> �snd_pcm_prepare� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:5985: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp: In member function
> �virtual void RtApiAlsa::stopStream()�:
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6021: error:
> �snd_pcm_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6021: error: �handle�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6021: error: expected
> primary-expression before �)� token
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6021: error: expected
> �;� before �apiInfo�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6024: error:
> �snd_pcm_drop� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6026: error:
> �snd_pcm_drain� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6028: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6035: error:
> �snd_pcm_drop� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6037: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp: In member function
> �virtual void RtApiAlsa::abortStream()�:
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6069: error:
> �snd_pcm_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6069: error: �handle�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6069: error: expected
> primary-expression before �)� token
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6069: error: expected
> �;� before �apiInfo�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6071: error:
> �snd_pcm_drop� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6073: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6080: error:
> �snd_pcm_drop� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6082: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp: In member function
> �void RtApiAlsa::callbackEvent()�:
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6143: error:
> �snd_pcm_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6143: error: �handle�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6144: error:
> �snd_pcm_sframes_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6144: error: expected
> �;� before �frames�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6146: error: expected
> primary-expression before �)� token
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6146: error: expected
> �;� before �apiInfo�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6164: error:
> �snd_pcm_readi� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6170: error:
> �snd_pcm_readn� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6175: error: �EPIPE�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6176: error:
> �snd_pcm_state_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6176: error: expected
> �;� before �state�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6177: error: �state�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6177: error:
> �SND_PCM_STATE_XRUN� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6179: error:
> �snd_pcm_prepare� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6181: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6186: error:
> �snd_pcm_state_name� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6186: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6191: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6207: error: �frames�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6207: error:
> �snd_pcm_delay� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6234: error:
> �snd_pcm_writei� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6240: error:
> �snd_pcm_writen� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6245: error: �EPIPE�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6246: error:
> �snd_pcm_state_t� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6246: error: expected
> �;� before �state�
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6247: error: �state�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6247: error:
> �SND_PCM_STATE_XRUN� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6249: error:
> �snd_pcm_prepare� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6251: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6256: error:
> �snd_pcm_state_name� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6256: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6261: error:
> �snd_strerror� was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6269: error: �frames�
> was not declared in this scope
> ../externals/includes/rtaudio-4.0.7/RtAudio.cpp:6269: error:
> �snd_pcm_delay� was not declared in this scope
> make[1]: *** [release/RtAudio.o] Erreur 1
> make[1]: quittant le r�pertoire � /home/leyoy/logitec/jacktrip-read-
> only/src �
It *may* be that the processor is not able to spawn another thread, but
if it's a modern machine it should be able to handle 5 machines no
problem. What machine are you using? Also, I should get an better log
when this happen. As I said this hasn't been tested that much.
If you have some time, can you check on your processor load? Also, can
you connect the "old way" (running a different instance with a different
port, as explained in earlier emails in this thread)?
Best!
JPC