[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] another newbie
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] another newbie |
Date: |
Thu, 24 Mar 2005 16:45:13 -0800 |
User-agent: |
Mutt/1.5.6i |
On Thu, Mar 24, 2005 at 06:02:33PM -0600, LRK wrote:
> 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
>
> audio_to_file.py and audio_play.py also work. audio_copy.py errors off.
>
> I think this is different from what I find in the archives. If not, I may
> just need a better pointer to the patches.
address@hidden audio]$ ./mono_tone.py --help
usage: mono_tone.py [options]
options:
-h, --help show this help message and exit
-dDEVICE, --device=DEVICE
pcm device name. E.g., hw:0,0
For OSS audio, try using -d /dev/dsp
Basically the -d device option provides the argument passed into
whatever audio module you've got loaded. OSS and ALSA use different
syntax.
Eric