mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-13 01:56:34 +01:00
globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
This commit is contained in:
parent
297e80e020
commit
4dc63966f0
774 changed files with 7919 additions and 7919 deletions
|
|
@ -26,9 +26,9 @@ WavesDataPort::WavesDataPort (const std::string& inport_name, PortFlags inflags)
|
|||
: _name (inport_name)
|
||||
, _flags (inflags)
|
||||
{
|
||||
_capture_latency_range.min =
|
||||
_capture_latency_range.max =
|
||||
_playback_latency_range.min =
|
||||
_capture_latency_range.min =
|
||||
_capture_latency_range.max =
|
||||
_playback_latency_range.min =
|
||||
_playback_latency_range.max = 0;
|
||||
}
|
||||
|
||||
|
|
@ -63,7 +63,7 @@ int WavesDataPort::connect (WavesDataPort *port)
|
|||
|
||||
if (this == port) {
|
||||
std::cerr << "WavesDataPort::connect (): attempt to connect port to itself!" << std::endl;
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (is_connected (port)) {
|
||||
|
|
@ -106,7 +106,7 @@ int WavesDataPort::disconnect (WavesDataPort *port)
|
|||
void WavesDataPort::_disconnect (WavesDataPort *port, bool api_call)
|
||||
{
|
||||
std::vector<WavesDataPort*>::iterator it = std::find (_connections.begin (), _connections.end (), port);
|
||||
|
||||
|
||||
if (it != _connections.end ()) { // actually, it's supposed to be always true.
|
||||
_connections.erase (it);
|
||||
}
|
||||
|
|
@ -124,7 +124,7 @@ void WavesDataPort::_disconnect (WavesDataPort *port, bool api_call)
|
|||
void WavesDataPort::disconnect_all ()
|
||||
{
|
||||
_disconnect_all ();
|
||||
|
||||
|
||||
if (is_input()) {
|
||||
_wipe_buffer();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue