Skip to content

Commit 18798a1

Browse files
committed
retire old streaming mode in freedv_data_raw_rx
1 parent 01571af commit 18798a1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,21 +1127,21 @@ endif(NOT APPLE)
11271127
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
11281128
head -c $((14*10)) </dev/urandom > binaryIn.bin;
11291129
./freedv_data_raw_tx DATAC0 binaryIn.bin - --bursts 10 |
1130-
./freedv_data_raw_rx DATAC0 - binaryOut.bin --framesperburst 1 -v;
1130+
./freedv_data_raw_rx DATAC0 - binaryOut.bin -v;
11311131
diff binaryIn.bin binaryOut.bin")
11321132

11331133
add_test(NAME test_freedv_data_raw_ofdm_datac1_burst_file
11341134
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
11351135
head -c $((510*10)) </dev/urandom > binaryIn.bin;
11361136
./freedv_data_raw_tx DATAC1 binaryIn.bin - --bursts 10 |
1137-
./freedv_data_raw_rx DATAC1 - binaryOut.bin --framesperburst 1 -v;
1137+
./freedv_data_raw_rx DATAC1 - binaryOut.bin -v;
11381138
diff binaryIn.bin binaryOut.bin")
11391139

11401140
add_test(NAME test_freedv_data_raw_ofdm_datac3_burst_file
11411141
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
11421142
head -c $((126*10)) </dev/urandom > binaryIn.bin;
11431143
./freedv_data_raw_tx DATAC3 binaryIn.bin - --bursts 10 |
1144-
./freedv_data_raw_rx DATAC3 - binaryOut.bin --framesperburst 1 -v;
1144+
./freedv_data_raw_rx DATAC3 - binaryOut.bin -v;
11451145
diff binaryIn.bin binaryOut.bin")
11461146

11471147
# FSK LDPC default 100 bit/s 2FSK, enough noise for several % raw BER to give

src/freedv_data_raw_rx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ int main(int argc, char *argv[]) {
5555
int mode;
5656
int verbose = 0, use_testframes = 0;
5757
int mask = 0;
58-
int framesperburst = 0;
58+
int framesperburst = 1;
5959
FILE *foct = NULL;
6060
int quiet = 0;
6161
int single_line_summary = 0;
@@ -66,7 +66,7 @@ int main(int argc, char *argv[]) {
6666
fprintf(stderr, "\nusage: %s [options] FSK_LDPC|DATAC0|DATAC1|DATAC3 InputModemSpeechFile BinaryDataFile\n"
6767
" -v or --vv verbose options\n"
6868
" --testframes count raw and coded errors in testframes sent by tx\n"
69-
" --framesperburst N selects burst mode, N frames per burst (must match Tx)\n"
69+
" --framesperburst N N frames per burst (default 1, must match Tx)\n"
7070
" --scatter file write scatter diagram symbols to file (Octave text file format)\n"
7171
" --singleline single line summary at end of test, used for logging\n"
7272
" --quiet\n"

0 commit comments

Comments
 (0)