mirror of
https://github.com/overte-org/overte.git
synced 2025-07-16 14:37:02 +02:00
20 lines
644 B
C++
20 lines
644 B
C++
//
|
|
// SoundCacheScriptingInterface.cpp
|
|
// libraries/audio/src
|
|
//
|
|
// Created by David Rowe on 25 Jul 2018.
|
|
// Copyright 2018 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#include "SoundCacheScriptingInterface.h"
|
|
|
|
SoundCacheScriptingInterface::SoundCacheScriptingInterface() :
|
|
ScriptableResourceCache::ScriptableResourceCache(DependencyManager::get<SoundCache>())
|
|
{ }
|
|
|
|
SharedSoundPointer SoundCacheScriptingInterface::getSound(const QUrl& url) {
|
|
return DependencyManager::get<SoundCache>()->getSound(url);
|
|
}
|