Reputation: 1
I currently woking on a Project, which can play radio-streams. These streams will be played with the axWindowsMediaPlayer Control. But how can I read the stream title + artist?
Greetings from germany, Max
Upvotes: 0
Views: 793
Reputation: 333
from the docs...
char *BASS_ChannelGetTags(
DWORD handle,
DWORD tags)
Would be the bit in bass.
// get a pointer to the 1st tag
char *icytags=BASS_ChannelGetTags(channel, BASS_TAG_ICY);
if (icytags)
while (*icytags) {
printf("%s\n", icytags); // display the tag
comments+=strlen(icytags)+1; // move on to next tag
}
This is the code for the ogg comments, but with icytags replaced. I haven't tried it, but if you look here : The BASS Docs of BASS_ChannelGetTags
It might help. The other tags are other data structures, you would approach them differently.
Upvotes: 0