# Alsa instead of OSS

**URL:** <https://www.ruby-forum.com/t/alsa-instead-of-oss/65824>\
**Category:** Ruby-Gnome 2\
**Created:** [August 21, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/alsa-instead-of-oss/65824 "2006-08-21T18:15:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Conor\_J\_Curran](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f475e1/32.png) [@Conor\_J\_Curran](https://www.ruby-forum.com/u/Conor_J_Curran)\
**Post date:** [August 21, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/alsa-instead-of-oss/65824/1 "2006-08-21T18:15:53Z")

</div>

Hi,

Good point.  
The player is using the factory element ‘osssink’. My setup uses alsa, I  
have an onboard intel hda sound card and an external echo layla 24. Both  
working fine. I use the hda for banshee as it doesn’t seem to like the  
layla. Pure data can do both perfectly.  
How to i change to alsa. I tried ‘alsasink’ but the factory element  
threw an error when I attempted to play a mp3.

(SimpleAudioPlayer:28877): GStreamer-WARNING \*\*: element thread0 claimed  
state-change success,but state didn’t change to PLAYING. State is PAUSED  
(NONE\_PENDING pending), fix the element

> That’s quite a story.

> > After installing using the player.rb I tested with a normal mp3. The  
> > audio was fine except for a randomly crackly sound interspersed  
> > amongst  
> > the music. This does not happen in Bansee or Pure Data. Format  
> > problems?  
> > Anyone have any ideas?

> I know very little about player.rb. Is it talking to ALSA or O

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)
