Example code from the API document not working on Linux

SDRPlay Independent Community Forum Forums SDR Software (RSP Compatible) Example code from the API document not working on Linux

  • This topic has 1 reply, 2 voices, and was last updated by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1243
    Sietse
    Participant

    Hello List,
    I try to use the example code from the SDRplay_API_Specification_v3.06 document on Linux.
    After implementing _kbhit and _getch functionality using select and read the code seems to run. The output is as follows.

    
    Requested TunerA Mode=Single_Tuner
    MaxDevs=6 NumDevs=1
    Dev0: SerNo=1710046220 hwVer=2 tuner=0x01
    chosenDevice = 0
    sdrplay_api_EventCb: sdrplay_api_GainChange, tuner=sdrplay_api_Tuner_A gRdB=40 lnaGRdB=34 systemGain=49.19
    sdrplay_api_StreamACallback: numSamples=1344
    

    But nothing else. So the callback is only called ONCE.
    I would assume a continuous stream of callbacks.
    Why are they not coming?

    Thanks in advance,
    Sietse

    #1322
    tkovacs
    Participant

    I’m having exactly the same experience. Is there a way to extract more debugging info from the sdrplay_apiService process?
    Is the code for sdrplay_apiService available?

    Thanks,
    Terry

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.