[DEV] correct the jack output

This commit is contained in:
Edouard DUPIN 2015-02-09 23:24:41 +01:00
parent 7d91d12152
commit 4febe7b119
2 changed files with 1 additions and 2 deletions

View File

@ -341,7 +341,6 @@ void airtaudio::Api::convertBuffer(char *_outBuffer, char *_inBuffer, airtaudio:
&& m_nDeviceChannels[0] < m_nDeviceChannels[1]) {
memset(_outBuffer, 0, m_bufferSize * _info.outJump * audio::getFormatBytes(_info.outFormat));
}
int j;
switch (audio::getFormatBytes(_info.outFormat)) {
case 1:
{

View File

@ -373,7 +373,7 @@ bool airtaudio::api::Jack::probeDeviceOpen(uint32_t _device,
if ( m_deviceInterleaved[modeToIdTable(_mode)] == false
&& m_nUserChannels[modeToIdTable(_mode)] > 1) {
ATA_ERROR("Reorder channel for the interleaving properties ...");
//m_doConvertBuffer[modeToIdTable(_mode)] = true;
m_doConvertBuffer[modeToIdTable(_mode)] = true;
}
// Allocate our JackHandle structure for the stream.
if (handle == 0) {