My problem here: On Windows PC1, I've install gnuradio with gr-audio (using portaudio) from source code, write a program to read data from LineIn port on sound card. Every thing is OK.
On Windows PC2: 1. I copy the gnuradio dlls from PC1 to PC2 (don't install gnuradio), included portaudio.dll, QT4Core.dll, ... 2. Create a directory named *.gnuradio* in my *%HOME%*, here * C:\Users\LTP\.gnuradio*. In this directory create a file named *config.conf. *Set* *audio_module = portaudio. 3. Copy my program from PC1 to PC2. The program can run but it can't read data from LineIn port on sound card. Could you help me, please? LTP. On Mon, Aug 19, 2013 at 10:58 PM, Tom Rondeau <t...@trondeau.com> wrote: > On Wed, Aug 14, 2013 at 8:04 PM, Luong Tan Phong <phongl...@gmail.com> > wrote: > > Sorry for my misstake. > > > > When I move my program to new PC, it can't read data from soundcard. > > I'm still a little confused. > > You have a Windows machine that you can use with gr-audio. > > You have a /second/ Windows machine that cannot use gr-audio. > > Right? > > As I said, the native Windows interface in gr-audio does not work. But > if you are using portaudio on one Windows machine, make sure your > other machine is set up the exact same way to use portaudio there, > too. > > Tom > > > > On Aug 15, 2013 7:01 AM, "Luong Tan Phong" <phongl...@gmail.com> wrote: > >> > >> On the PC has installed gnuradio with portaudio, the 'audio_mode' has > set > >> portaudio in gr-audio.conf file. > >> When I move my program to a new PC, it can read data from soundcard and > I > >> don't know how to use gr-audio.conf file to configure gr-audio (where > to set > >> file conf, using it). > >> Could you help me, please? > >> > >> Thanks so much. > >> > >> Best regards. > >> > >> LTP. > >> > >> On Aug 15, 2013 4:31 AM, "Tom Rondeau" <t...@trondeau.com> wrote: > >>> > >>> On Tue, Aug 13, 2013 at 4:39 AM, Luong Tan Phong <phongl...@gmail.com> > >>> wrote: > >>> > Hi Lists, > >>> > > >>> > I've install gnuradio on Windows following the link: > >>> > > >>> > > http://voltronics.blogspot.com/2013/01/gnu-radio-windows-build-guide.html. > >>> > It's OK.After that, I've write program to read data from soundcard > with > >>> > gr-audio lib. It's OK (using portaudio lib). > >>> > > >>> > When I copy the program and all dll from gnuradio, QT,... into a > >>> > directory > >>> > on another PC, the program can run but it can't read data from > >>> > soundcard. > >>> > > >>> > Could you help me, please? > >>> > > >>> > Best regards. > >>> > > >>> > LTP. > >>> > >>> Windows native audio is currently not implemented (see But 521 on our > >>> issues tracker). We need someone willing to work on it to see if we > >>> can fix it. > >>> > >>> But it sounds like you had it working using portaudio, so maybe you > >>> just need to get portaudio working properly on the new machine. And > >>> look at the installed gr-audio.conf file to set 'audio_mode' to > >>> portaudio to make sure you're properly selecting that. > >>> > >>> -- > >>> Tom > >>> Visit us at GRCon13 Oct. 1 - 4 > >>> http://www.trondeau.com/grcon13 > > > > -- > Tom > Visit us at GRCon13 Oct. 1 - 4 > http://www.trondeau.com/grcon13 >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio