mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 07:10:11 +01:00
2018-04-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the HPI audio interface that broke capture on adapters lacking DMA bus-mastering support.
This commit is contained in:
@@ -16631,3 +16631,6 @@
|
||||
2018-03-28 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Updated 'NEWS'.
|
||||
* Incremented the package version to 2.19.1.
|
||||
2018-04-14 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in the HPI audio interface that broke capture
|
||||
on adapters lacking DMA bus-mastering support.
|
||||
|
||||
@@ -724,19 +724,17 @@ bool RDHPIRecordStream::GetStream()
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if(LogHpi(HPI_InStreamHostBufferAllocate(NULL,hpi_stream,dma_buffer_size),
|
||||
__LINE__)!=0) {
|
||||
LogHpi(HPI_InStreamHostBufferFree(NULL,hpi_stream),__LINE__);
|
||||
LogHpi(HPI_InStreamClose(NULL,hpi_stream),__LINE__);
|
||||
return false;
|
||||
}
|
||||
hpi_err=HPI_InStreamHostBufferAllocate(NULL,hpi_stream,dma_buffer_size);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
void RDHPIRecordStream::FreeStream()
|
||||
{
|
||||
LogHpi(HPI_InStreamHostBufferFree(NULL,hpi_stream),__LINE__);
|
||||
hpi_err_t hpi_err;
|
||||
|
||||
hpi_err=HPI_InStreamHostBufferFree(NULL,hpi_stream);
|
||||
LogHpi(HPI_InStreamClose(NULL,hpi_stream),__LINE__);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user