Questions tagged [directsound]

DirectSound is a software component of the multimedia API collection known as Microsoft DirectX. It is geared to play audio.

168 questions
2
votes
1 answer

Can I use directsound on VS2010 with C# on Window8 OS?

I tried to install the xna 4.0 but there was some error on windows8. Which version of Directx SDK can I use for C#? I also tried to install the DXSDK_Jun10, however I could not find any reference in .net folder.
user1944617
  • 471
  • 4
  • 3
2
votes
2 answers

DirectX.Sound in WPF

I wish to play Tones in WPF from a sound card device (not system speaker). Im disappointed to find that apart from playing a beep or a wav file WPF does not have any native way to play simple sound frequencies. ie play(freq, duration); Looking into…
PrimeTSS
  • 2,683
  • 3
  • 23
  • 26
2
votes
1 answer

Is DirectSound and WinMM based on WASAPI?

I saw in this slides that the winmm and directsound in vista is based on wasapi. Does it means that winmm and directsound actually do their work by calling the functions in WASAPI ? I fail to find this information after some google search and hope…
Min Lin
  • 3,177
  • 2
  • 19
  • 32
2
votes
2 answers

Receiving audio data from multiple sources and merging them into a wave file

I'm using C# and DirectSound to record audio and send it across a local network to another computer that receives the data and saves it into a wave file. I used similar code for recording and similar for saving the wave file (using NAudio). Saving…
aleph_null
  • 5,766
  • 2
  • 24
  • 39
1
vote
1 answer

How to play sound in MFC using Visual C++?

I would like to implement base band signal processing algorithms on my PC using my microphone input and speaker output. Which library do I need to use open/read/write audio equipment on Windows 7 64 bit? Can I do with MFC, or do I need to use a…
albin
  • 773
  • 1
  • 8
  • 27
1
vote
1 answer

Playing Wav with Directsound

I need to play multiple wave files which start at different times (not all together). I was trying to play the files using Directsound but a problem arised. I have the following code: var dev = new Device(); //This line creates the…
Jakpot
  • 11
  • 2
  • 4
1
vote
1 answer

I hear clicking in audio with a DirectShow graph created with Graph Edit yet player software on my PC plays audio smoothly

I have a DirectShow application that I built with Delphi 6 using the DSPACK component library. For two days I have been trying to solve a problem with audio playback. When I run the filter graph I create I hear repetitive clicks in the playback. …
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
1
vote
1 answer

Create a sound from scratch in DirectSound

Is there a way to create a sound from scratch using DirectSound, e.g play the notes a c, d, e, f,g etc? However, the sound must be realistic, and sound at least a little like a proper sound. Thanks. I have tried to be as concise yet as detailed as I…
H Bellamy
  • 22,405
  • 23
  • 76
  • 114
1
vote
1 answer

DirectSound crashes due to a read access violation when calling IDirectSoundBuffer8::Play (inside LFQueuePut, a dsound.dll internal function)

I am working on a game, and am sporadically observing crashes inside of dsound.dll. This happens right after creating a IDirectSoundBuffer8 audio buffer, when calling the Play method on it. At this point I haven't written to the buffer or done…
pulp_user
  • 2,454
  • 3
  • 14
  • 18
1
vote
1 answer

What to do with NIL response for legacy filter 'Wav Dest' in Delphi 6 DSPACK program?

I am trying to create a Delphi 6 program with DSPACK that records audio from the PC input devices (Windows XP) and then writes the captured audio to a MS format WAV file. The problem I am having is that I am getting NIL back when I try to get the…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
1
vote
0 answers

javafx - MediaException: PLAYBACK_HALTED : DirectSoundCreate: (NULL)

I wanto to play a mp4 video inside of my java application. The software is running fine on my main PC where a sound card is installed. But on another PC with no sound device at all, this is the content of the player.getError: MediaException:…
User
  • 11
  • 5
1
vote
1 answer

Playing streamed audio data (C#)

I an trying to develop a windows application using C# that can play streamed audio data. Basically, I will have a client application that is responsible for playing different audio files. Currently, from the client application, I am extracting the…
John Smith
  • 1,351
  • 3
  • 16
  • 21
1
vote
3 answers

Interpretation of DirectSound buffer elements from mic capture device

I am doing some maintenance work involving DirectSound buffers. I would like to know how to interpret the elements in the buffer, that is, to know what each value in the buffer represents. This data is coming from a microphone. This wave format is…
Wade
  • 299
  • 5
  • 9
1
vote
1 answer

FFmpeg and DirectSound/XAudio2 in C#

I have been attempting to get this working for a while and am a bit stuck. I am attempting to be able to play a video in C# using libavcodec outputting to DirectX and either DirectSound or XAudio2. I have managed to get it to play a video, but am…
Programmdude
  • 551
  • 5
  • 22
1
vote
0 answers

How to get Independent Left/Right channel Delay in FMOD using 2D Stereo Mp3 files?

I am trying to set the delay of left and right channels of the input MP3 file independently before playback. I want to play the left channel at say a delay of 2ms and the right channel at the delay of say 10ms, so the overall delay between channels…