Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to show whole waveform of a mp3 file in my application, and I use Sound::readData of fmod. But it returns empty array.

void *pointer1 = new byte[ 4096 ];
unsigned int length;

system -> createSound( filePath, FMOD_OPENONLY | FMOD_ACCURATETIME, NULL, &sound );

sound-> readData( pointer1, 4096, &length );

does anyone have some source or demo to show whole wavedform of mp3 file in c++?
Posted
Comments
Richard MacCutchan 30-Jun-13 3:35am    
I cannot find any reference to this function. If this is a third party library you need to contact the providers of the software.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900