Hello everybody,
I am having a great problem in my class project. I have to play multiple files in different output ports of the sound card same time. Explanation: Suppose i hav 1 speaker and 1 headphone connected to my pc. Now i hav to play 2 files in such a way that 1 song is played in speaker and other in headphone and the songs will be played in such a way that 1 user can hear only from speaker or headphone only 1 specific file.
I used javax.sound.sampled as my base programming. I could play multiple files in same time but i don't know how to play the songs in different ports of my sound card.
If any one can help me please do so.
Thanks
--------SHIMUL
shimul_bari
0
Newbie Poster
Recommended Answers
Jump to PostSomething tells me you cant.
Jump to PostI don't believe you can, sound cards don't use different ports for speakers and headphones. Plug in headphones and I'm pretty sure the speakers get shut off.
All 5 Replies
nizzy1115
14
Practically a Posting Shark
Phaelax
52
Practically a Posting Shark
nizzy1115
14
Practically a Posting Shark
Phaelax
52
Practically a Posting Shark
shimul_bari
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.