audio type improved
This commit is contained in:
parent
67f5e6cc53
commit
c82b25aebd
@ -39,6 +39,8 @@ function parseAudioType(str, input, output) {
|
|||||||
if (str.indexOf('mikr') >= 0) { result = 'Microphone'; }
|
if (str.indexOf('mikr') >= 0) { result = 'Microphone'; }
|
||||||
if (str.indexOf('phone') >= 0) { result = 'Phone'; }
|
if (str.indexOf('phone') >= 0) { result = 'Phone'; }
|
||||||
if (str.indexOf('controll') >= 0) { result = 'Controller'; }
|
if (str.indexOf('controll') >= 0) { result = 'Controller'; }
|
||||||
|
if (str.indexOf('line o') >= 0) { result = 'Line Out'; }
|
||||||
|
if (str.indexOf('digital o') >= 0) { result = 'Digital Out'; }
|
||||||
|
|
||||||
if (!result && output) {
|
if (!result && output) {
|
||||||
result = 'Speaker';
|
result = 'Speaker';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user