Author Topic: Reading/Editing Tags With BASS  (Read 2544 times)

Sebastian_Mares

  • Guest
Reading/Editing Tags With BASS
« on: 20 Feb '03 - 14:41 »
Hello folks!

I am using Visual Basic and I don't know how to read the ID3/OGG Vorbis tags. Any ideas?
There is an API call called "BASS_StreamGetTags". Is that the magic function I am looking for? If yes, how do I use it in order to get the track name, artist and so on?

Thanks!
« Last Edit: 22 Feb '03 - 13:43 by Sebastian Mares »

Sebastian_Mares

  • Guest
Re: Reading/Editing Tags With BASS
« Reply #1 on: 22 Feb '03 - 13:43 »
I have just noticed that the BASS_StreamGetTags API call returns a long integer, not a string. Therefore, I don't think that API is the right one.
« Last Edit: 22 Feb '03 - 13:44 by Sebastian Mares »

Ian @ un4seen

  • Administrator
  • Posts: 20433
Re: Reading/Editing Tags With BASS
« Reply #2 on: 23 Feb '03 - 13:28 »
BASS_StreamGetTags returns ANSI strings, which is not the same thing as VB's "String". So the text has to be converted, using the VBStrFromAnsiPtr function.

See this example...
http://www.un4seen.com/YaBB.cgi?board=bass&action=display&num=1037923045#1