Questions tagged [wasapi]

The Windows Audio Session API (WASAPI) enables client applications to manage the flow of audio data between the application and an audio endpoint device.

The Windows Audio Session API (WASAPI) enables client applications to manage the flow of audio data between the application and an audio endpoint device.

For more details see msdn.microsoft.com.

234 questions
0
votes
1 answer

WasapiCapture NAudio

We are using the NAudio Stack written in c# and trying to capture the audio in Exclusive mode with PCM 8kHZ and 16bits per sample. In the following function: private void InitializeCaptureDevice() { if (initialized) return; long…
Moti
  • 897
  • 4
  • 12
  • 21
0
votes
1 answer

Why do we need IAudioRenderClient Interface

This question is about windows audio session API. After reading microsoft's sample code, I find that after getting a IAudioClient, "GetService" Method is called on it to obtain a IAudioRenderClient. And then the GetBuffer and ReleaseBuffer method of…
Min Lin
  • 3,177
  • 2
  • 19
  • 32
0
votes
1 answer

Exception on Resampling

When I using ResamplerDmoStream and selecting Anything except WaveOutput (e.g. WASAPI, DirectSound) I've getting below exception: Unable to cast COM Object NAudio.DMO.ResamplerMediaComObject to interface type Naudio.Dmo.IMediaObject ... Exception…
Deviser
  • 95
  • 1
  • 9
0
votes
1 answer

Using u-law compression for audio files on Windows 7

I need to convert some hi res audio files to u-law compression. I find no documentation on this- I'm almost certain the codec is there on Windows machines, but how the heck do I access it?
TomJeffries
  • 558
  • 1
  • 8
  • 25
-1
votes
1 answer

Microsoft WASAPI - Do different audio formats need different data in the buffer, for the same wave

Lets say I want to play a sine wave using WASAPI. Will the data I enter into the AudioClient buffer always just be samples between -1 and 1, or will it be different between PCM and IEEE_Float Formats, and other formats for that matter. Thanks. Right…
Mike64
  • 3
  • 2
-1
votes
1 answer

Alternative for gstreamer pulsesrc element in windows?

I have the following simple pipeline in linux, which I use to send output audio from a device to other. gst-launch-1.0 -v pulsesrc ! audioconvert ! opusenc ! rtpopuspay ! udpsink port=$2 host=$1 How would I do the same on windows? What GStreamer…
aispark
  • 159
  • 8
-2
votes
1 answer

Continuous WASAPI Ring-Buffer Sampling

How to use WASAPI (or something like it) to continuously sample audio into a (thread-safe) ring-buffer, so that a consumer thread can read from that buffer in an a set interval? Currently we have a .sample() method that returns a chunk of samples…
Androvich
  • 1,030
  • 1
  • 7
  • 11
-2
votes
1 answer

Websphere Application Server v9.0 supported with which version of Rational Application Developer?

can someone help me, I'm trying to work with Websphere Application Server 9.0 but I need to work on IBM Rational Application Developer IDE for the use of sqlj. I tried to install IBM Rational Application Developer IDE version 8.0 but Websphere…
-2
votes
1 answer

how to Naudio loopbackcapture Exclusive mode with PCM 8kHZ and 16bits per sample

how to capture audio from naudio in Exclusive mode with PCM 8kHZ and 16bits per sample? what yuo have
hamid
  • 1
  • 1
1 2 3
15
16