swift
Public Member Functions | List of all members
swift::sound::sample_provider::CResourceSoundSampleProvider Class Reference

A sample provider. More...

Inheritance diagram for swift::sound::sample_provider::CResourceSoundSampleProvider:
[legend]

Public Member Functions

 CResourceSoundSampleProvider (const CResourceSound &resourceSound, QObject *parent=nullptr)
 Ctor.
 
virtual int readSamples (QVector< float > &samples, qint64 count)
 copydoc ISampleProvider::readSamples
 
virtual bool isFinished () const
 copydoc ISampleProvider::isFinished
 
bool looping () const
 Looping.
 
void setLooping (bool looping)
 Looping.
 
double gain () const
 Gain.
 
void setGain (double gain)
 Gain.
 
- Public Member Functions inherited from swift::sound::sample_provider::ISampleProvider
 ISampleProvider (QObject *parent=nullptr)
 Ctor.
 
virtual ~ISampleProvider ()
 Dtor.
 

Additional Inherited Members

- Static Protected Member Functions inherited from swift::sound::sample_provider::ISampleProvider
static bool verbose ()
 Verbose logs?
 

Detailed Description

A sample provider.

Definition at line 14 of file resourcesoundsampleprovider.h.


The documentation for this class was generated from the following files: