OS4 DepotLogo by Alkaron 
(anonymous IP: 3.235.25.27,2021) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (340)
   o Datatype (50)
   o Demo (200)
   o Development (590)
   o Document (22)
   o Driver (98)
   o Emulation (146)
   o Game (974)
   o Graphics (490)
   o Library (112)
   o Network (227)
   o Office (64)
   o Utility (898)
   o Video (66)

Total files: 4277

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Driver » Audio » hdaudio_ahi.lha

HD audio driver

Description: Generic HD audio driver for AmigaOS4
Download: hdaudio_ahi.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 245kb
Version: 6.10
Date: 08 Jan 2023
Author: H Kanning
Submitter: H.Kanning
Category: driver/audio
Replaces: driver/audio/hdaudio_ahi.lha
License: Other
Distribute: no
Min OS Version: 4.1
FileID: 12399
 
Videos:
Comments: 13
Snapshots: 0
Videos: 1
Downloads: 70  (Current version)
614  (Accumulated)
Votes: 21 (4/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
Intel HD Audio (Azalia) AHI driver for AmigaOS4 (C) H Kanning
-----------------------------------------------------------------------

This driver supports PCIe soundcards that comply with the Intel HD Audio
(Azalia) specification.

Analog recording ( 24bit up to 192kHz) as well as analog (up to 7.1 channels and
up to 32bit/384kHz) and digital ( up to stereo 24bit/192kHz) playback are
supported.

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 HDmixer tool is included which provides volume, mute and Pre-amplifier
support. The HDmixer tool will create a prefs file in "envarc:" in order to
remember the sound volumes and the location of the HDmixer window for the next
start.

A basic Toolbar Docky which offers the same functionality as the mixer (no
realtime volume update ; Update on release of mousebutton). I am not a graphics
artist so I'm sure that you can create better graphics. Just follow the
following basic rules:
-  Use the exact same names as images provided
-  All icons must have the same size. (Docky will not resize for you. Provided
images have a size of 24x27 pixels)

Which cards do work (verified):
- Creative Labs Soundblaster Audigy FX (24bit/192kHz 5.1) -> ALC898 based
- Creative Labs Soundblaster Audigy FX V2 (32bit/192kHz 7.1)  -> ALC1220 based
- Startech PEXSOUND7CH (24bit/192kHz 7.1) -> Available under many different
brands
- Fransande 411944 (24bit/192kHz 7.1) -> Available under many different brands
- Terratec AUREON 7.1 PCIe (24bit/192kHz 7.1)

Cards that should work:
- Basically every combination of HDaudio controllers and HD audio multichannel
codecs (eg. CA0113, CM8828, CM9882A ALC898 etc)

Cards that do not work (yet):
- Asus Xonar Phoebus solo (CM8888 in combination with high quality discrete
DACs)
- Powercolor Devil HDX (CM8888 in combination with discrete DACs)

Cards that will never work:
- "Sound 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. They look like HD
audio cards initially but after the DSP has been booted, they behave totally
differently. Therefore, support for  these cards will end up in a different
driver. 
- 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)
- Non-PCIe soundcards in general like external USB cards or old PCI cards.

Special word on Creative soundblasters with a Sound Core3D (ca0132) DSP:
This is basically a quad core X-FI dsp with the addition of an embedded 8051
cpu. This 8051 cpu is supposed to simulate an Hd audio codec. But unfortunately
it simulates only the frontend (widgets). The backend still needs to be fully
configured (plls, streams, external DACs). Other than a linux driver, there is
no documentation available how to handle this issue.
In DSP mode, the Core3D will offer an equalizer, all sort of effects and even
virtual 7.1 sound without noticable processor load. But this DSP needs to be
loaded with firmware first.
Also don't be fooled by the advertised specifications of those cards (I was).
Only the headphone output is capable of 32bit/384kHz, >125dB SNR. The normal
line outputs are limited to a mere 24bit/96kHz.
In other words, these cards are very different from regular HDaudio cards. The
amount of code justifies a specific driver. It's done if/when it's done. Don't
hold your breath and certeinly don't buy such a card in advance. 

The driver has been tested on:
- X5000/20 running amigaos4.1FE Upd2.
- SAM440EP-flex running amigaos4.1FE Upd2 with startech PCI1PEX1 adapter
- SAM460CR running amigaos4.1FE Upd2.

-----------------------------------------------------------------------
Limitations:
- Digital inputs are not supported
- Sound Blaster FX V2: ALC1220 dsd256 is not supported. The ALC1220 support no
reals dsd but consists of "on the fly" dsd<->PCM conversion.
- Sound Blaster FX V2: Monitor volume can only be controlled with the "Monitor
slider" The "volume slider" has no effect because the codec has digital volume
control in front of the DACs instead of analog volume control at the output
multiplexer.
- Sound blaster FX V2: Monitor output to the HDA front panel headphone output
doesn't work. Looks like a bug in the alc1220 codec. I could implement a
workaround by routing "line out" to "front HP" as well. But this means that the
outputs are not individual selectable anymore in the AHI/sound prefs. 
- The microphone inputs offers mono sound only. The line input supports stereo
sound.

-----------------------------------------------------------------------
Requirements:

- AmigaOS4.1 FE Upd2 (might work on older versions but this is not tested)
- AHI6.6

-----------------------------------------------------------------------
Installation:

Use the supplied Install script 

- Copy Devs/AHI/hda.audio to devs:AHI/
- Copy Devs/AudioModes/HDA to devs:AudioModes/
- Copy Prefs/Env-Archive/hda.cards to ENVARC:
- Place HDmixer where ever you like
- Place the Docky where ever you like

If your card is not found, you might have to add the PCI Vendor ID and Device ID
to ENVARC:hda.cards.
The syntax is :
vendorId, DeviceId (in hexadecimal values). You can find those Ids for your card
using a tool like Ranger. (Hardware -> PCI bus -> PCI-to-PCI Bridge -> Audio
Device)

-----------------------------------------------------------------------
Usage:

Docky works best in a seperate transparent docky placed at the Titlebar of
workbench. The docky window will open right below the docky icon. 
Use HDmixer or Docky to control output volume, input volume,  monitor volume and
pre-amps.
Both Docky and HDmixer remember the settings when closed (HDMixer will also 
remember window size and position when the window is closed).
Docky will update icon after volume change or mute.


Docky Icon tooltypes :
- WINDOW_WIDTH   -> Width of mixer window  (range: 300... 600)
- WINDOW_HEIGHT -> Height of mixer window (range: 100...300)
- WINDOW_X -> Manual horizontal mixer window position ( Tooltype between
brackets to open window at mousepointer. Use this when docky is placed in the
Titlebar)
- WINDOW_Y -> Manual vertical mixer window position ( Tooltype between brackets
to open window at mousepointer Use this when docky is placed in the Titlebar)

Docky and HDMixer Right Mousebutton Menu:
- AHI Recording->Limit to 16bit:  Radio button to limit AHI recording resolution
to 16bit. Otherwise recording is 24/32bit. (Selection is remembered when window
is closed) 

-----------------------------------------------------------------------

All trademarks are the property of their respective owners.
Attribute to installer banner image:  <a
href="https://www.freepik.com/free-vector/music-speaker-with-wave-equalizer-freq
uency-background_15245921.htm#query=music%20ba
nner&position=6&from_view=keyword">Image by starline</a> on Freepik

-----------------------------------------------------------------------
DISCLAIMER: 

ALL RIGHTS RESERVED.

THIS DRIVER IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. USE IT AT 
YOUR OWN RISK. ANY HARM OR COST AS A RESULT OF USING THIS DRIVER IS 
ENTIRELY AT YOUR OWN EXPENSE.

IN NO EVENT THE AUTHOR OF THIS DRIVER WILL BE LIABLE TO YOU FOR YOUR
DAMAGES.

THIS DRIVER IS FOR NON-COMMERCIAL PERSONAL USE ONLY. IT IS NOT ALLOWED
TO COPY, DISTRIBUTE, PUBLISH, MODIFY, CREATE DERIVATIVE WORKS, SELL OR 
OFFER IT FOR SALE (EITHER PREINSTALLED, INCLUDED OR ANY OTHER FORM OF
DISTRIBUTION) OR IN ANY WAY EXPLOIT THIS DRIVER WITHOUT WRITTEN PERMISSION
BY THE AUTHOR. 

-----------------------------------------------------------------------
History:
6.10: (08 Jan 2023)
- Added Mixer option to limit Recording resolution to 16bit. This is required
for programs which do not work with larger recording resolutions (Eg. HD-Rec and
AE4)
- Added additional Tooltypes for the Docky to position the docky window manually

6.9: (12 Dec 2022)
 - Added support for Sound Blaster Audigy FX (V2) (alc1220 based). This is the
best card supported to date with a SNR of 120dB
 - Added Install script
 - Added Titlebar Docky
 - Added workaround for AHI quirk that always selects a monitor input '0' and
control monitor volume when you want to play a sound. This can potentially
result in a lot of noise when playing sounds -> Added "Mute inputs" as monitor
input 0
 - Small speed improvements

6.8: (12 Jul 2021)
 - Added Output selection (ALL, Line, Front HP, S/PDIF)
 - Added S/PDIF out support ( Both RCA and Optical) 
 - Added Output Mute support (Mutes Line, Front HP, and S/PDIF)
 - Added Line In and Microphone Pre-Amplifier support. (From a CODEC
perspecitive, Line In and MIC are equal. So Pre-Amps can be enabled for Line In
as well)
 - Speed improvements
 - Small Bug fixes

6.7: (25 Apr 2021)
 - Bug fixes (Recording source Selection) 
 - Added support for SAM440/460 boards
 - Added 24bit recording
 - Added profiles for faster driver loading (most noticable on a Sound Blaster
FX)
 - Added HD audio front panel support. 

6.6: (28 Mar 2021)
 - First public release



Copyright © 2004-2023 by Björn Hagström All Rights Reserved