mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-19 17:11:15 +02: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:
@@ -735,13 +735,21 @@ bool DriverAlsa::initialize(unsigned *next_cardnum)
|
||||
|
||||
int DriverAlsa::inputPortQuantity(int card) const
|
||||
{
|
||||
#ifdef ALSA
|
||||
return alsa_input_port_quantities.value(card);
|
||||
#else
|
||||
return 0;
|
||||
#endif // ALSA
|
||||
}
|
||||
|
||||
|
||||
int DriverAlsa::outputPortQuantity(int card) const
|
||||
{
|
||||
#ifdef ALSA
|
||||
return alsa_output_port_quantities.value(card);
|
||||
#else
|
||||
return 0;
|
||||
#endif // ALSA
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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