discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] RuntimeError: audio_oss_sink


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] RuntimeError: audio_oss_sink
Date: Wed, 26 Feb 2014 22:53:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hi Alex,
the dial_tone.py that comes with my version of GR from the git (docs/exploring-gnuradio/dial_tone.py) uses the audio_sink, and not the audio_oss_sink, and works quite fine on an alsa-only system.
Generally, when I grep my git repo for "oss_sink", only gr-audio/lib/oss/oss_sink.cc matches. Most probably you're using an ancient version of that script, where did you get that?

Greetings,
Marcus
On 02/26/2014 07:50 PM, Alex Young wrote:
I just installed gnuradio using pybombs, and the install appeared to complete with no errors.

When trying to run dial_tone.py, I receive the following error:

audio_oss_sink: /dev/dsp: No such file or directory
Traceback (most recent call last):
  File "./dial_tone.py", line 61, in <module>
    my_top_block().run()
  File "./dial_tone.py", line 55, in __init__
    dst = audio.sink(sample_rate, options.audio_output)
  File "/home/aryoung/work/target/lib/python2.7/dist-packages/gnuradio/audio/audio_swig.py", line 122, in make
    return _audio_swig.sink_make(*args, **kwargs)
RuntimeError: audio_oss_sink


I have tried using the flags '-O hw:0,0' and '-O plughw:0,0' with no success. I am running on Ubuntu 12.04 64bit, and have verified that the audio works otherwise (played some internet radio.)

Any ideas about what's going on here?

Thanks,
Alex Young


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


reply via email to

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