|
ReadSoundInfo2 method |
![]() ![]()
|
Remarks
Obtains information about the loaded sound and about embedded Tags. When a sound is loaded, in order to speed up its availability for playback, the only immediately available information is its duration: further information can be retrieved at a later time calling this method.
Syntax
Return value
Sample
Below you can find some sample that demonstrates how to get information about a loaded song.
Visual Basic.NET
' load a song inside player 0 AudioDjStudio1.LoadSound(0, "c:\mysong.mp3")
' instantiate a SoundInfo2 object and fill it with song information Dim info As New AudioDjStudio.SoundInfo2 AudioDjStudio1.ReadSoundInfo2(0, info)
Visual C#.NET
// load a song inside player 0 audioDjStudio1.LoadSound (0, "c:\\mysong.mp3");
// instantiate a SoundInfo2 object and fill it with song information AudioDjStudio.SoundInfo2 info = new AudioDjStudio.SoundInfo2 (); audioDjStudio1.ReadSoundInfo2 (0, ref info);
Visual C++.NET
// load a song inside player 0 audioDjStudio1->LoadSound (0, "c:\\mysong.mp3");
// instantiate a SoundInfo2 object and fill it with song information AudioDjStudio::SoundInfo2 *info = new AudioDjStudio::SoundInfo2 (); audioDjStudio1->ReadSoundInfo2 (0, &info);
|