blob: bdb219636d0016c4fcef7d9b15403bc9ea42270f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// license:BSD-3-Clause
// copyright-holders:Miodrag Milanovic
/***************************************************************************
none.cpp
Dummy sound interface.
*******************************************************************c********/
#include "sound_module.h"
#include "modules/osdmodule.h"
namespace osd {
namespace {
class sound_none : public osd_module, public sound_module
{
public:
sound_none() : osd_module(OSD_SOUND_PROVIDER, "none")
{
}
virtual ~sound_none() { }
virtual int init(osd_interface &osd, const osd_options &options) override { return 0; }
virtual void exit() override { }
};
} // anonymous namespace
} // namespace osd
MODULE_DEFINITION(SOUND_NONE, osd::sound_none)
|