Welcome, Guest. Please login or register.

Author Topic: Anyone *EVER* used ahi.device for recording?  (Read 1885 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bubblebobbleTopic starter

  • Jr. Member
  • **
  • Join Date: Dec 2003
  • Posts: 66
    • Show all replies
    • http://www.hd-rec.de
Anyone *EVER* used ahi.device for recording?
« on: December 23, 2009, 08:04:43 PM »
Has anyone *EVER* used ahi.device for recording?

I ask this because it seems to be broken, it has drop outs.
At least under my WinUAE installation using my code. But the library interface works.
So I guess it is not the uaeaudio driver.

It is either the ahi.device or my code, however, I tried everything and read the recording example from the ahidev.lha approx. 1000x.

Is there a program out there that uses the ahi.device for recording so that I can test, if this is my code or indeed the ahi.device?
(and ehm, no, AHIRecord uses the Library interface, and Samplemanager uses my (buggy?) code)
« Last Edit: December 23, 2009, 08:08:24 PM by bubblebobble »
--
Author of
HD-Rec, Sweeper, Samplemanager, ArTKanoid, Monkeyscript, Toadies, AsteroidsTR, TuiTED, PosTED, TKPlayer, AudioConverter, ScreenCam, PerlinFX, MapEdit, AB3 Includes and many more...
Homepage: http://www.hd-rec.de
 

Offline bubblebobbleTopic starter

  • Jr. Member
  • **
  • Join Date: Dec 2003
  • Posts: 66
    • Show all replies
    • http://www.hd-rec.de
Re: Anyone *EVER* used ahi.device for recording?
« Reply #1 on: December 23, 2009, 09:35:20 PM »
As I said, AHIRecord uses the Library Interface.

So do AudioEvolution and SoundFX.
--
Author of
HD-Rec, Sweeper, Samplemanager, ArTKanoid, Monkeyscript, Toadies, AsteroidsTR, TuiTED, PosTED, TKPlayer, AudioConverter, ScreenCam, PerlinFX, MapEdit, AB3 Includes and many more...
Homepage: http://www.hd-rec.de
 

Offline bubblebobbleTopic starter

  • Jr. Member
  • **
  • Join Date: Dec 2003
  • Posts: 66
    • Show all replies
    • http://www.hd-rec.de
Re: Anyone *EVER* used ahi.device for recording?
« Reply #2 on: December 24, 2009, 09:58:53 AM »
HD-Rec uses the Library interface too. I am the author, btw. ;)

The Library Interface works fine.

Just the Device interface is dropping some audio, which results in missing audio fracments and crackling, very anoying. I checked the sourcecode of AHI, and the device interface usess the library interface to fill the buffers, so I am pretty sure now that this must be a bug in ahi.device code. Is Martin Blom still active? Any other developers of AHI around here?
Anyway, the example for device recoring in ahidev.lha looks strange to me and ill-designed.
First, you fill a buffer with DoIO() and then call subsequent SendIO(). There is no real double buffering, there is always a small gap between receiving a buffer and sending the next one. So AHI must store audio for an undefined time, since it does not know how long it will take me after I got the last Request till I can send the next one.
« Last Edit: December 24, 2009, 10:02:00 AM by bubblebobble »
--
Author of
HD-Rec, Sweeper, Samplemanager, ArTKanoid, Monkeyscript, Toadies, AsteroidsTR, TuiTED, PosTED, TKPlayer, AudioConverter, ScreenCam, PerlinFX, MapEdit, AB3 Includes and many more...
Homepage: http://www.hd-rec.de
 

Offline bubblebobbleTopic starter

  • Jr. Member
  • **
  • Join Date: Dec 2003
  • Posts: 66
    • Show all replies
    • http://www.hd-rec.de
Re: Anyone *EVER* used ahi.device for recording?
« Reply #3 on: December 25, 2009, 06:28:11 PM »
I will try out speak freely, thanks.

Bubblebobble was my Nickname before I became the Wanderer.
--
Author of
HD-Rec, Sweeper, Samplemanager, ArTKanoid, Monkeyscript, Toadies, AsteroidsTR, TuiTED, PosTED, TKPlayer, AudioConverter, ScreenCam, PerlinFX, MapEdit, AB3 Includes and many more...
Homepage: http://www.hd-rec.de