G
Guest
I want to use a trackbar to show progress of a sound file currently being played. So what I thought I would do is this
Have the trackbar's maximum value equal 1. On my timer's tick event, I would have the trackbar's value equal the current play position divided by the lenght of the buffer. I can not find a way to get the lenght of a buffer, so if someone could either tell me a better way to do it, or how to get the lenght of a buffer, please tell me. Thank you.
Have the trackbar's maximum value equal 1. On my timer's tick event, I would have the trackbar's value equal the current play position divided by the lenght of the buffer. I can not find a way to get the lenght of a buffer, so if someone could either tell me a better way to do it, or how to get the lenght of a buffer, please tell me. Thank you.