Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Recording Sound (FYP related)

Options
  • 10-05-1999 2:46am
    #1
    Closed Accounts Posts: 40


    Anyone know the procedure to go through to accomplish this? So far all i know is that i need to have a separate thread to read the recorded sound from a buffer. I have an example i found aaages ago on the net but its not great. And there are **** all comments in it.




    Ðeclan $hanaghy
    3rd Computer Engineering
    University of Limerick
    9637184@student.ul.ie
    http://www.csn.ul.ie/~dek





Comments

  • Closed Accounts Posts: 411 ✭✭Jay


    Dek,
    first get a handle to the Sound device.
    Then use that to record into a buffer.
    You DO need a thread to convert the buffer to file format...
    Make sure that the recording frequecy is in the right range and of a correct quality, otherwise you will end up reading in HUGE amounts.

    Try looking up the header file winmm.h, there might be something in there to use to record with.


Advertisement