Yeah, it's really confusing me..I hope I'm not missing something really simple here.
I am using 7 (Ultimate). I just don't understand why it would work in the speakers only AFTER I unplug the headphones...
Just to be clear, this is the order I am doing everything:
1. Create Device (using all defaults)
2. Set DeviceNumber (tried 0,1,-1), or just leave at default
3. Create WaveStream with WaveChannel32 (or just WaveStream), using WaveFileReader and set appropriate WaveFormat
4. Init WaveOut with the WaveStream
5. call Play()
If I want to get sound through the speakers, I have to have the headphones plugged in until before I call Init and Play.
If I want to get sound through headphones, I have to have the headphones unplugged until before I call Init and Play...
It's really bizarre...and I have been using a different sound API which works just fine, so it doesn't seem to be something weird with my PC.