--- linuxsampler/trunk/src/drivers/audio/AudioOutputDevice.h 2009/07/09 17:37:41 1933 +++ linuxsampler/trunk/src/drivers/audio/AudioOutputDevice.h 2009/07/12 10:35:55 1934 @@ -3,7 +3,7 @@ * LinuxSampler - modular, streaming capable sampler * * * * Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * - * Copyright (C) 2005 - 2008 Christian Schoenebeck * + * Copyright (C) 2005 - 2009 Christian Schoenebeck * * * * 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 * @@ -42,6 +42,7 @@ // just symbol prototyping class Engine; + class AudioOutputDeviceFactory; /** Abstract base class for audio output drivers in LinuxSampler * @@ -303,7 +304,7 @@ */ int RenderSilence(uint Samples); - friend class Sampler; // allow Sampler class to destroy audio devices + friend class AudioOutputDeviceFactory; // allow AudioOutputDeviceFactory class to destroy audio devices };