Thread: capturing data from the soundcard

  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....
    Warning: Opinions subject to change without notice

    The C Library Reference Guide
    Understand the fundamentals
    Then have some more fun

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905

  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.
    Warning: Opinions subject to change without notice

    The C Library Reference Guide
    Understand the fundamentals
    Then have some more fun

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, 10:28 PM
  3. Errors
    By Rhidian in forum C Programming
    Replies: 10
    Last Post: 04-04-2005, 12:22 PM
  4. Replies: 1
    Last Post: 07-31-2002, 11:35 AM
  5. Capturing data
    By Billye Scott in forum C++ Programming
    Replies: 0
    Last Post: 03-03-2002, 02:50 PM