view audioio/AudioTargetFactory.h @ 3:75c3ea1c3a32

* Add play-selection and looping modes. Looping seems to work OK, but the plain play-selection is miscalculating current frame number to feed back to the GUI. * Cache selection rectanges wherever possible in View::paintEvent.
author Chris Cannam
date Tue, 24 Jan 2006 16:20:58 +0000
parents df5923e33d01
children c606d3ffa397
line wrap: on
line source
/* -*- c-basic-offset: 4 -*-  vi:set ts=8 sts=4 sw=4: */

/*
    A waveform viewer and audio annotation editor.
    Chris Cannam, Queen Mary University of London, 2005-2006
    
    This is experimental software.  Not for distribution.
*/

#ifndef _AUDIO_TARGET_FACTORY_H_
#define _AUDIO_TARGET_FACTORY_H_

class AudioCallbackPlaySource;
class AudioCallbackPlayTarget;

class AudioTargetFactory 
{
public:
    static AudioCallbackPlayTarget *createCallbackTarget(AudioCallbackPlaySource *);
};

#endif