how to get the length (duration) of a wave file
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
hey my dear code project members, i am having a problem trying to know the length of a wave file i tried mciSendCommand(wDeviceID,MCI_STATUS,MCI_TRACK | MCI_STATUS_LENGTH ,(DWORD)(LPVOID) &mciStatusParms); actually i don't know how to initialize the MCI_STATUS_PARMS "mciStatusParms" to get the length (duration) of the wave file so is this the right way and how can i get it work if it is not, wat is the right way to get the length of a wave file thnx alot 4 ur time and concern