How to route audio to bluetooth earphone in Windows Mobile 6 RRS feed

  • Question

  • The platform of my phone is Windows Mobile 6. Now my application can play sound by build-in speaker using waveOutXXX. I want to route audio to bluetooth earphone. the second audio device founded by waveOutGetDevCaps() function is the bluetooth audio device. but to call waveOutOpen() to open this device is failed:
    waveOutOpen(&hWaveOut, 1, &waveform, (DWORD)waveOutProc, NULL, CALLBACK_FUNCTION);
    (If the second parameter set to WAVE_MAPPER(-1) or 0, the speaker works well.)
    How can i do? thanks!

    Friday, October 30, 2009 2:13 AM