discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] config.conf location


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] config.conf location
Date: Sat, 15 Sep 2012 12:14:20 -0400

On Thu, Sep 13, 2012 at 6:40 AM, Pol Henarejos <address@hidden> wrote:
> Dear list,
>
> I have my c++ app written using the audio module. Even though I placed the 
> [audio] audio_module=oss inside ~/.gnuradio/config.conf, the audio_make_sink 
> loads the ALSA sink. Moreover, if I execute dial_tone.py it takes correctly 
> the configuration in config.conf and uses the oss audio_sink.
>
> It seems that when I use python environment loads correctly the config.conf 
> but not my app. Do you know I have to specify some path, load command or 
> something?
>
> Thank you.
> --
> Pol Henarejos
> Research Engineer, MSc
> address@hidden

Pol,

That's one of the problems with working in two languages and having
some things defined one place and others in another place. It looks
like the Python and C++ preferences don't behave exactly the same.

Instead of putting the configuration info into your home directory
('~/.gnuradio/'), try putting it into the system configuration
directory ($prefix/etc/gnuradio/conf.d) into the gr-audio.conf file.

Tom



reply via email to

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