Questions tagged [waveout]

waveOut is an API for playing digital sounds in Windows.

52 questions
1
vote
1 answer

waveOutSetVolume ignoring the handle

I have couple of waveout handles in my code that playing in parallel. Now i want to set different volume for each waveout handle. There is a waveOutSetVolume win32api function: http://msdn.microsoft.com/en-us/library/ms713762%28v=vs.85%29.aspx The…
DxCK
  • 4,402
  • 7
  • 50
  • 89
1
vote
1 answer

Replay a BufferedWaveProvider

I use NAudio to record datas from microphone, then i need to playback audio without writing a wav file yet. Play / Pause / Stop work well, but how can I set back the position to the beginning of bwp and play back from start the audio. I can't write…
user6352235
1
vote
1 answer

Maintaining encapsulation when wrapping native libraries

I'm writing a C# library to wrap a Win32 API (the waveOut... family of functions), and have reached a point where I'm unsure how to manage the interaction between different parts of my code without breaking encapsulation. So far, I have a setup like…
anton.burger
  • 5,637
  • 32
  • 48
1
vote
1 answer

NAudio WaveOut.GetCapabilities().ProductName returns invalid characters in the device name

Our application uses NAudio WaveOut to get audio devices connected to user computer. In this particular case, the use has windows machine running in Polish language. Therefore, when we enumerate the devices, WaveOut returns invalid characters in the…
decisive
  • 79
  • 12
1
vote
1 answer

Naudio playback in memory samples produces delays and unaesthetic gaps in the sound

Using BufferedWaveProvider for playback of audio samples which are stored in database as double[] _bufferedWaveProvider = new BufferedWaveProvider(Format) { …
jero2rome
  • 1,548
  • 1
  • 21
  • 39
1
vote
1 answer

Why does waveOutOpen() on Windows Vista/newer say the default output device can't play 44100hz mono 8-bit PCM when waveOutGetDevCaps() says it can?

I am trying to open a 44100hz 8-bit mono PCM stream with winmm (waveOutXxxx()) without software autoconversions (I want to be in full control of the output wave, without filtering that may result from such conversions). // 2 september 2014 #define…
andlabs
  • 11,290
  • 1
  • 31
  • 52
1
vote
1 answer

Change Left and Right Channels Volume seperatly waveOutSetVolume C++

Actually I want to give the volume control of left channel and right channel of audio device to user which user use different numbers for each channels. I used "waveOutSetVolume()".It has 2 arguments.first one is handle and second one is hexadecimal…
user2998131
  • 205
  • 1
  • 2
  • 6
1
vote
2 answers

What is the smallest audio buffer needed to produce Tone sound without distotions with WaveOUT API

Does the WaveOut API has some internal limitation of the size for the current piece of buffer played ? I mean if I provide a very small buffer does it affects somehow the sound played to the speakers. I am experiencing very strange noise when I am…
Patrik
  • 1,286
  • 1
  • 31
  • 64
1
vote
3 answers

What is the latency (or delay) time for callbacks from the waveOutWrite API method?

I'm having a debate with some developers on another forum about accurately generating MIDI events (Note On messages and so forth). The human ear is pretty sensitive to slight timing inaccuracies, and I think their main problem comes from their use…
MusiGenesis
  • 74,184
  • 40
  • 190
  • 334
1
vote
1 answer

Name of audio device by ID(waveout c++)

I need to discover name of audio device by ID. I use WaveOut functions. please help me
Alexander Mashin
  • 49
  • 1
  • 1
  • 7
0
votes
1 answer

Windows Core Audio API + WaveOutXxx API

I wave written a code to play back WAV files. I'm using the WavOutxxx APIs to accomplish this. It is well documented that WavOutXxx APIs open their streams to the default session. Now for certain reasons I'm trying to control the session opened by…
Souri
  • 15
  • 3
0
votes
1 answer

vhost.exe crashes when trying to make waveout work in C#

I tried to use waveout in C# to play more wav files simultaneously (at least the different ones). (SoundPlayer object only plays one in a time, and I don't want to use DirectSound and MediaPlayer objects or any other advenced technologies for this…
Calmarius
  • 18,570
  • 18
  • 110
  • 157
0
votes
1 answer

Threading dilemma, atleast i think it is

I am trying to output audio samples, and do so with cswavplay from http://www.codeproject.com/KB/audio-video/cswavplay.aspx which in turn seem to use DllImports from winmm.dll. I did get it to play using 8-bit samples, however it fails miserably…
mickey
  • 403
  • 1
  • 6
  • 20
0
votes
0 answers

Is There A Way To Stop Occurence Of The Exception "WaveStillPlaying calling waveOutWrite"?

I am trying to create Music Player with visualizations such as wave view, spectrum view etc. When I debug the program, I get an Exception "WaveStillPlaying Calling waveOutWrite". I checked the whole code for "MusicList_SelectedIndexChanged". Tried…
0
votes
0 answers

Not hearing Waveout audio using Virtual Audio Cable with Headsets over VoIP

I'm trying to take text from a repository via a desktop application, create a waveout recording(not a file), and have it playback to both the caller and the customer. I can't seem to get it to work with headsets over VoIP and can't figure it out. …