Download the source and have a look at the NAudioWPFDemo, it sends the samples to a waveform visualizer.
Use the SampleAggregator to collect the samples on the fly and send the collection to your visualizer at the specified interval.
Use the SampleAggregator to collect the samples on the fly and send the collection to your visualizer at the specified interval.