Mercurial > hg > svapp
annotate audioio/AudioTargetFactory.h @ 53:de2b3c6479c8
* Introduce new Transform class which contains data necessary to describe the
context for a plugin -- the plugin's name and output, the step/block size
etc (formerly spread across ExecutionContext and TransformFactory). Other
code hasn't been updated to use this yet.
* Rename existing Transform stuff to Transformers (because they run Transforms)
I'm still not 100% sure about this change, don't rely on it.
author | Chris Cannam |
---|---|
date | Mon, 05 Nov 2007 15:31:06 +0000 |
parents | 3c5756fb6a68 |
children | d615d0220828 |
rev | line source |
---|---|
Chris@43 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@43 | 2 |
Chris@43 | 3 /* |
Chris@43 | 4 Sonic Visualiser |
Chris@43 | 5 An audio file viewer and annotation editor. |
Chris@43 | 6 Centre for Digital Music, Queen Mary, University of London. |
Chris@43 | 7 This file copyright 2006 Chris Cannam. |
Chris@43 | 8 |
Chris@43 | 9 This program is free software; you can redistribute it and/or |
Chris@43 | 10 modify it under the terms of the GNU General Public License as |
Chris@43 | 11 published by the Free Software Foundation; either version 2 of the |
Chris@43 | 12 License, or (at your option) any later version. See the file |
Chris@43 | 13 COPYING included with this distribution for more information. |
Chris@43 | 14 */ |
Chris@43 | 15 |
Chris@43 | 16 #ifndef _AUDIO_TARGET_FACTORY_H_ |
Chris@43 | 17 #define _AUDIO_TARGET_FACTORY_H_ |
Chris@43 | 18 |
Chris@43 | 19 class AudioCallbackPlaySource; |
Chris@43 | 20 class AudioCallbackPlayTarget; |
Chris@43 | 21 |
Chris@43 | 22 class AudioTargetFactory |
Chris@43 | 23 { |
Chris@43 | 24 public: |
Chris@43 | 25 static AudioCallbackPlayTarget *createCallbackTarget(AudioCallbackPlaySource *); |
Chris@43 | 26 }; |
Chris@43 | 27 |
Chris@43 | 28 #endif |
Chris@43 | 29 |