fix iterator type
This commit is contained in:
parent
af69ac1285
commit
cb4997f4a4
@ -1859,7 +1859,7 @@ PortAudioPort::~PortAudioPort () { }
|
||||
void* PortAudioPort::get_buffer (pframes_t n_samples)
|
||||
{
|
||||
if (is_input ()) {
|
||||
std::vector<BackendPort*>::const_iterator it = get_connections ().begin ();
|
||||
std::set<BackendPort*>::const_iterator it = get_connections ().begin ();
|
||||
if (it == get_connections ().end ()) {
|
||||
memset (_buffer, 0, n_samples * sizeof (Sample));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user