Wave file player using drag bar.
-
Hey I am developing a wave file player using wavein waveout api. I want to provide a fecility for fast foward and fast rewind using a dragbar control. please help me how do i find the total playing time of the wave file. Yours Hasan Contact him at: hasansheik@hotmail.com hasansheik@yahoo.co.in hasansheik@lycos.com
-
Hey I am developing a wave file player using wavein waveout api. I want to provide a fecility for fast foward and fast rewind using a dragbar control. please help me how do i find the total playing time of the wave file. Yours Hasan Contact him at: hasansheik@hotmail.com hasansheik@yahoo.co.in hasansheik@lycos.com
Calculate it. Get the size of the data chunk and the WAVEFORMATEX struct. Bits per second = nChannels * nSamplesPerSec * wBitsPerSample; (for uncompressed WAV) Length (in seconds) = ( filesize * 8 ) / Bits per second; Don't try it, just do it! ;-)