mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-21 16:38:54 +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.
|
multi-byte UTF-8 characters to be corrupt.
|
||||||
2019-12-17 Fred Gleason <fredg@paravelsystems.com>
|
2019-12-17 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Incremented the package version to 3.2.0int8.
|
* 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;
|
hpi_handle_t block;
|
||||||
size_t value_size=0;
|
size_t value_size=0;
|
||||||
size_t value_items=0;
|
size_t value_items=0;
|
||||||
|
hpi_err_t hpi_err;
|
||||||
|
char err_txt[200];
|
||||||
|
|
||||||
bt_gpis=0;
|
bt_gpis=0;
|
||||||
bt_gpos=0;
|
bt_gpos=0;
|
||||||
@ -269,14 +271,18 @@ void LocalAudio::InitializeHpi(RDMatrix *matrix)
|
|||||||
//
|
//
|
||||||
// Open Mixer
|
// Open Mixer
|
||||||
//
|
//
|
||||||
if(HPI_MixerOpen(NULL,bt_card,&bt_mixer)!=0) {
|
if(LogHpi(HPI_MixerOpen(NULL,bt_card,&bt_mixer),__LINE__)!=0) {
|
||||||
UpdateDb(matrix);
|
UpdateDb(matrix);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
memset(&cntl,0,sizeof(cntl));
|
memset(&cntl,0,sizeof(cntl));
|
||||||
cntl.wSrcNodeType=HPI_SOURCENODE_ADAPTER;
|
cntl.wSrcNodeType=HPI_SOURCENODE_ADAPTER;
|
||||||
if(HPI_Object_BlockHandle(bt_mixer,HPI_SOURCENODE_ADAPTER,0,0,0,
|
if((hpi_err=HPI_Object_BlockHandle(bt_mixer,HPI_SOURCENODE_ADAPTER,0,0,0,
|
||||||
"GPIO",&block)!=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);
|
UpdateDb(matrix);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user