Skip to content

Commit 7aec809

Browse files
committed
[audioinfo.php] Add section for Analog or S/PDIF input
1 parent 7c0dd9c commit 7aec809

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

www/audioinfo.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@
7575
$_encoded_at = 'Opus 16 bit 48 kHz, Stereo';
7676
$_decoded_to = 'PCM 16 bit 48 kHz, Stereo';
7777
$_decode_rate = '';
78+
} else if ($_SESSION['audioin'] == 'Analog' || $_SESSION['audioin'] == 'S/PDIF') {
79+
$_file = $_SESSION['audioin'] . ' input';
80+
$_encoded_at = 'Unknown';
81+
$_decoded_to = 'Unknown';
82+
$_decode_rate = '';
7883
} else {
7984
$song = getCurrentSong($sock);
8085
$_file = $song['file'];

0 commit comments

Comments
 (0)