Skip to content

Updating Buffer During Playback #1105

Answered by markheath
rozgonyiadam asked this question in Q&A
Discussion options

You must be logged in to vote

You can set the BufferDuration property on a BufferedWaveProvider before reading from it. The default is 5 seconds, but you could make it longer. There is also a ClearBuffer method you can use to clear it. There is also a DiscardOnBufferOverflow you can set to true if you don't want buffer full exceptions

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rozgonyiadam
Comment options

@markheath
Comment options

@rozgonyiadam
Comment options

Answer selected by rozgonyiadam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants