Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
78 user(s) are online (6 user(s) are browsing News)

Members: 2
Guests: 76

Skateman, imagodespira, more...

Support us!

Headlines


Recent Replied Topics
Topic Replies Last Post
Amiga Classic Evo Theme [1][2] 22 (495) imagodespira Today 18:53
Amiga Classic Videothumbnailer how to associate it with mplayer? 16 (238) white Today 17:46
AmigaOS4 AK DataType vs. WarpDT [1][2] 25 (1127) tomsoniq Today 10:38
AmigaOS4 Enhancer Software v2.0 Released [1][2] ... [12][13][14][15] 281 (9200) daveyw Yesterday 20:57
AmigaOS4 New Sam460cr boards will hit the road soon! [1][2][3][4][5][6] 116 (5200) kas1e Yesterday 14:29
AmigaOS4 Translation for Basilisk 1.0 needs to be updated. 1 (120) jabirulo Yesterday 10:16
AmigaOS4 gcc 9 and 10 [1][2] ... [4][5][6][7] 124 (7897) sTix 4/10 23:46
AmigaOS4 Lots of sources for comercial and arcade games 1980-2002 13 (570) LiveForIt 4/10 19:40
Timberwolf Seamonkey? TenFourFox? 0 (155) NinjaCyborg 4/10 18:04
AmigaOS4 How to print text in RGB colour? 3 (144) Capehill 4/10 13:15
AmigaOS4 SDL2 [1][2] ... [49][50][51][52] 1022 (285662) Capehill 4/10 13:02
OS4Depot feedback Spammer in comments 12 (4992) NinjaCyborg 4/10 12:58
AmigaOS4 MilkyTracker 1.03 [1][2] 33 (2197) sinisrus 4/9 17:42
AmigaOS4 First user's report of new Intel HD Audio (Azalia) driver by geennaam 15 (984) Skateman 4/9 17:26
AmigaOS4 OpenAL-soft for AmigaOS [1][2] 26 (9335) LiveForIt 4/9 11:48
[View all topics]  [Forum Settings]
Hardware News : New AHI driver for AmigaOS4
Posted by geennaam on 2021/4/1 9:40:10 (627 reads) News by the same author
Hardware News

April 1st, 2021

I am pleased to announce the immediate availability of a new AHI driver for AmigaOS4.1. This driver supports PCIe soundcards that comply with the Intel HD Audio (Azalia) specification.



Resized Image

Analog recording ( for now 16bit up to 192kHz) as well as analog playback (up to 7.1 channels and up to 32bit/384kHz) are supported. Support for digital inputs and outputs is planned for a next release.


AHI prefs offers both 16bit and 32bit HIFI modes. These modes basically determine what audio resolution goes into AHI. The output of the AHI HIFI mixing routine will always be 32bit. This driver will automatically select the best available resolution for playback.

A basic mixer tool is included to provide volume control.

Which cards do work (verified):
- Creative Labs Soundblaster Audigy FX (24bit/192kHz 5.1)
- Startech PEXSOUND7CH (24bit/192kHz 7.1) -> Available under many different brands
- Fransande 411944 (24bit/192kHz 7.1) -> Available under many different brands

Cards that should work:
- Terratec AUREON 7.1 PCIe (will arive shortly for verfication)
- Basically every combination of HDaudio controllers and HD audio multichannel codecs (eg. CA0113, CM8288, CM8888, CM9882A ALC898 etc)

Older cards that might work (no guarantees):
- Asus Xonar Phoebus solo (CM8888 in combination with high quality discrete DACs)
- Powercolor Devil HDX (CM8888 in combination with discrete DACs)

Cards that do not work (yet):
- Core3d (CA0132) based Sound Blasters (Eg Z, AE-5, AE-7, AE-9 etc). These cards have a DSP (ca0132) instead of an audio codec. Support is planned but don't hold your breath because extensive and undocumented configuration is required.

Cards that will never work:
- PCIe Asus soundcards that are on sale now. These cards are either AV100 ( rebadged CMI8788), CM8786 or C-media 6632AX (USB chip) based. Neither of these chips comply with the Intel HDaudio standard.
- Sound blaster Audigy RX and all other EMU based or X-FI based sound blasters. (do not comply with the Intel HD audio standard)Resized Image
- Non-PCIe soundcards in general like external USB cards.

See readme for more information.

The driver is called HDaudio_AHI.lha and is available for download from OS4Depot


Printer friendly page Send this story to a friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
Cap
Published: 2021/4/1 10:07  Updated: 2021/4/1 10:07
Just popping in
Joined: 12/01/2006
From: Melton Mowbray.Rural Capital of Food and Drink
Comments: 116
 Fools Day.
Good day to release software. 😁😁😁
geennaam
Published: 2021/4/1 11:26  Updated: 2021/4/1 11:27
Just popping in
Joined: 12/06/2006
From: Beverland
Comments: 109
 Is it? :-)
The driver is still in the uploads queue of os4depot. So I couldn't provide a direct link yet. For the time being you can download it from there.
kas1e
Published: 2021/4/1 12:10  Updated: 2021/4/1 12:13
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 6928
 Yeah!
Yeah, that what i call real new developer join ! Instead of crying how all bad, just asking few questions, dealing with annoying issues in process and then just give final product. Those ones who only talk and fancy dream about how all can be, need to check how real things should be done when one for real want to do something.

Will buy one of these cards for sure. Thanks !
geennaam
Published: 2021/4/1 12:32  Updated: 2021/4/1 12:38
Just popping in
Joined: 12/06/2006
From: Beverland
Comments: 109
 Re: Yeah!
Thanks
When I bought my X5000 last december there was no driver available for any soundcard that is still on sale. That's where the idea was born to write this driver. I would recommend you to buy one of the many available cm8828+cm9882A 7.1 card with digital daughter boards. You can find a selection for example here.
DStastny
Published: 2021/4/1 15:05  Updated: 2021/4/1 15:05
Just popping in
Joined: 01/03/2017
From: Atlanta GA
Comments: 63
 How about this?
https://www.amazon.com/Creative-Blaste ... e-Headphone/dp/B00EO6X4XG Sound has been the one thing annoying me since day one of X5000. If this works I can get by tomorrow :) Nice work!
geennaam
Published: 2021/4/1 15:22  Updated: 2021/4/1 15:24
Just popping in
Joined: 12/06/2006
From: Beverland
Comments: 109
 Re: How about this?
@ DStasny

Yes, that one works.

Discovery is currently slow (adds a couple of seconds to the startup of your machine because I have to discover a lot of nodes/widgets) and sound control a bit slugish (same reason). But that will improve when I implement a specific profile for that card.

Still I would recommend to use this card: CM8828+CM9882A

This is a better value for money. The version without digital in/out is the same price as the soundblaster FX.
DStastny
Published: 2021/4/1 15:38  Updated: 2021/4/1 15:38
Just popping in
Joined: 01/03/2017
From: Atlanta GA
Comments: 63
 Thanks!
Bought what you recommended! Really excited about this! Doug
Skateman
Published: 2021/4/1 17:16  Updated: 2021/4/1 17:16
Just popping in
Joined: 10/28/2017
From: Netherlands
Comments: 130
Online!
 Great!!
