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

Source code checked in, #53c9c7d1dce3

$
0
0
timestamped the input buffers, but still getting garbage resampling

Source code checked in, #2275312efdff

$
0
0
fixed the problem with the resampler

New Post: play from position set in trackbar

$
0
0

Hi, this might be a newbie question but I am banging my head against the wall trying to figure this out..

I have a trackbar and I am playing a song, now I would like to move the trackbar or click in a certain position and have the track play at exactly that point.  I have looked around and apparently I use the Mouse_Down events on the trackbar but how do I use the class to play from that same position?

New Post: play from position set in trackbar

$
0
0

There is a Scroll event which you need to handle, not Mouse_Down. Then you can look at the trackbar value. This is what the NAudioDemo app does, so you can look at its source code.

New Post: Windows 8 WinRT Metro Style Support

$
0
0

Mark,

Thanks for the thoughtful reply. I hadn't seen your blog post before. I'll dig into the WinRT project over the next couple of weeks and see if/where I can help.

Todd

Source code checked in, #c950b384fc7a

$
0
0
filtering encode bitrates by sample rate and channel count

New Post: When playback ends

$
0
0

Is there a simple way of adding loop utility to wavechannel32 object?

I must use wavechannel32 because I am using pan and volume utilities of wc32.

I have implemented a LoopStream class from waveStream successfully, but I have to use pan and volume properties of wc32.

Which one should I choose in your opinion?

Adding loop (when it lasts, it return to position=0) property to wc32 or adding pan and volume properties to my LoopStream?

Or is there any other way.

NOTE: I do not want to track the position by timer!

Source code checked in, #32836e28fc37

$
0
0
encode demo uses MediaFoundationEncoder class

Source code checked in, #dc3a2cb68ac5

$
0
0
more cleanup of MediaFoundationEncoder and MediaType classes before moving into NAudio

Source code checked in, #a026c041fb85

$
0
0
moving MediaFoundationEncoder and MediaType into main NAudio dll. Important: this means we have finally made the conversion from .NET 2.0 to .NET 3.5 to allow LINQ and extension methods

Source code checked in, #a919860557b7

$
0
0
updating resampler to support changing bit depth, channel count and switching between PCM and IEEE float

Source code checked in, #5d450ef14d2a

$
0
0
resampler now can properly drain its buffers on a reposition

Source code checked in, #98775580a295

$
0
0
resampler now inherits from a generic MediaFoundationTransform base class

Source code checked in, #e6974858ca3c

$
0
0
MediaFoundationResampler and MediaFoundationTransform moved into main NAudio DLL

New Post: When playback ends

$
0
0

With NAudio you build up a pipeline, so you could pass your LoopStream into WaveChannel32 as the source.


Source code checked in, #f31518717528

$
0
0
adding MediaType and MediaFoundationEncoder to Win8 project, and worked out how to get HResult from COMException in Windows Store apps

New Post: WaveMixerStream32 Lenght after RemoveInputStream wrong.

$
0
0

I add 2 stream into mixer: first has lenght 1000, second has lenght 2000.

After remove second stream WaveMixerStream32.Lenght = 2000, but should be 1000.

In source code WaveMixerStream32.cs->RemoveInputStream has line:

newLength = Math.Max(length, inputStream.Length)
maybe need replace it with:

newLength = Math.Max(newLength, inputStream.Length) ?

Or I am wrong?

 

New Post: WaveMixerStream32 Lenght after RemoveInputStream wrong.

$
0
0

yes, thanks for reporting. That will go in on the next check-in.

Commented Issue: MediaFoundation Output Format Float [16375]

$
0
0
Hello,
Here is a modified version of MediaFounfationReader.

Modification for operation with WASAPI, ASIO, WaveOutEvent

I added an option :: The output format (WaveFormat) is PCM or IEEE

Compatible with the version NAudio 569799226a61

This version is still a prototype!
Comments: thanks, these changes will be integrated shortly

New Post: WaveMixerStream32 Lenght after RemoveInputStream wrong.

Viewing all 5831 articles
Browse latest View live


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