# RuntimeError: audio\_oss\_sink

**URL:** <https://www.ruby-forum.com/t/runtimeerror-audio-oss-sink/239452>\
**Category:** GNU Radio\
**Created:** [February 26, 2014, 7:52pm UTC](https://www.ruby-forum.com/t/runtimeerror-audio-oss-sink/239452 "2014-02-26T19:52:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [February 26, 2014, 7:52pm UTC](https://www.ruby-forum.com/t/runtimeerror-audio-oss-sink/239452/1 "2014-02-26T19:52:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![regularfry](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@regularfry](https://www.ruby-forum.com/u/regularfry)\
**Post date:** [February 26, 2014, 10:55pm UTC](https://www.ruby-forum.com/t/runtimeerror-audio-oss-sink/239452/2 "2014-02-26T22:55:30Z")

</div>

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
