Questions tagged [waveout]

waveOut is an API for playing digital sounds in Windows.

52 questions
0
votes
1 answer

Unexpected waveform with waveOut API

I have a problem with the waveOut interface. I want to write a simple class structure where i have a class AudioStream that makes it very simple to have audio output. I have a constructor that takes the following arguments: AudioStream32(int…
Ruben
  • 524
  • 1
  • 6
  • 14
0
votes
1 answer

How to initialize WaveOUT API on Win CE running on ARM in C#

I am trying to make work WinOut API on Win CE (ARM) but with the same code that runs on Windows 7 I am getting MMSYSERR_INVALIDPARAM in the line for buffer preparation. Win32.MMRESULT hr = Win32.waveOutPrepareHeader( hWaveOut, ref…
Patrik
  • 1,286
  • 1
  • 31
  • 64
0
votes
1 answer

How to P/Invoke WaveOut API on Windows CE 6.0 R3

How to P/Invoke WaveOut API on Windows CE 6.0 R3 ? When I put this [DllImport("winmm.dll", SetLastError = true, CharSet = CharSet.Auto)] public static extern MMRESULT waveOutOpen(ref IntPtr hWaveOut, int uDeviceID, ref WAVEFORMATEX lpFormat,…
Patrik
  • 1,286
  • 1
  • 31
  • 64
0
votes
2 answers

Play .wav with WaveOutOpen(C++)

I need to play audio file(.wav) with waveOutOpen function. I found manual for this. http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4422&lngWId=3 but I dont know how change this for .wav files. Please help me...
Alexander Mashin
  • 49
  • 1
  • 1
  • 7
0
votes
1 answer

WaveOut to play wave file to specific channels of the device

I am using WaveOut API for playing the .wav file, using the device capability I am getting the device information. Is there any way to get the channel information (e.g. how the ASIO gives) and need to play two different .wav files to the two…
-1
votes
2 answers

freeing pwfx after waveOutOpen throws

According to Microsoft documentation: "You can free this [pwfx] structure immediately after passing it to waveOutOpen." But this code dosen't seem to agree: pwfx=new…
lkanab
  • 924
  • 1
  • 7
  • 20
1 2 3
4