Questions tagged [audio-capture]

74 questions
2
votes
1 answer

using core audio and wave audio together on windows

I am planning to use c++ core Audio API's to perform various audio related operations in my application like detecting device change, detecting volume levels etc. But there is also an Audio capture code in my solution that uses old Wave API's…
parvez
  • 356
  • 2
  • 12
2
votes
1 answer

WebRTC iOS Native app audio problems with latest revisions

i'm trying to build iOS native audio/video chat and stucked on audio. The sound is lagging, missing some parts and distorting. I tried this with r9919 and the latest one (r10184) builded by pristine build scripts. But when I tried to use older…
Aft3rmath
  • 669
  • 2
  • 12
  • 21
2
votes
1 answer

WASAPI captured buffer size on Windows

I use WASAPI to capture audio buffers in shared mode on Windows 7. I use my loudspeakers which can only have a 48 kHz sample rate, 96 kHz, 192 kHz or 44.1 kHz sample rate. My sound card is a Realtek High Definition one. I need to know if WASAPI will…
userAR15
  • 21
  • 7
2
votes
1 answer

Resample audio using libsamplerate in windows phone

I'm trying to re-sample captured 2channel/48khz/32bit audio to 1channel/8khz/32bit using libsamplerate in a windows phone project using WASAPI. I need to get 160 frames from 960 original frames by re-sampling.After capturing audio using GetBuffer …
harsini
  • 326
  • 2
  • 14
2
votes
2 answers

WASAPI capture buffer size

I am using WASAPI in wp8.As I use Getbuffermethod in shared mode each time it returns buffers with different size.I am capturing in 8000Hz/16bit and sometimes Getbuffer returns buffer with 80 samples and sometimes with 400 samples and .Is this a…
harsini
  • 326
  • 2
  • 14
2
votes
0 answers

how to save recorded sound in c#?

I'm recording sound in c#, but not able to save it... Please have a look at this part of the code: private void Stop() { if (m_Player != null) try { m_Player.Dispose(); } finally { …
Engineer
  • 161
  • 1
  • 5
  • 17
2
votes
0 answers

windows phone supported capturing formats

I'm working on a project for windows phone and I need to encode PCM to G.711.So I need device to capture audio with these features: 16 bits, 8000 sample/s. capturesource.AudioCaptureDevice.SupportedFormats returns a list of different supported…
harsini
  • 326
  • 2
  • 14
2
votes
1 answer

DirectShow - Capture Webcam While Viewing It?

I am trying to make a webcam application in c# that allows users to record video. I have been using DirectShow.Net to preview the webcam and to take snapshots. But need to be able to capture video and audio while previewing the webcam at the same…
2
votes
0 answers

capture audio from google recognizer intent

Possible Duplicate: Android: Voice Recording and saving audio I need to capture the audio signal from the RecognizerIntent. Right now, I'm doing something like this: Intent i = new…
1
vote
1 answer

Can I count on being able to share a DirectShow capture filter between filter graphs?

I ran a test today with a DirectShow graph I assembled that had a Capture Filter assigned to my VOIP phone at the top of the graph. The app takes the audio from the capture filter and writes a WAV file, as part of the filter graph's operations. …
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
1
vote
1 answer

Change Audio input programmatically doesn't change Audio engine input AVFoundation

I'm trying to change the audio input (microphone) between all the available devices from AVAudioSession.sharedInstance().availableInputs. I'm using AVAudioSession.routeChangeNotification to get automatic route changes when devices get…
ajw
  • 2,568
  • 23
  • 27
1
vote
0 answers

How to get WAV audio from a microphone in Go

My program uses the Go bindings of the Vosk speech recognition library, which takes in the audio as byte slices of WAV mono audio. My program currently uses the external command arecord to get WAV audio from the microphone but I'd prefer to do it in…
GGG
  • 295
  • 1
  • 9
1
vote
0 answers

AudioPlaybackCaptureConfiguration not working in Android BOX (Using HDMI)

I am using google Audio Playback Capture API in ANDROID API Level 29 and its working fine on Android mobile devices i get easily internal audio from the devices but when i test it on the Android TV Box , Basically this app is TV box app where i have…
1
vote
0 answers

routing audio data from application to virtual audio driver in MAC OS

I'm very new to mac os , I want to route the audio data captured from the real hardware mic/speaker to the virtual audio driver (null audio driver).How can I invoke the driver form my application and How to communicate between driver and…
its_vnj
  • 11
  • 2
1
vote
0 answers

How to capture pc sound and send it via sockets using java

I am trying to capture audio from pc(from speaker/headphones) and send it via socket(UDP, if possible) to another computer, which must play it back. I have found some code to do this: Server: import javax.sound.sampled.*; import…