Starting to switch Metadata portion to c++. Switching from TagLibSharp to Taglib (c++)

This commit is contained in:
kdeng00
2019-08-06 22:51:20 -04:00
parent 02bc671883
commit 47723c7d94
7 changed files with 50 additions and 363 deletions
+26
View File
@@ -0,0 +1,26 @@
#include <iostream>
#include <string>
#include "metadata_retriever.h"
Song fetch_metadata(const char *song_path)
{
Song sng;
std::string title = "ddd";
sng.Title = (char*)title.c_str();
sng.SongPath = (char*)song_path;
return sng;
}
extern "C"
{
Song retrieve_metadata(const char*);
Song retrieve_metadata(const char* song_path)
{
return fetch_metadata(song_path);
}
}