Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please note that they are rough examples; You can redirect anything to /dev/dsp, and it will result in outputting to your pcm device - in this case, alsa or jack.
Thanks for the reply. By googling I interpret that you have suggested to emulate OSS. I have installed alsa-oss package.
I am on ubuntu 10.10
I tried the
Thanks. I am now rebuilding my kernel with OSS modules. let me report after its done.
BTW the linux audio architecture seems to be complicated. Now I need both OSS and ALSA on my system to attain my intended purpose to play PCM from ttyUSB, which is a test run. My actual target is the Android platform which has ALSA and I am not sure how it supports OSS. Any thoughts on this ?
Ahh, you should have said that before. I was just giving you a quick and dirty, yet simple way of doing so. Let me get back right back to you, I need to do a few things quick since I just got home from work, and it's my three day weekend
And once again, I was thinking about something else before. With alsa, you can use the aplay command for something like this. Take the following example:
Code:
cat /dev/urandom | aplay
This will give you a bunch of white noise. Play with this, and get it to how you want it with your device.
Aplay worked as you have explained. And regarding android,ALSA has a defined interface to the Audioflinger service. If my ttyUSB talks to ALSA, then I thinks android would take it further. Am I right? and if so the ALSA-PCM connection is to be looked into further i hope.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.