13
0

fix iterator type

This commit is contained in:
Paul Davis 2020-04-02 19:26:03 -06:00
parent af69ac1285
commit cb4997f4a4

View File

@ -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 {