[FFmpeg-cvslog] [ffmpeg-radio] 02/06: avradio/sdrinradio: Print all tunable elements

Michael Niedermayer ffmpeg-git at ffmpeg.org
Wed Jul 19 00:42:53 EEST 2023


This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository libavradio.

commit 9000c6dc4b6a22b6dfcdd0a2615876e474a42eee
Author:     Michael Niedermayer <michael at niedermayer.cc>
AuthorDate: Sat Jul 15 23:46:22 2023 +0200
Commit:     Michael Niedermayer <michael at niedermayer.cc>
CommitDate: Sat Jul 15 23:46:22 2023 +0200

    avradio/sdrinradio: Print all tunable elements
    
    Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavradio/sdrinradio.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavradio/sdrinradio.c b/libavradio/sdrinradio.c
index f078d27e7b..3956c18375 100644
--- a/libavradio/sdrinradio.c
+++ b/libavradio/sdrinradio.c
@@ -184,6 +184,10 @@ static int sdrindev_initial_hw_setup(AVFormatContext *s)
     names = SoapySDRDevice_listAntennas(soapy, SOAPY_SDR_RX, 0, &length);
     print_and_free_list(s, names, length, "Antennas");
 
+    //Go over all tunable elements
+    names = SoapySDRDevice_listFrequencies(soapy, SOAPY_SDR_RX, 0, &length);
+    print_and_free_list(s, names, length, "Tunables");
+
     //Go over all Gain Elements and print them
     names = SoapySDRDevice_listGains(soapy, SOAPY_SDR_RX, 0, &length);
     print_and_free_list(s, names, length, "Rx Gain Elements");



More information about the ffmpeg-cvslog mailing list