Revision 52:e0e12bd2978d utilities/track/track.cpp
| utilities/track/track.cpp | ||
|---|---|---|
| 10 | 10 |
#include <dataquay/objectmapper/ObjectStorer.h> |
| 11 | 11 |
#include <dataquay/objectmapper/ObjectMapper.h> |
| 12 | 12 |
#include <dataquay/objectmapper/TypeMapping.h> |
| 13 |
#include <dataquay/Debug.h> |
|
| 14 | 13 |
|
| 15 | 14 |
#include "data/fileio/AudioFileReaderFactory.h" |
| 16 | 15 |
#include "data/fileio/AudioFileReader.h" |
| ... | ... | |
| 31 | 30 |
using namespace Vamp; |
| 32 | 31 |
using namespace Vamp::HostExt; |
| 33 | 32 |
|
| 33 |
/* |
|
| 34 | 34 |
ostream &operator<<(ostream &target, const QString &str) |
| 35 | 35 |
{
|
| 36 | 36 |
return target << str.toLocal8Bit().data(); |
| ... | ... | |
| 40 | 40 |
{
|
| 41 | 41 |
return target << "<" << u.toString() << ">"; |
| 42 | 42 |
} |
| 43 |
|
|
| 43 |
*/ |
|
| 44 | 44 |
|
| 45 | 45 |
bool |
| 46 | 46 |
load(BasicStore *store, QString fileName) |
| ... | ... | |
| 706 | 706 |
} |
| 707 | 707 |
|
| 708 | 708 |
BasicStore localStore; |
| 709 |
localStore.setBaseUri(store->getBaseUri()); |
|
| 709 | 710 |
TypeRegistrar::addMappings(&localStore, &tm); |
| 710 | 711 |
|
| 711 | 712 |
ObjectStorer *localStorer = new ObjectStorer(&localStore); |
Also available in: Unified diff