Ok so it only happens if I put the vu meters inside of another container, like a groupbox or a panel
SMF - Just Installed!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
Public Sub setupFeedInstances()
Dim odr As New DataSet
odr = db_read("SELECT * FROM `feeds`")
For Each dr In odr.Tables(0).Rows
Dim feedInstance = New STLogger.Logger
Dim audioDeviceID As Integer
Dim foundRows() As Data.DataRow
foundRows = audioDevices.Select("device Like '" & dr("feedDevice").ToString & "'")
For Each row As DataRow In foundRows
audioDeviceID = row.Item(0)
Next
With feedInstance
.Location = New Point(39, (13 + (feeds.Count * 160)))
.folder = My.Settings.DefaultDirectory & "\"
.station = dr("feedName").ToString()
.deviceIndex = audioDeviceID
.duration = dr("feedDuration")
.recFormat = dr("feedAudioFormat").ToString()
.recQuality = dr("feedQuality")
.silenceThreshold = dr("silenceThreshold")
.silenceMinLength = dr("silenceMinLength")
.silenceDetect = dr("feedSilence")
End With
feeds.Add(dr("feedName").ToString(), feedInstance)
_Logger.Controls.Add(feeds(dr("feedName").ToString()))
feedInstance.setup()
If dr("feedDuration") > 0 Then
feedInstance.recStart()
End If
Next
odr.Dispose()
End Sub
Public Shared Sub startfeed(ByVal feed As streamParameters)
Dim feedInstance = New STLogger.Logger
With feedInstance
.Location = feed.Location
.folder = feed.folder
.station = feed.station
.deviceIndex = feed.deviceIndex
.duration = feed.duration
.recFormat = feed.recFormat
.recQuality = feed.recQuality
.silenceThreshold = feed.silenceThreshold
.silenceMinLength = feed.silenceMinLength
.silenceDetect = feed.silenceDetect
End With
Main.feeds.Add(feed.station, feedInstance)
Main._Logger.Controls.Add(Main.feeds(feed.station))
feedInstance.setup()
If feed.duration > 0 Then
feedInstance.recStart()
End If
End Sub