# Re: RuntimeError: audio\_oss\_sink

**URL:** <https://www.ruby-forum.com/t/re-runtimeerror-audio-oss-sink/239491>\
**Category:** GNU Radio\
**Created:** [March 1, 2014, 3:15am UTC](https://www.ruby-forum.com/t/re-runtimeerror-audio-oss-sink/239491 "2014-03-01T03:15:41Z")\
**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:** [March 1, 2014, 3:15am UTC](https://www.ruby-forum.com/t/re-runtimeerror-audio-oss-sink/239491/1 "2014-03-01T03:15:41Z")

</div>

> > missing dependency for audio support for Ubuntu

Hi Tom

op25 is more or less out of business without GR audio support - is there  
a way to add something in the gr-op25 pybombs recipe to specify that  
audio should be included as a ‘depends’ prerequisite? Thx to Scott for  
finding this and reporting it - many users would not be in a position to  
diagnose and repair this, so it would be better if we could automate it.  
To me it’s not so much an issue specific to OSS, but rather a generic  
question of how to ensure that audio capability isn’t omitted (whatever  
audio flavor the OS/distro happens to use for standard audio support).

The goal would I think be to get pybombs to build stuff in the correct  
order so that by the time it gets finished with gnuradio, audio is  
already done - that way it would not be necessary for the user to  
rebuild anything (which might be beyond the capability of many users).  
Ideally we want to get to a place where the end user just clones pybombs  
and runs ‘pybombs install gr-op25’ and all the necessary stuff happens  
behind the scenes - including audio support…

Thx & Best Regards

Max

---

<div class="post-metadata">

**Author:** ![ikjtel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/bc8723/32.png) [@ikjtel](https://www.ruby-forum.com/u/ikjtel)\
**Post date:** [March 1, 2014, 3:46pm UTC](https://www.ruby-forum.com/t/re-runtimeerror-audio-oss-sink/239491/2 "2014-03-01T15:46:25Z")

</div>

On Fri, Feb 28, 2014 at 9:11 PM, ikjtel [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> to ensure that audio capability isn’t omitted (whatever audio flavor the  
> Thx & Best Regards
> 
> Max

Hey Max,

I’ll keep this in mind and try to figure out how best to handle this  
in cmake. The problem with trying to make a depends in PyBOMBS is in  
trying to figure out which audio subsystem you have available to you.  
We have alsa, oss, jack, portaudio, osx, and windows audio and there’s  
no guarantee that any one of these will be available or work on your  
given machine. So we can’t add asound-dev, for instance, as a  
dependency because you might not be able to actually use ALSA (of  
course, these days, you most likely can as long as you’re running  
Linux, but Linux and audio have a painful history – cue rant from  
Marcus L.).

I think the best way we can help is to make it blatantly obvious what  
audio subsystems GNU Radio was built to support, make sure the  
gr-audio.conf provides the means to access them, and then have OP25  
(or any other project) use the configuration files to set up the audio  
devices from this (for help with accessing preferences, see the front  
page of the manual under Configuration / Preference Files).

Tom
