add port connect/add/remove callbacks to CoreAudio backend
This commit is contained in:
parent
2a80832243
commit
1e996ca45f
@ -1611,11 +1611,18 @@ CoreAudioPort::CoreAudioPort (CoreAudioBackend &b, const std::string& name, Port
|
||||
{
|
||||
memset (_buffer, 0, sizeof (_buffer));
|
||||
mlock (_buffer, sizeof (_buffer));
|
||||
|
||||
_backend.port_connect_add_remove_callback (); // XXX -> RT
|
||||
|
||||
}
|
||||
|
||||
CoreAudioPort::~CoreAudioPort () { }
|
||||
CoreAudioPort::~CoreAudioPort ()
|
||||
{
|
||||
_backend.port_connect_add_remove_callback (); // XXX -> RT
|
||||
}
|
||||
|
||||
void* CoreAudioPort::get_buffer (pframes_t n_samples)
|
||||
void*
|
||||
CoreAudioPort::get_buffer (pframes_t n_samples)
|
||||
{
|
||||
if (is_input ()) {
|
||||
const std::set<BackendPortPtr>& connections = get_connections ();
|
||||
|
Loading…
Reference in New Issue
Block a user