[XAudio2] avoid leak + fix voice creation for closest match
[xbmc.git] / xbmc / music / MusicDbUrl.h
blob06f3efe283519a31b8797e2f86239ba0993b73c1
1 /*
2 * Copyright (C) 2012-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include "DbUrl.h"
13 #include <string>
15 class CVariant;
17 class CMusicDbUrl : public CDbUrl
19 public:
20 CMusicDbUrl();
21 ~CMusicDbUrl() override;
23 protected:
24 bool parse() override;
25 bool validateOption(const std::string &key, const CVariant &value) override;