mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-22 16:59:24 +02: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:
parent
276e8b8e14
commit
5e3fe7ac5e
@ -16631,3 +16631,6 @@
|
|||||||
2018-03-28 Fred Gleason <fredg@paravelsystems.com>
|
2018-03-28 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Updated 'NEWS'.
|
* Updated 'NEWS'.
|
||||||
* Incremented the package version to 2.19.1.
|
* 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;
|
return false;
|
||||||
}
|
}
|
||||||
if(LogHpi(HPI_InStreamHostBufferAllocate(NULL,hpi_stream,dma_buffer_size),
|
hpi_err=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;
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RDHPIRecordStream::FreeStream()
|
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__);
|
LogHpi(HPI_InStreamClose(NULL,hpi_stream),__LINE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user