hello all!
i have a question that was confusing me for almost a week

can any one give me a code to record sound (from microphone, Sound driver) and then save it as a (wav,ogg) and then merge it with an Avi file!!

(there is no need that these codes are togerther, actully if they were sepreat, it'll be better)

please! help me fast