Thread: Audio stream explanations for Windows and Linux

  1. #1
    Registered User
    Join Date
    Dec 2016
    Posts
    96

    Audio stream explanations for Windows and Linux

    Hi,

    I am familiar with audio streams and processing them when using an MCU, now I am trying to catch the audio stream from the sound processor and use it. Can anyone please explain how to do this? There must be a function of some sort which takes what ever is going through the sound processor and after that I am able to process it and send it to speakers? Perhaps the function catches it before the sound processor or it manipulates the sound processor itself? Can someone please explain how this happens.

  2. #2
    Registered User
    Join Date
    Feb 2019
    Posts
    1,078
    Quote Originally Posted by ArakelTheDragon View Post
    Hi,

    I am familiar with audio streams and processing them when using an MCU, now I am trying to catch the audio stream from the sound processor and use it. Can anyone please explain how to do this? There must be a function of some sort which takes what ever is going through the sound processor and after that I am able to process it and send it to speakers? Perhaps the function catches it before the sound processor or it manipulates the sound processor itself? Can someone please explain how this happens.
    For Linux/FreeBSD I recomend ALSA and ffmpeg (lav libraries)... You can try to use SDL sound libraries as well...

  3. #3
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    Quote Originally Posted by flp1969 View Post
    For Linux/FreeBSD I recomend ALSA and ffmpeg (lav libraries)... You can try to use SDL sound libraries as well...
    Can you please explain how its done?

  4. #4
    Registered User
    Join Date
    Feb 2019
    Posts
    1,078
    Quote Originally Posted by ArakelTheDragon View Post
    Can you please explain how its done?
    You need to read the documentation, write some code, link with the libraries and voilą!

  5. #5
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    Quote Originally Posted by flp1969 View Post
    You need to read the documentation, write some code, link with the libraries and voilą!
    What I am interested in is how does the function access the sound processor and connect this to the OS. Its probably connected to the driver, so in reality we access the driver.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Audio & GUI With Windows
    By Alvin_Morrison in forum Windows Programming
    Replies: 5
    Last Post: 10-04-2018, 06:25 PM
  2. Starting Linux Audio Programming OSS
    By Fujitaka in forum Linux Programming
    Replies: 3
    Last Post: 08-05-2009, 05:06 PM
  3. linux audio detection
    By babatikidido in forum C++ Programming
    Replies: 3
    Last Post: 01-15-2009, 12:39 PM
  4. Bluetooth Audio Stream
    By Charmy in forum Windows Programming
    Replies: 2
    Last Post: 05-06-2006, 12:10 AM
  5. Windows Multimedia API - Audio Mixers
    By dit6a9 in forum Windows Programming
    Replies: 4
    Last Post: 09-16-2004, 08:47 PM

Tags for this Thread