discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] another newbie


From: Matt Ettus
Subject: Re: [Discuss-gnuradio] another newbie
Date: Thu, 24 Mar 2005 16:14:32 -0800
User-agent: Internet Messaging Program (IMP) 4.0-cvs

Quoting LRK <address@hidden>:

> On Thu, Mar 24, 2005 at 02:11:05PM -0800, Eric Blossom wrote:
> >
> > None of the code is hardcoded to use ALSA or hw:0,0.
> >
> > Use the gr-audio-oss tarball instead.  You'll need Berndt's BSD
> > patches to make it work on BSD.  Check the archives for it.
>
> Audio_oss seems to make, check, and install Ok. When I run ./dial_tone.py
> I get the dial tone on the speakers. When I run ./mono_tone.py I get:
>
> audio_oss_sink: hw:0,0: No such file or directory
> terminate called after throwing an instance of 'std::runtime_error'
>   what():  audio_oss_sink
> audio: using audio_oss

The problem is that some of the demo code (like mono_tone.py) set the default
audio device to be hw:0,0 which only works for ALSA.  Try setting the device to
/dev/dsp using

./mono_tone -d /dev/dsp

The code should not default to hw:0,0 since that only works on some machines.

> audio_to_file.py and audio_play.py also work. audio_copy.py errors off.

The same thing applies to audio_copy.py -- it defaults to trying alsa.

Matt




reply via email to

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