0
0

Any idea how to do that. I am studying cdplayer.cs example and modifying it a little to see a list of songs etc. How can one get this list.

All the help appreciated!
ZoranK

p.s. It is not specifically c# issue but if someone knows how to do it direclty in c# it would be a great help.


I tried with
[code:1qolaivi]
result = cdsound.getTag("CDTOC", 0, ref tag);
ERRCHECK(result);
int dl = (int)tag.datalen;
string data = Marshal.PtrToStringAnsi(tag.data, dl);
int ii = data.Length;
byte[] tagdata = new byte[dl];
for (int i = 0; i < dl; i++)
{
tagdata[i] = Marshal.ReadByte(tag.data, i);
}
[/code:1qolaivi]
but tagdaga is basically empty. Seems that tag information is not included on a cd by default.

  • You must to post comments
0
0

As far as I know, cd’s don’t contain any information about the sonds or artists, just the music. So you’ll have to get the song information from another source (like freedb.org).

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.