Mercurial > hg > sonic-visualiser
annotate audioio/AudioTargetFactory.h @ 25:e74f508db18c
* Add setRatio method to the time stretcher, and make it possible to change
the ratio without having to construct and replace the time stretcher. This
means we can do it seamlessly. Add a lot more ratios to the
time stretch control in the main window
author | Chris Cannam |
---|---|
date | Fri, 15 Sep 2006 15:35:06 +0000 |
parents | cd5d7ff8ef38 |
children |
rev | line source |
---|---|
Chris@0 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@0 | 2 |
Chris@0 | 3 /* |
Chris@0 | 4 Sonic Visualiser |
Chris@0 | 5 An audio file viewer and annotation editor. |
Chris@0 | 6 Centre for Digital Music, Queen Mary, University of London. |
Chris@0 | 7 This file copyright 2006 Chris Cannam. |
Chris@0 | 8 |
Chris@0 | 9 This program is free software; you can redistribute it and/or |
Chris@0 | 10 modify it under the terms of the GNU General Public License as |
Chris@0 | 11 published by the Free Software Foundation; either version 2 of the |
Chris@0 | 12 License, or (at your option) any later version. See the file |
Chris@0 | 13 COPYING included with this distribution for more information. |
Chris@0 | 14 */ |
Chris@0 | 15 |
Chris@0 | 16 #ifndef _AUDIO_TARGET_FACTORY_H_ |
Chris@0 | 17 #define _AUDIO_TARGET_FACTORY_H_ |
Chris@0 | 18 |
Chris@0 | 19 class AudioCallbackPlaySource; |
Chris@0 | 20 class AudioCallbackPlayTarget; |
Chris@0 | 21 |
Chris@0 | 22 class AudioTargetFactory |
Chris@0 | 23 { |
Chris@0 | 24 public: |
Chris@0 | 25 static AudioCallbackPlayTarget *createCallbackTarget(AudioCallbackPlaySource *); |
Chris@0 | 26 }; |
Chris@0 | 27 |
Chris@0 | 28 #endif |
Chris@0 | 29 |