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

New Post: DmoResamplerStream E_NOINTERFACE

I just wanted to use the DmoResamplerStream and I tested it in a Console application. So the default apartment mode is MTA. The result was that it does its job. But if I chance the main thread to an...

View Article


New Post: DmoResamplerStream E_NOINTERFACE

You have to use the resampler on the thread that it is created in. This is a very annoying problem to work around but it is possible. However, why do you need resampling in this instance? DirectSound...

View Article


New Post: Mute linein

Hi there. Thanks for this great library. I just encountered the same problem as kward. Using the MixerControlType.Mute works for mute but not for un-mute. Will there be a fix for this issue in future...

View Article

New Post: DmoResamplerStream E_NOINTERFACE

Its just a test so simulate multithreading for that interface. How would you work around it? And is there the same problem with MFTs?

View Article

New Post: DmoResamplerStream E_NOINTERFACE

the way I work around it with the MediaFoundationReader is to optionally recreate the MFT in the first call to Read if it comes in on another thread. With a Resampler you can just wait until the first...

View Article


New Post: DmoResamplerStream E_NOINTERFACE

Well thats a quite ugly solution :( Have you ever thought about using the CallI IL-Instruction instead of the traditional way of implementing com-interfaces. That would solve all these problems. If I...

View Article

New Post: NAudio third-party dependencies

markheath wrote: You need some way of talking to the audio hardware to play or record audio, so you have to call into unmanaged APIs at some point. There are parts of NAudio that are fully manged...

View Article

New Post: NAudio third-party dependencies

sure, you can use the parts of NAudio that don't need a soundcard. You just can't play audio or record it. If you are converting audio from one format to another for example, you have no need of a...

View Article


Commented Unassigned: 32bit PCM into 16bit PCM [16397]

How can i convert 32 bit PCM wave into 16 bit PCM??I was making software to record system volume using LoopBackCapture. Its capturing data of 32 bit PCM ( 32 bit PCM: 48kHz 2 channels wBitsPerSample:32...

View Article


Commented Unassigned: 32bit PCM into 16bit PCM [16397]

How can i convert 32 bit PCM wave into 16 bit PCM??I was making software to record system volume using LoopBackCapture. Its capturing data of 32 bit PCM ( 32 bit PCM: 48kHz 2 channels wBitsPerSample:32...

View Article

Commented Unassigned: 32bit PCM into 16bit PCM [16397]

How can i convert 32 bit PCM wave into 16 bit PCM??I was making software to record system volume using LoopBackCapture. Its capturing data of 32 bit PCM ( 32 bit PCM: 48kHz 2 channels wBitsPerSample:32...

View Article

Commented Unassigned: 32bit PCM into 16bit PCM [16397]

How can i convert 32 bit PCM wave into 16 bit PCM??I was making software to record system volume using LoopBackCapture. Its capturing data of 32 bit PCM ( 32 bit PCM: 48kHz 2 channels wBitsPerSample:32...

View Article

New Post: Converting RTP Packets into wav format and writing to a wav file...

You were right on money Mark. By removing the RTP headers from the RTP packets I am able to generate the PCM stream for MuLaw and write it to a WAV file which plays fine without the clicking noise....

View Article


New Post: Converting RTP Packets into wav format and writing to a wav file...

You can use any ACM codec installed on your machine, (or in NAudio 1.7 any Media Foundation Transform). Read my article here for an in-depth explanation of format...

View Article

New Post: DmoResamplerStream E_NOINTERFACE

I don't know about the technique you mention. By all means see if you can prototype it and see if it does solve the problems. Mark

View Article


New Post: 10 band Equalizer

Hi Robert, I have just completed a WPF prototype 10 band equaliser using yuvalnv's code on Google code as a starting point. The one thing I haven't quite got working yet is when you drag the thumb on a...

View Article

New Post: Change Volume of Mp3 during play

I can play Mp3 just fine from the example in the Documentation. However, Is it possible to update the Volume to the IWavePlayer via the WaveChannel32 while it is playing?? I was gong to write a handler...

View Article


New Post: Change Volume of Mp3 during play

Yes, if you keep hold of the instance of WaveChannel32. It might be easier for you to use the AudioFileReader which has a Volume property. Note that there is a difference between adjusting volume at...

View Article

New Post: Release build of NAudio 1.5

I have a problem with a .wav-file that has an invalid chunk length in its header. In the WaveFileReader.cs the section if (chunkLength < 0 || chunkLength > stream.Length - stream.Position) {...

View Article

New Post: Release build of NAudio 1.5

hi Kay, I'd recommend switching to NAudio 1.6 which is a release build. If you really must have 1.5, then rebuild the source in Release mode.

View Article
Browsing all 5831 articles
Browse latest View live


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