capturing data from the soundcard

This is a discussion on capturing data from the soundcard within the C Programming forums, part of the General Programming Boards category; I'm currently working on implementing a VOIP solution and am in need of a cross platform api to capture audio ...

  1. #1
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751

    capturing data from the soundcard

    I'm currently working on implementing a VOIP solution and am in need of a cross platform api to capture audio from the sound card so i can compress, package and send accordingly. I've been searching forever and can't find anything. I've checked out SDL and OPEN AL documentation and i cannot find anything in what i'm looking for. i'm hoping someone can give me a hand or knows something i don't.

    worse case scenario i will have to write a platform dependant module but please say it ain't so....

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,903

  3. #3
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751
    thanks for your quick reply jverkoey. unfourtunetly my question seemed to have been answered. at least it enumerates the device. i'm thinking i'll have to use some win32 api code that does it without having to open the mixer and selects the appropiate devices to record from. then use fmod to operate on the file when its done........but can open al and SDL already do this?
    I'm not sure though i think windows sound recorder only allows you to record in 60s increments. i gotta check this out again. either way the audio data has to be compressed and sent in microseconds back and forth.....I can't afford a bunch of overhead.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. simultaneously waiting for data on FIFO and UDP using select call
    By yogesh3073 in forum Networking/Device Communication
    Replies: 2
    Last Post: 01-05-2007, 09:53 AM
  2. Program Crashing
    By Pressure in forum C Programming
    Replies: 3
    Last Post: 04-18-2005, 11:28 PM
  3. Errors
    By Rhidian in forum C Programming
    Replies: 10
    Last Post: 04-04-2005, 01:22 PM
  4. Replies: 1
    Last Post: 07-31-2002, 12:35 PM
  5. Capturing data
    By Billye Scott in forum C++ Programming
    Replies: 0
    Last Post: 03-03-2002, 02:50 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21