19 Jun '13 - 13:48 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Reading/Editing Tags With BASS  (Read 1968 times)
Sebastian_Mares
Guest
« on: 20 Feb '03 - 14:41 »
Reply with quoteQuote

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 » Logged
Sebastian_Mares
Guest
« Reply #1 on: 22 Feb '03 - 13:43 »
Reply with quoteQuote

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 » Logged
Ian @ un4seen
Administrator
Posts: 15363


« Reply #2 on: 23 Feb '03 - 13:28 »
Reply with quoteQuote

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
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines