Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
65 user(s) are online (56 user(s) are browsing Forums)

Members: 0
Guests: 65

more...
Support us!
Recent OS4 Files
OS4Depot.net





AHI bug (changing frequency while playing)
Just popping in
Joined:
2010/11/12 18:45
From Warsaw/Poland
Posts: 77
AHI in AmigaOS4.1 (but not in AmigaOS4.0) has bug which reveals itself when you change player frequency (with AHI_ControlAudio function and AHIA_PlayerFreq) while playing module (when AHIC_Play is set). Once frequency is changed - the audio output become very noisy. Interesting is fact that there is no such bug in AHI for AmigaOS4.0 classic.

I need to change frequency to properly handle frequency changes in MED music modules. On A1200 PPC it worked, but on Sam440ep it doesn't (audio become noises when frequency is changed).

For now I use software interrupt to handle replaying timing, but it's not best method.

   Report Go to top

Re: AHI bug (changing frequency while playing)
Just popping in
Joined:
2010/11/12 18:45
From Warsaw/Poland
Posts: 77
Really no reply about this? I need to solve this problem for my music player.


Edited by RNS-AMiGA-Club on 2012/10/16 16:15:56
   Report Go to top

Re: AHI bug (changing frequency while playing)
Not too shy to talk
Joined:
2006/11/27 22:28
From Germany
Posts: 287
please try the support forum:
here

regards...
michael

_________________
Michael Merkel
(Michael.Merkel@gmx.net Home)
Member of Amiga-Freunde Pfalz, OS4 Welt
   Report Go to top

Re: AHI bug (changing frequency while playing)
Just popping in
Joined:
2010/11/12 18:45
From Warsaw/Poland
Posts: 77
I worked around the problem and it seems OK! Music from my player is just nice, I'm listening to it right now (music from Lemmings 2)

I just call
AHI_ControlAudio(actrl, AHIC_Play, FALSE, TAG_DONE);
AHI_ControlAudio(actrl, AHIA_PlayerFreq, frequency, TAG_DONE);
AHI_ControlAudio(actrl, AHIC_Play, TRUE, TAG_DONE);

With the neighbourhood of the 2 perimeter functions setting the frequency doesn't produce noises. All right, now the production of Diamond Player 2.0 can progress further

It is currently a program written in C++ with the use of its many interesting features. MOD and MED modules are for example the childs of abstract Music Module class, also audio output is a template in Music Player class, so there is a possibility to use different audio output methods like audio.device for example or AHI like it is now.

The workaround doesn't cause any problems (only there is a tiny, almost unnoticably break when changing frequency). Cheers.

   Report Go to top

Re: AHI bug (changing frequency while playing)
Quite a regular
Joined:
2010/3/28 14:03
From Palencia (capital of the mythical Vaccean Kingdom)
Posts: 601
I have this problem with my Sam460ex and nothing it continues, you should wait to correct tjis problem with Update5, 6, Amiga OS 4.2, etc., etc., etc.,

_________________
Amiga 500 with ROMs 1.3-2.05 and M-Tec AT 500 with hard disk and 4MB Ram.
WinUAE + original AmigaOS 3.5&3.9
Sam440ep 800 MHZ + OS 4.1 F.E.
Sam460ex 1 GHz + OS 4.1 + Update 6. K.O.
MacMini 1.5 GHz + MorphOS 3.9
PowerBook G4 1.65 + MorphOS 3.9
   Report Go to top

Re: AHI bug (changing frequency while playing)
Not too shy to talk
Joined:
2008/5/2 12:14
From Sweden
Posts: 473
This could very well be a sound card driver problem as well, not AHI, since you probably use OS4.1 on something else than a Classic.

_________________
Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
   Report Go to top

Re: AHI bug (changing frequency while playing)
Just popping in
Joined:
2010/11/12 18:45
From Warsaw/Poland
Posts: 77
@Deniil
Quote:
This could very well be a sound card driver problem as well, not AHI, since you probably use OS4.1 on something else than a Classic.

The platforms the problem exists:

- Sam440ep
- AmigaONE

The platform the problem doesn't exist:

- Amiga+PPC+Paula

So it's true the problem lies in AHI sound card driver.

   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project