Re: TAudioIO SNAFU, arrgh ak, splutter.
  Home FAQ Contact Sign in
alt.comp.lang.borlanddelphi only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: TAudioIO SNAFU, arrgh ak, splutter.         

Group: alt.comp.lang.borlanddelphi · Group Profile
Author: alanglloyd
Date: Apr 7, 2008 00:55

On 7 Apr, 00:08, "Kevin Forbes VK3KUF" westnet.com.au> wrote:
> When attempting to build anything made previously using TAudioIO, now I get
> these errors,
>
> **************************
> The AudioOut1FillBuffer method referenced by AudioOut1.OnFillBuffer has an
> incompatible paramater list. Remove the reference?
> **************************
> **************************
> The AudioIn1FillBuffer method referenced by AudioIn1.OnFillBuffer has an
> incompatible paramater list. Remove the reference?
> **************************
>
> I copied the entire backup on a CD to \Program Files\Delphi7, that made no
> difference, I still get the messages just above when trying to build. All
> the componenets I prviously had, turned up on the palette.
>
> Things like this really perplex me, I had them going before, have installed
> Delphi a dozen times before, and then something you have never seen before,
> pops up after not ever having being seen before.
>
> ?????
>
> What have I done?
>
> The TAudioIO components did go in previously, it was a bit of пїЅjob, but I've
> never seen this error before.
>

Welcome to the real world

What was the declaration of your AudioOut1FillBuffer &
AudioIn1FillBuffer, & how did that compare with the declaration of
TBufferEvent in AudioIO.pas ? They should be the same.

The warning of the property reference is IMO a matter of style,
although it can have some implications. Accessing a property
differently in child classes would normally be done by having the
access method in the parent class and overriding it in child classes
(or having an abstract method in the parent class). While you may not
have got the warning previously, it may be that the TAudioIO you now
have is different.

Having some time ago looked at AudioIO components of various sorts,
and found them wholly confusing, I bit the bullet, found out what
WaveIn & WaveOut required & wrote my own code to record & play audio.
Its not that difficult or wordy. I think that making it into a multi-
option component introduces more complexity than its worth, and
reduces code clarity.

If you want to go that route to re-write your application and
understand what's actually happening, I'm happy to do an email
tutorial for & with you.

Alan Lloyd
no comments
diggit! del.icio.us! reddit!