remove SampleFormat code from waves audio backend
This commit is contained in:
@@ -77,7 +77,6 @@ WavesAudioBackend::WavesAudioBackend (AudioEngine& e)
|
||||
, _audio_device_manager (this)
|
||||
, _midi_device_manager (*this)
|
||||
, _device (NULL)
|
||||
, _sample_format (FormatFloat)
|
||||
, _interleaved (true)
|
||||
, _input_channels (0)
|
||||
, _max_input_channels (0)
|
||||
@@ -408,16 +407,6 @@ WavesAudioBackend::set_buffer_size (uint32_t buffer_size)
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
WavesAudioBackend::set_sample_format (SampleFormat sample_format)
|
||||
{
|
||||
/* COMMENTED DBG LOGS */ std::cout << "WavesAudioBackend::set_sample_format (): " << sample_format << std::endl;
|
||||
|
||||
_sample_format = sample_format;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
WavesAudioBackend::set_interleaved (bool yn)
|
||||
{
|
||||
@@ -495,14 +484,6 @@ WavesAudioBackend::buffer_size () const
|
||||
}
|
||||
|
||||
|
||||
SampleFormat
|
||||
WavesAudioBackend::sample_format () const
|
||||
{
|
||||
/* COMMENTED DBG LOGS */ std::cout << "WavesAudioBackend::sample_format ()" << std::endl;
|
||||
return _sample_format;
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
WavesAudioBackend::interleaved () const
|
||||
{
|
||||
|
||||
@@ -107,8 +107,6 @@ class WavesMidiPort;
|
||||
|
||||
virtual int set_buffer_size (uint32_t);
|
||||
|
||||
virtual int set_sample_format (SampleFormat);
|
||||
|
||||
virtual int set_interleaved (bool yn);
|
||||
|
||||
virtual int set_input_channels (uint32_t);
|
||||
@@ -125,8 +123,6 @@ class WavesMidiPort;
|
||||
|
||||
virtual uint32_t buffer_size () const;
|
||||
|
||||
virtual SampleFormat sample_format () const;
|
||||
|
||||
virtual bool interleaved () const;
|
||||
|
||||
virtual uint32_t input_channels () const;
|
||||
@@ -279,7 +275,6 @@ class WavesMidiPort;
|
||||
WavesMidiDeviceManager _midi_device_manager;
|
||||
|
||||
WCMRAudioDevice *_device;
|
||||
SampleFormat _sample_format;
|
||||
bool _interleaved;
|
||||
static std::string __instantiated_name;
|
||||
uint32_t _input_channels;
|
||||
|
||||
Reference in New Issue
Block a user