discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Portaudio Audio Source in Windows


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Portaudio Audio Source in Windows
Date: Fri, 6 May 2016 10:14:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Huh, can you verify portaudio is in the output of "gnuradio-config-info --enabled-components" ?

Can you add another section,


[audio_portaudio]
verbose = true

Just to verify: you're using the "[..]" section headers correctly, and the rest of the conf file looks ungarbled, right?

We might be encountering a case where the config file simply isn't read; as a quick test:
Close all gnuradio-companions, add

[grc]
canvas_default_size = 100,100

to that file, and open up the companion – your canvas size should now be 100x100px. Is that the case?

Best regards,
Marcus

On 06.05.2016 00:20, Tony Richardson wrote:
Thanks, but I've tried that (setting "audio_module = portaudio").  It doesn't appear to have the desired effect.

Tony

On Thu, May 5, 2016 at 4:26 PM, Marcus Müller <address@hidden> wrote:
Sorry, not currently running any Windows VM, but in the spirit of giving you the info you need as fast as possible:

Quick lecture of the audio sink/source factory tells me that under windows, by default the windows audio architecture is used.
So to use portaudio instead, you need to have a GNU Radio config file (under unixoids, that's ~/.gnuradio/config.conf), and add

[audio]
audio_module= portaudio


Best regards,
Marcus

On 05.05.2016 22:59, Tony Richardson wrote:
I'm using the pre-built Win64 binary of GNURadio listed on the gnuradio.org site.  The portaudio library was included as part of the Win64 build, but I can't seem to figure out how to use it instead of the default windows audio.  (I want an audio source and the windows audio source does not work.)  I've tried putting "audio_module = portaudio" (and "audio_module = audio_portaudio") in the config.conf file, but when I run a simple flowgraph that includes an audio source and sink, I see:

INFO: Audio source arch: windows
INFO: Audio sink arch: windows

in the console and there is no sound.  I assume the lines above are telling me that the windows audio devices are being used and not the desired portaudio devices.  I have tried leaving the device name in the audio source blank as well as trying "0" and "hw:0,0", but still see the messages above.  Can someone tell me how to configure audio for portaudio or is it just not supported?

Tony Richardson


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

[Prev in Thread] Current Thread [Next in Thread]