Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
suppose you connect to an internet radio station or view a video (with audio) from a wed site like YouTube with a web browser like Firefox. you do this through a firewall that restricts inbound connects in most cases (it might have logic to let you do insecure file transfers with FTP).
there are multiple ways for a process to output audio to the local speakers or audio system. what does Firefox do? which of many APIs does it use?
i am wanting to capture the audio Firefox, or any client program, is trying to play to me. normally Firefox is work fine for me. i want to set up (implement) a way to send that audio to another computer that has a special audio system attached.
these documents are describing how to capture audio from a hardware device, presumably input audio like a microphone i want to capture the audio a process is trying to play (to speaker or to ear buds depending on the setup). my thinking is to emulate some audio playback hardware or emulate the API that some library creates for programs to their output thing with (maybe via a client library ... that i would be inclined to emulate).
emulating speaker hardware is likely very difficult for a non-root user. emulating a library API is likely much easier, although not trivial.
Ah... If you tried, like, reading them, or at least scrolling to the end glancing at headings... Spoiler: it's in examples.
which would you recommend using? it looks like there will be a lot of work getting things working (needed modules are missing and packages either won't install or can't be found) so i want to focus until i get something to work. it would be nice to have some examples that can work with what a distro like Ubuntu has in it so nothing new needs to be installed. that or maybe a "winsound" emulator for Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.