mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Remove unused API -- there is no default backend.
This commit is contained in:
parent
dc4dc048a9
commit
db2ed6ade5
2 changed files with 0 additions and 11 deletions
|
|
@ -68,7 +68,6 @@ class LIBARDOUR_API AudioEngine : public PortManager, public SessionHandlePtr
|
||||||
int discover_backends();
|
int discover_backends();
|
||||||
std::vector<const AudioBackendInfo*> available_backends() const;
|
std::vector<const AudioBackendInfo*> available_backends() const;
|
||||||
std::string current_backend_name () const;
|
std::string current_backend_name () const;
|
||||||
boost::shared_ptr<AudioBackend> set_default_backend ();
|
|
||||||
boost::shared_ptr<AudioBackend> set_backend (const std::string&, const std::string& arg1, const std::string& arg2);
|
boost::shared_ptr<AudioBackend> set_backend (const std::string&, const std::string& arg1, const std::string& arg2);
|
||||||
boost::shared_ptr<AudioBackend> current_backend() const { return _backend; }
|
boost::shared_ptr<AudioBackend> current_backend() const { return _backend; }
|
||||||
bool setup_required () const;
|
bool setup_required () const;
|
||||||
|
|
|
||||||
|
|
@ -853,16 +853,6 @@ AudioEngine::drop_backend ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::shared_ptr<AudioBackend>
|
|
||||||
AudioEngine::set_default_backend ()
|
|
||||||
{
|
|
||||||
if (_backends.empty()) {
|
|
||||||
return boost::shared_ptr<AudioBackend>();
|
|
||||||
}
|
|
||||||
|
|
||||||
return set_backend (_backends.begin()->first, "", "");
|
|
||||||
}
|
|
||||||
|
|
||||||
boost::shared_ptr<AudioBackend>
|
boost::shared_ptr<AudioBackend>
|
||||||
AudioEngine::set_backend (const std::string& name, const std::string& arg1, const std::string& arg2)
|
AudioEngine::set_backend (const std::string& name, const std::string& arg1, const std::string& arg2)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue