Quoting LRK <[EMAIL PROTECTED]>:

> 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


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

Reply via email to