Probably everybody know that sound() function in C produces sound thru the PC speaker. I want to code a program in C to play sounds thru stereo speaker. I learnt that we need to make extensive use of ports. So whats the concept of ports? I also want to know whats the main difference in the concept of sound production thru PC magnetic speaker and that thru stereo speaker. Can anybody help in this case so that i can take a step further in develop a program to play music files? Please send atleast some links that have the answer or the material.
Thanks n Bye.