midi/text streams

- added midi and text streams with:
  - on
  - name
  - ip
had to manually test as these are currently write-only, but I suspect this is a bug/will change in the future
This commit is contained in:
pblivingston
2025-11-28 19:22:56 -05:00
parent 72185d14b3
commit 17e601a8d6
4 changed files with 134 additions and 26 deletions

View File

@@ -106,7 +106,9 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
}
Context 'Instream' -ForEach @(
@{ Index = $vban_in }
@{ Index = $vban_inA }
# @{ Index = $vban_inM }
# @{ Index = $vban_inT }
) {
It "Should set vban.instream[$index].on" {
$vmr.vban.instream[$index].on = $value
@@ -115,7 +117,8 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
}
Context 'Outstream' -ForEach @(
@{ Index = $vban_out }
@{ Index = $vban_outA }
# @{ Index = $vban_outM }
) {
It "Should set vban.outstream[$index].on" {
$vmr.vban.outstream[$index].on = $value
@@ -427,7 +430,7 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
}
Context 'Instream' -ForEach @(
@{ Index = $vban_in }
@{ Index = $vban_inA }
) {
It "Should set vban.instream[$index].port" -ForEach @(
@{ Value = 1024; Expected = 1024 }
@@ -470,7 +473,7 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
}
Context 'Outstream' -ForEach @(
@{ Index = $vban_out }
@{ Index = $vban_outA }
) {
It "Should set vban.outstream[$index].port" -ForEach @(
@{ Value = 1024; Expected = 1024 }
@@ -758,7 +761,9 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
Describe 'Vban' {
Context 'Instream' -ForEach @(
@{ Index = $vban_in }
@{ Index = $vban_inA }
# @{ Index = $vban_inM }
# @{ Index = $vban_inT }
) {
It "Should set vban.instream[$index].name" -ForEach @(
@{ Value = 'TestIn0'; Expected = 'TestIn0' }
@@ -777,7 +782,8 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
}
Context 'Outstream' -ForEach @(
@{ Index = $vban_out }
@{ Index = $vban_outA }
# @{ Index = $vban_outM }
) {
It "Should set vban.outstream[$index].name" -ForEach @(
@{ Value = 'TestOut0'; Expected = 'TestOut0' }

View File

@@ -14,8 +14,11 @@ function main() {
$virt_in = $vmr.kind.p_in + $vmr.kind.v_in - 1
$phys_out = $vmr.kind.p_out - 1
$virt_out = $vmr.kind.p_out + $vmr.kind.v_out - 1
$vban_in = $vmr.kind.vban_in - 1
$vban_out = $vmr.kind.vban_out - 1
$vban_inA = $vmr.kind.vban.in - 1
$vban_inM = $vmr.kind.vban.in + $vmr.kind.vban.midi - 1
$vban_inT = $vmr.kind.vban.in + $vmr.kind.vban.midi + $vmr.kind.vban.text - 1
$vban_outA = $vmr.kind.vban.out - 1
$vban_outM = $vmr.kind.vban.out + $vmr.kind.vban.midi - 1
$insert = $vmr.kind.insert - 1
$composite = $vmr.kind.composite - 1
$strip_ch = $vmr.kind.eq_ch['strip'] - 1