Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple audio source. #9

Open
bdn76 opened this issue Feb 29, 2016 · 4 comments
Open

Multiple audio source. #9

bdn76 opened this issue Feb 29, 2016 · 4 comments

Comments

@bdn76
Copy link

bdn76 commented Feb 29, 2016

I'm try to use four FCD pro on remote PC via CubicSDR/SoapyRemote/SoapyAudio:

  1. How can i select FCD dongle? I'm see only one device - PulseAudio and can not specify source (if i connect to remote PC via SSH then i can select FCD via switch audio source but switch audio source via SoapyRemote impossible).
  2. FCD pro sample rate is 192k but only 96k may be selected via SoapyAudio.
  3. I'm can not freq manipulate via hamlib - rigctl work (i'm can not specify FCD dongle, but i can see freq from first of all), but freq not show in CubicSDR.
@guruofquality
Copy link
Contributor

How can i select FCD dongle? I'm see only one device - PulseAudio and can not specify source (if i connect to remote PC via SSH then i can select FCD via switch audio source but switch audio source via SoapyRemote impossible).

So I think most of this is a matter of proper device selection. @cjcliffe Is SoapyAudio missing a way to specify the device? If I was using portaudio, it would report perhaps a dozen audio devices. Currently I have SoapyAudio's rtaudio built with pulse support and it reports only one device.

Found device 0
  default_input = True
  default_output = True
  device_id = 0
  driver = audio
  label = PulseAudio

I haven't tried jack support though. Just curious, what have you been doing for rtaudio linux support (jack/pulse/oss)? Or am I missing something obvious :-)

FCD pro sample rate is 192k but only 96k may be selected via SoapyAudio.

This also might be an issue of selecting the correct audio device. The rates are just forwarded from rtaudio getDeviceInfo().

I'm can not freq manipulate via hamlib - rigctl work (i'm can not specify FCD dongle, but i can see freq from first of all), but freq not show in CubicSDR.

Thats good news in a way. Adding proper FCD support means figuring out which API calls rigctl makes and adding this to SoapyAudio::setFrequency(). @bdn76 What was your rigctl command line options? That would help me trace through the software to see what calls its making.

@bdn76
Copy link
Author

bdn76 commented Mar 1, 2016

fcd1@oem-desktop:/src/openwebrx$ /opt/hamlib/bin/rigctl -m 2518 f
434500000
fcd1@oem-desktop:
/src/openwebrx$

But via hamlib i can not select FCD (i'm opened issue in hamlib).

@guruofquality
Copy link
Contributor

Hey, sorry, I didn't forget about this. It looks like there are two problems

Do you know which audio backend SoapyAudio was compiled with? There are several other backends depending upon the cmake options: https://github.com/pothosware/SoapyAudio/blob/master/CMakeLists.txt#L87

@bdn76
Copy link
Author

bdn76 commented Mar 13, 2016

Yes, you are right. PulseAudio backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants