Skip to content

Commit

Permalink
Add Pi-Zero 2 W to Audio Config list for CamillaDSP
Browse files Browse the repository at this point in the history
  • Loading branch information
moodeaudio committed Jan 7, 2022
1 parent 6bd7b49 commit e7737e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/snd-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,8 @@
$model = substr($_SESSION['hdwrrev'], 3, 1);
$cmmodel = substr($_SESSION['hdwrrev'], 3, 3); // Generic Pi-CM3+, Pi-CM4 for future use
$name = $_SESSION['hdwrrev'];
// Pi-2B rev 1.2, Allo USBridge SIG, Pi-3B/B+/A+, Pi-4B
if ($name == 'Pi-2B 1.2 1GB' || $model == '3' || $model == '4' || $name == 'Allo USBridge SIG [CM3+ Lite 1GB v1.0]') {
// Pi-Zero 2 W, Pi-2B rev 1.2, Allo USBridge SIG, Pi-3B/B+/A+, Pi-4B
if ((strpos($name, 'Pi-Zero 2') !== false) || $name == 'Pi-2B 1.2 1GB' || $model == '3' || $model == '4' || $name == 'Allo USBridge SIG [CM3+ Lite 1GB v1.0]') {
$_camilladsp_set_disabled = ($_SESSION['invert_polarity'] != '0' || $_SESSION['crossfeed'] != 'Off' || $_SESSION['eqfa12p'] != 'Off' || $_SESSION['alsaequal'] != 'Off') ? 'disabled' : '';
}
else {
Expand Down

0 comments on commit e7737e5

Please sign in to comment.