[DEV] correct the jack output
This commit is contained in:
parent
7d91d12152
commit
4febe7b119
@ -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:
|
||||
{
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user