mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-13 16:44:10 +01:00
2023-11-21 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the build system that caused configuration to halt if JACK support was not detected. * Fixed a regression in build system that caused configuration to halt if ALSA support was not detected. * Fixed a regression in caed(8) that caused the build to fail if HPI support was not enabled. * Fixed a regression in caed(8) that caused the build to fail if ALSA support was not enabled. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -93,13 +93,21 @@ bool DriverHpi::initialize(unsigned *next_cardnum)
|
||||
|
||||
int DriverHpi::inputPortQuantity(int card) const
|
||||
{
|
||||
#ifdef HPI
|
||||
return d_sound_card->getCardInputPorts(card);
|
||||
#else
|
||||
return 0;
|
||||
#endif // HPI
|
||||
}
|
||||
|
||||
|
||||
int DriverHpi::outputPortQuantity(int card) const
|
||||
{
|
||||
#ifdef HPI
|
||||
return d_sound_card->getCardOutputPorts(card);
|
||||
#else
|
||||
return 0;
|
||||
#endif // HPI
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user