mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-09 22:43:11 +02:00
2019-12-20 Fred Gleason <fredg@paravelsystems.com>
* Added additional debugging messages to the 'Local Audio Adapter' driver in ripcd(8).
This commit is contained in:
parent
0d50952201
commit
1a81eb7cc9
@ -19363,3 +19363,6 @@
|
||||
multi-byte UTF-8 characters to be corrupt.
|
||||
2019-12-17 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Incremented the package version to 3.2.0int8.
|
||||
2019-12-20 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added additional debugging messages to the 'Local Audio Adapter'
|
||||
driver in ripcd(8).
|
||||
|
@ -262,6 +262,8 @@ void LocalAudio::InitializeHpi(RDMatrix *matrix)
|
||||
hpi_handle_t block;
|
||||
size_t value_size=0;
|
||||
size_t value_items=0;
|
||||
hpi_err_t hpi_err;
|
||||
char err_txt[200];
|
||||
|
||||
bt_gpis=0;
|
||||
bt_gpos=0;
|
||||
@ -269,14 +271,18 @@ void LocalAudio::InitializeHpi(RDMatrix *matrix)
|
||||
//
|
||||
// Open Mixer
|
||||
//
|
||||
if(HPI_MixerOpen(NULL,bt_card,&bt_mixer)!=0) {
|
||||
if(LogHpi(HPI_MixerOpen(NULL,bt_card,&bt_mixer),__LINE__)!=0) {
|
||||
UpdateDb(matrix);
|
||||
return;
|
||||
}
|
||||
memset(&cntl,0,sizeof(cntl));
|
||||
cntl.wSrcNodeType=HPI_SOURCENODE_ADAPTER;
|
||||
if(HPI_Object_BlockHandle(bt_mixer,HPI_SOURCENODE_ADAPTER,0,0,0,
|
||||
"GPIO",&block)!=0) {
|
||||
if((hpi_err=HPI_Object_BlockHandle(bt_mixer,HPI_SOURCENODE_ADAPTER,0,0,0,
|
||||
"GPIO",&block))!=0) {
|
||||
HPI_GetErrorText(hpi_err,err_txt);
|
||||
rda->syslog(LOG_DEBUG,
|
||||
"matrix %d: unable to open HPI block object \"GPIO\" [%s]",
|
||||
bt_card,(const char *)err_txt);
|
||||
UpdateDb(matrix);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user