X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fbuffer.cc;h=3d4737911b020255384a1c6d03374488a0cad524;hb=0bee288b5d6c6ca1fb33b8bc3b584c6d2c3d3364;hp=8abe238a4752c98d428de8321b5ec8dca525d672;hpb=19273e824d40534a4e31259fb8b83122b24aa4e9;p=ardour.git diff --git a/libs/ardour/buffer.cc b/libs/ardour/buffer.cc index 8abe238a47..3d4737911b 100644 --- a/libs/ardour/buffer.cc +++ b/libs/ardour/buffer.cc @@ -1,30 +1,24 @@ /* - Copyright (C) 2006 Paul Davis - + Copyright (C) 2006 Paul Davis + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include -#include -#include - -#ifdef __x86_64__ -static const int CPU_CACHE_ALIGN = 64; -#else -static const int CPU_CACHE_ALIGN = 16; /* arguably 32 on most arches, but it matters less */ -#endif +#include "ardour/buffer.h" +#include "ardour/audio_buffer.h" +#include "ardour/midi_buffer.h" namespace ARDOUR {