If you change the InBitsPerSample or InSampleRate on a TAcsAudioIn component in lazarus, the values immediately change back to the defaults (perhaps because I had the driver and device set in the designer?).
In my case, the defaults of 8 and 8000, respectively made for some pretty crummy sound quality.
The problem is that the property definitions were set up to write to a local variable, but to read from the TAcsAudioDriver.
This patch changes the properties to call new methods SetBPS and SetSR , which in turn set the InBitsPerSample and InSampleRate properties on the TcsAudioInDriver.
... And now the sound quality is amazing, and I can get back to using these awesome components! Thanks for making this!
If you change the
InBitsPerSample
orInSampleRate
on aTAcsAudioIn
component in lazarus, the values immediately change back to the defaults (perhaps because I had the driver and device set in the designer?).In my case, the defaults of 8 and 8000, respectively made for some pretty crummy sound quality.
The problem is that the
property
definitions were set up to write to a local variable, but to read from theTAcsAudioDriver
.This patch changes the properties to call new methods
SetBPS
andSetSR
, which in turn set theInBitsPerSample
andInSampleRate
properties on theTcsAudioInDriver
.... And now the sound quality is amazing, and I can get back to using these awesome components! Thanks for making this!