To run the test suite: ./run_test.sh sample_format sample_rate channels duration Where: sample_format can be one of S16_LE, S24_3LE, S32_LE sample_rate can be one of 44100, 48000, 96000 channels can be one of 1, 2, 4 duration is in the range 1 to 10 minutes The test suite creates a raw file with the specified parameters, runs a loopback test where the file gets played and recorded using the loopback network interface and checks that the recorded file, after the initial silence, contains the expected samples sequence. This test was developed to further investigate the issue #17.
29 lines
876 B
JSON
29 lines
876 B
JSON
{
|
|
"sources": [
|
|
{
|
|
"id": 0,
|
|
"enabled": true,
|
|
"name": "ALSA Source 0",
|
|
"io": "Audio Device",
|
|
"max_samples_per_packet": 48,
|
|
"codec": "L24",
|
|
"ttl": 15,
|
|
"payload_type": 98,
|
|
"dscp": 34,
|
|
"refclk_ptp_traceable": false,
|
|
"map": [ 0, 1 ]
|
|
} ],
|
|
"sinks": [
|
|
{
|
|
"id": 0,
|
|
"name": "ALSA Sink 0",
|
|
"io": "Audio Device",
|
|
"use_sdp": true,
|
|
"source": "http://127.0.0.1:8080/api/source/sdp/0",
|
|
"sdp": "v=0\no=- 657664 657666 IN IP4 127.0.0.1\ns=AES67 daemon 000a0900 ALSA Source 0\nc=IN IP4 239.1.0.1/15\nt=0 0\na=clock-domain:PTPv2 0\nm=audio 5004 RTP/AVP 98\nc=IN IP4 239.1.0.1/15\na=rtpmap:98 L24/48000/2\na=sync-time:0\na=framecount:48\na=ptime:1\na=mediaclk:direct=0\na=ts-refclk:ptp=IEEE1588-2008:00-1D-C1-FF-FE-50-36-33:0\na=recvonly\n",
|
|
"delay": 960,
|
|
"ignore_refclk_gmid": true,
|
|
"map": [ 0, 1 ]
|
|
} ]
|
|
}
|