@@ -33,23 +33,23 @@ Note: if you have trouble establishing communication between these programs acro
3333computers especially on Windows, take a look at the NetworkConnectivity page and read the
3434Network Troubleshooting section.
3535
36- ## [ FAQs] ( https://github.com/labstreaminglayer/liblsl/blob/master/FAQ.md )
36+ ## [ FAQs] ( https://labstreaminglayer.readthedocs.io/info/faqs.html )
3737
3838## C Example Programs: Basic to Advanced
3939
4040These two example programs illustrate the bread-and-butter use of LSL as it is executing in almost
4141any device module that comes with the distribution:
4242
43- - [ Sending a multi-channel time series into LSL.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /SendDataC.c )
44- - [ Receiving a multi-channel time series from LSL.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /ReceiveDataC.c )
43+ - [ Sending a multi-channel time series into LSL.] ( https://github.com/sccn/liblsl /blob/main/examples /SendDataC.c )
44+ - [ Receiving a multi-channel time series from LSL.] ( https://github.com/sccn/liblsl /blob/main/examples /ReceiveDataC.c )
4545
4646
4747These two example programs illustrate a more special-purpose use case, namely sending arbitrary
4848string-formatted data at irregular sampling rate. Such streams are used by programs that produce
4949event markers, for example:
5050
51- - [ Sending a stream of strings with irregular timing.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /SendStringMarkersC.c )
52- - [ Receiving a stream of strings with irregular timing.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /ReceiveStringMarkersC.c )
51+ - [ Sending a stream of strings with irregular timing.] ( https://github.com/sccn/liblsl /blob/main/examples /SendStringMarkersC.c )
52+ - [ Receiving a stream of strings with irregular timing.] ( https://github.com/sccn/liblsl /blob/main/examples /ReceiveStringMarkersC.c )
5353
5454The last example shows how to attach properly formatted meta-data to a stream, and how to read it
5555out again at the receiving end.
@@ -61,22 +61,22 @@ the spec is [here](https://github.com/sccn/xdf/wiki/Meta-Data).
6161Note that some older example programs (SendData/ReceiveData) predate this convention and name the
6262channels inconsistently.
6363
64- - [ Handling stream meta-data.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /HandleMetaDataC.c )
64+ - [ Handling stream meta-data.] ( https://github.com/sccn/liblsl /blob/main/examples /HandleMetaDataC.c )
6565
6666## C++ Example Programs: Basic to Advanced
6767
6868These two example programs illustrate the shortest amount of code that is necessary to get a C++
6969program linked to LSL:
7070
71- - [ Minimal data sending example.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /SendDataSimple.cpp )
72- - [ Minimal data receiving example.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /ReceiveDataSimple.cpp )
71+ - [ Minimal data sending example.] ( https://github.com/sccn/liblsl /blob/main/examples /SendDataSimple.cpp )
72+ - [ Minimal data receiving example.] ( https://github.com/sccn/liblsl /blob/main/examples /ReceiveDataSimple.cpp )
7373
7474
7575These two example programs demonstrate how to write more complete LSL clients in C++ (they are 1:1
7676equivalents of the corresponding C programs):
7777
78- - [ Sending a multi-channel time series into LSL.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /SendData.cpp )
79- - [ Receiving a multi-channel time series from LSL.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /ReceiveData.cpp )
78+ - [ Sending a multi-channel time series into LSL.] ( https://github.com/sccn/liblsl /blob/main/examples /SendData.cpp )
79+ - [ Receiving a multi-channel time series from LSL.] ( https://github.com/sccn/liblsl /blob/main/examples /ReceiveData.cpp )
8080
8181These two programs transmit their data at the granularity of chunks instead of samples.
8282This is mostly a convenience matter, since inlets and outlets can be configured to automatically
@@ -86,17 +86,17 @@ of samples and data that is pushed as samples can be pulled out as chunks or vic
8686They also show how structs can be used to represent the sample data, instead of numeric arrays
8787(which is mostly a syntactic difference):
8888
89- - [ Sending a multi-channel time series at chunk granularity.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /SendDataInChunks.cpp )
90- - [ Receiving a multi-channel time series at chunk granularity.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /ReceiveDataInChunks.cpp )
89+ - [ Sending a multi-channel time series at chunk granularity.] ( https://github.com/sccn/liblsl /blob/main/examples /SendDataInChunks.cpp )
90+ - [ Receiving a multi-channel time series at chunk granularity.] ( https://github.com/sccn/liblsl /blob/main/examples /ReceiveDataInChunks.cpp )
9191
9292These two example programs illustrate a more special-purpose use case, namely sending arbitrary
9393string-formatted data at irregular sampling rate.
9494Such streams are used by programs that produce event markers, for example.
9595
9696These are 1:1 equivalents of the corresponding C programs:
9797
98- - [ Sending a stream of strings with irregular timing.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /SendStringMarkers.cpp )
99- - [ Receiving a stream of strings with irregular timing.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /ReceiveStringMarkers.cpp )
98+ - [ Sending a stream of strings with irregular timing.] ( https://github.com/sccn/liblsl /blob/main/examples /SendStringMarkers.cpp )
99+ - [ Receiving a stream of strings with irregular timing.] ( https://github.com/sccn/liblsl /blob/main/examples /ReceiveStringMarkers.cpp )
100100
101101The last example shows how to attach properly formatted meta-data to a stream, and how to read it
102102out again at the receiving end.
@@ -105,24 +105,24 @@ LSL has adopted the convention to name meta-data fields according to the XDF fil
105105specification whenever the content type matches (for example EEG, Gaze, MoCap, VideoRaw, etc);
106106the spec is [ here] ( https://github.com/sccn/xdf/wiki/Meta-Data ) .
107107
108- - [ Handling stream meta-data.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /HandleMetaData.cpp )
108+ - [ Handling stream meta-data.] ( https://github.com/sccn/liblsl /blob/main/examples /HandleMetaData.cpp )
109109
110110## C/C++ Special-Purpose Example Programs
111111
112112These programs illustrate some special use cases of LSL that are also relevant for C programmers.
113113See the lsl\_ c.h header for the corresponding C APIs (they are very similar to the C++ code shown here).
114114
115115This example illustrates in more detail how streams can be resolved on the network:
116- - [ Resolving all streams on the lab network, one-shot and continuous.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /GetAllStreams.cpp )
116+ - [ Resolving all streams on the lab network, one-shot and continuous.] ( https://github.com/sccn/liblsl /blob/main/examples /GetAllStreams.cpp )
117117
118118This example shows how to query the full XML meta-data of a stream (which may be several megabytes large):
119- - [ Retrieving the XML meta-data of a stream.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /GetFullinfo.cpp )
119+ - [ Retrieving the XML meta-data of a stream.] ( https://github.com/sccn/liblsl /blob/main/examples /GetFullinfo.cpp )
120120
121121This example shows how to obtain time-correction values for a given stream.
122122These time-correction values are offsets (in seconds) that are used to remap any stream's timestamps
123123into the own local clock domain (just by adding the offset to the timestamp):
124124
125- - [ Querying the time-correction information for a stream.] ( https://github.com/labstreaminglayer/App-Examples /blob/master /GetTimeCorrection.cpp )
125+ - [ Querying the time-correction information for a stream.] ( https://github.com/sccn/liblsl /blob/main/examples /GetTimeCorrection.cpp )
126126
127127## License
128128
0 commit comments