RuntimeError: audio_oss_sink

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
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 Y.

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