Quantcast
Channel: NAudio
Browsing all 5831 articles
Browse latest View live

New Post: 24 bit WASAPI

yes, NAudio is simply calling through to the WASAPI APIs - it doesn't introduce any restrictions of its own. I suspect that this is due to the device driver. I would suspect that Shared mode relies on...

View Article


New Post: 24 bit WASAPI

Thanks for the quick reply. My interest is in using sound cards for intrumentation, hence the wish to avoid low level artefacts introduced by software layers, even if not audible. For information, all...

View Article


New Post: Mixing Example (2 MP3 inputs)

Hello,  I have been looking at this project on and off for the past few months and havent figured out how to mix 2 MP3 files (i.e. play them at the same time). Can you provide a really brief example...

View Article

New Post: 24 bit WASAPI

Problem fixed! (sort of) It appears that, in exclusive mode, some drivers respond to a WaveFormatExtensible better than a WaveFormat, the solution being to try both structures on IsFormatSupported(),...

View Article

New Post: hide application from windows volume mixer

I don't know how to hide the application panel on the mixer, but if you just want to lock the setting, add an endpoint.AudioEndpointVolume.OnVolumeNotification callback, and change the setting back the...

View Article


New Post: Echo recorded voice

Hi, I'm trying to record the voice, and play each buffer as soon as it is received, like implementing a voice-echo application. But there is gaps in the output. Here is the code: public partial class...

View Article

Image may be NSFW.
Clik here to view.

New Post: WaveOutEvent buffers is null

Every once in a while when I close my application while using WaveOutEvent i get a NullReferenceException from the DoPlayback() function.  It turns out this.buffers is null. Screenshot from VS2010,...

View Article

Created Issue: AudioEndpointVolumeCallback causes AccessViolation [16360]

I noticed that once I read some values from an AudioEndpointVolume, my application would crash when I changed the volume manually afterwards. After some searching, I traced the problem to...

View Article


Commented Issue: AudioEndpointVolumeCallback causes AccessViolation [16360]

I noticed that once I read some values from an AudioEndpointVolume, my application would crash when I changed the volume manually afterwards. After some searching, I traced the problem to...

View Article


New Post: hide application from windows volume mixer

Thank you for your reply. I somehow did what you explained but it was still visible and I said "whatever". I am completely over it now :) You can imagine how much I tried from my words above I guess.

View Article

New Post: hide application from windows volume mixer

It is a bit tricky but not impossible. Assuming you are not writing any malicious code or something to spy on people by turning on the mic or anything, here is how it could be accomplished: 1. Load a...

View Article

New Post: hide application from windows volume mixer

on a second thought, I'd probably hijack mmdevapi.dll, and hide my process from the results. http://source.winehq.org/source/dlls/mmdevapi/mmdevapi.h

View Article

Commented Issue: AudioEndpointVolumeCallback causes AccessViolation [16360]

I noticed that once I read some values from an AudioEndpointVolume, my application would crash when I changed the volume manually afterwards. After some searching, I traced the problem to...

View Article


New Post: Stop or Dispose methods hang if USB device undocked while playing...

Thanks for this post folks. I ran into a similiar problem this evening.  I noticed whenever I unplugged my headphones my waveout device would stop reading the input stream.  I put in a timeout that...

View Article

New Post: hide application from windows volume mixer

I think this file is what should be altered http://source.winehq.org/source/dlls/mmdevapi/audiovolume.c Anyway, thank you for the suggestions but again application of these methods require more...

View Article


New Post: hide application from windows volume mixer

I think I didn't clear enough. I posted the wine library as a starting point, but modifying mmdevapi code and replacing the entire dll would take longer to complete. I will explain it a bit later, but...

View Article

New Post: 24 bit WASAPI

yes, WASAPI likes to work with WaveFormatExtensible. I think there is a way to get it to enumerate supported formats, so it is best to use the WaveFormat structures it reports.

View Article


New Post: DirectSoundOut support for SetVolume and so on?

possibly because the DirectSound object is created and used on a background thread?

View Article

New Post: Repeated Start/StopRecording does not work

are you able to identify the line in the NAudio code that is hanging?

View Article

Source code checked in, #0c35f917c70a

WaveInEvent should not allow StartRecording while already recording

View Article
Browsing all 5831 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>