Thanks for making more hardware usable to the NG Amiga`s. I know in what timeframe you developed this driver...its amazing. Keep up the good work!
kas1e
Published: 2021/4/1 18:14  Updated: 2021/4/1 18:14
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 6928
 SB
@geennaam

I found this one in my local shop:

https://www.dns-shop.ru/product/bd0d11 ... creative-sb-audigy-fx-51/

Which is "Creative Labs Soundblaster Audigy FX", and cost here 45$.

And have a question in light of your latest posts : is this one have no issues with slower startup for few seconds, etc ? This one fully works as expected ?

Thanks!
ktadd
Published: 2021/4/1 18:22  Updated: 2021/4/1 18:22
Not too shy to talk
Joined: 12/06/2006
From: California, Unitied States
Comments: 366
 Re: New AHI driver for AmigaOS4
Will this work with the X1000?

According to Ranger it looks like the audio is on the PCI-e bus
and it identifies the sound as follows:

0x4383 Rev: 0x00 (SBx00 Azalia (Intel HDA))
328gts
Published: 2021/4/1 19:10  Updated: 2021/4/1 19:11
Home away from home
Joined: 07/07/2009
From: Man Cave, Canada
Comments: 2471
 Re: New AHI driver for AmigaOS4
@ geennaam

congrats on bringing a new AHI driver for OS4.1

..must admit I thought it was a good ol April fools prank when I first saw it though lol
trixie
Published: 2021/4/1 19:11  Updated: 2021/4/1 19:11
Just can't stay away
Joined: 05/01/2009
From: Czech Republic
Comments: 1257
 Re: Is it? :-)
@geennaam

Well done, thank you!
geennaam
Published: 2021/4/1 19:59  Updated: 2021/4/2 16:10
Just popping in
Joined: 12/06/2006
From: Beverland
Comments: 109
 Re: SB
@kas1e,

Yes, that is the Soundblaster Audigy FX. This one is fully supported.

It is not an issue. Just the result of fully discovering the audio card at boot each time. What I will next is make a fixed configuration of several known codecs. Also the one on the Soundblaster audigy FX. Then it will fly through initialization and will also be more responsive in adjusting volume. Now, it needs to adjust about 20 different widgets for a volume step increase. While I only have to adjust 3 (in case of 5.1 audio).
geennaam
Published: 2021/4/1 20:05  Updated: 2021/4/1 20:05
Just popping in
Joined: 12/06/2006
From: Beverland
Comments: 109
 Re: New AHI driver for AmigaOS4
@ktadd

I'm not sure, you can always try. But there is already an audio driver for the X1000 called HDaudio. Would't you want to use this one instead.?

Anyways, if you want to try then you have to add the vendor id and device id to hda.cards in envarc:.
khayoz
Published: 2021/4/1 21:25  Updated: 2021/4/1 21:25
Just popping in
Joined: 01/10/2007
From: Stockholm Sweden
Comments: 161
 Re: New AHI driver for AmigaOS4
@geennaam
Thank you very much for doing this!
Raziel
Published: 2021/4/1 21:27  Updated: 2021/4/1 21:27
Home away from home
Joined: 11/26/2006
From: a dying planet
Comments: 4025
 Re: New AHI driver for AmigaOS4
@ktadd
@geenaam

Doesn't work on X1000

I get a deep freeze of the system once the first sound ought to be played (that is with only the files in place, not even used in Sound prefs yet)

I get this on serial:
Couldn't find a mix or mux
HD audio card found: Vendor = 1002, Device = 4383


If you want to support it (since it is the same chip base, i'm ready for testing)
geennaam
Published: 2021/4/1 23:20  Updated: 2021/4/1 23:51
Just popping in
Joined: 12/06/2006
From: Beverland
Comments: 109
 Re: New AHI driver for AmigaOS4
ok. First of all, there is already an AHI driver for the X1000. Using this driver feels a bit redundant.

But let me explain those two messages.
Couldn't find a mic or mux means that the hda codec discovery routine evaluated all available widgets and none of them were identiefied as a mixer. This is a bit misleading because i do not search for muxes yet. Have to check if there is a loophole somewhere in case none is detected.

The second message means that the init routine has succesfully finished and also prints which hardware was found and initialised in the hda.cards file.

From here on we are good to go.

Are you sure that you have removed "HDaudio.audio" from devs:AHI? This driver is hardcoded for the same hardware. Also make sure that no mixer for that X1000 driver is loaded. Because both the X1000 mixer and the X1000 hdaudio.audio driver will open the same hardware and conflict with my driver.
Raziel
Published: 2021/4/2 6:56  Updated: 2021/4/2 8:34
Home away from home
Joined: 11/26/2006
From: a dying planet
Comments: 4025
 Re: New AHI driver for AmigaOS4
@geenaam

No problem, the hdaudio driver works well with the onboard sound chip, just thought you might want to extend your driver's support
Plus it's always nice to get something that might be enhanced with more stuff, like your Mixer etc.

I completely removed the hdaudio stuff from both AHI and AudioModules, but i kept the Sound settings in place (which still pointed to hdaudio), maybe that was the culprit?

I don't think i have any kind of Mixers installed.

It freezes on booting into Workbench, since i have the startup sound enabled
geennaam
Published: 2021/4/2 11:47  Updated: 2021/4/2 11:47
Just popping in
Joined: 12/06/2006
From: Beverland
Comments: 109
 Re: New AHI driver for AmigaOS4
That is actually not a bad idea. It will help make my discovery routines more robust. I will come back to you about that.

I enabled the startup sound on my setup and experience no lockup. Sound is played as expected. I also have no mixer in wbstartup so it's not loaded yet.

I think the X1000 contains an IDT 92HD700 codec. And this codec indeed doesn't feature a mixer. Instead two multiplexers are available. But like I said above. I don't discover them yet because all audio codecs that I've encountered so far have at least one mixer.

But my driver simply skips input selection when no mixer is detected. So this issue must be somewhere else.

The internal buildup very different from what i've seen so far. So it's actually a good test case.
mufa
Published: 2021/4/2 11:51  Updated: 2021/4/2 11:51
Just popping in
Joined: 11/27/2006
From: Poland
Comments: 162
 Re: Is it? :-)
Sometimes I record something through the microphone on my Amigas. On x1000 and built-in HDAUDIO chip everything works OK. Unfortunately on x5000 with CMI8738 card, everything is quietly recorded and unfortunately there is no possibility to volume up the recorded sound. For example, in Ahirecord Input Gain is inactive. That's why I thought about buying SoundBlaster Audigy FX. Question, Is on this card and on your driver I will be able to adjust the volume of the input sound?
geennaam
Published: 2021/4/2 12:04  Updated: 2021/4/2 12:04
Just popping in
Joined: 12/06/2006
From: Beverland
Comments: 109
 Re: Is it? :-)
yes you can control the monitor volume and input gain with all tested cards. So not only The sound blaster audigy FX but also the CM8828 cards.

I used AHIrecord from os4depot to test this functionality.
mufa
Published: 2021/4/2 12:20  Updated: 2021/4/2 12:20
Just popping in
Joined: 11/27/2006
From: Poland
Comments: 162
 Re: Is it? :-)
Thanks
kas1e
Published: 2021/4/2 14:42  Updated: 2021/4/2 14:42
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 6928
 promote
@geennaam
Promote your driver on Facebook amigaos4 group a bit, and made a fancy video of installing/testing it with SB Audigy FX:

https://youtu.be/iGE1Hm1LF1I
General
Site sponsors
Advertise Here

Site statistics
Registered members
  1512
Logged in last:
  24 hours, 59
  7 days, 113
  30 days, 161

Top Posters
1 kas1e
kas1e 6928
2 Raziel
Raziel 4025
3 ChrisH
ChrisH 3553
4 samo79
samo79 3408
5 Chris
Chris 3255
6 orgin
orgin 3204
7 LiveForIt
LiveForIt 2936
8 Antique
Antique 2496
9 328gts
328gts 2471
10 Hans
Hans 2310

New Members
GeorgWittmann
GeorgWittmann 04/07/2021
Vince
Vince 04/01/2021
hlt
hlt 04/01/2021
qz3fwd
qz3fwd 03/03/2021
NextGenAmigaMan
NextGenAmigaMan 02/13/2021
bradjeno
bradjeno 02/12/2021
spellcaster
spellcaster 02/09/2021
Joerg83
Joerg83 01/31/2021
Alf98
Alf98 01/31/2021
yt7sed
yt7sed 01/31/2021


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project