remove unused and unimplementable audio engine sample format code

This commit is contained in:
Paul Davis 2014-02-24 14:46:19 -05:00
parent 55f6c5ab76
commit 9dbdac2a19
2 changed files with 0 additions and 21 deletions

View file

@ -57,7 +57,6 @@ JACKAudioBackend::JACKAudioBackend (AudioEngine& e, boost::shared_ptr<JackConnec
, _freewheeling (false)
, _target_sample_rate (48000)
, _target_buffer_size (1024)
, _target_sample_format (FormatFloat)
, _target_interleaved (false)
, _target_input_channels (0)
, _target_output_channels (0)
@ -267,18 +266,6 @@ JACKAudioBackend::set_buffer_size (uint32_t nframes)
return jack_set_buffer_size (_priv_jack, nframes);
}
int
JACKAudioBackend::set_sample_format (SampleFormat sf)
{
/* as far as JACK clients are concerned, the hardware is always
* floating point format.
*/
if (sf == FormatFloat) {
return 0;
}
return -1;
}
int
JACKAudioBackend::set_interleaved (bool yn)
{
@ -397,12 +384,6 @@ JACKAudioBackend::buffer_size () const
return _target_buffer_size;
}
SampleFormat
JACKAudioBackend::sample_format () const
{
return FormatFloat;
}
bool
JACKAudioBackend::interleaved () const
{