Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
26 crawler(s) on-line.
 121 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 retrofaza:  6 mins ago
 cdimauro:  11 mins ago
 agami:  1 hr 14 mins ago
 Hypex:  1 hr 19 mins ago
 Hammer:  1 hr 21 mins ago
 Seiya:  4 hrs 8 mins ago
 matthey:  4 hrs 30 mins ago
 Rob:  5 hrs 40 mins ago
 vox:  5 hrs 44 mins ago
 kolla:  6 hrs 38 mins ago

/  Forum Index
   /  Amiga Development
      /  AHIDB_Bits and HD Audio
Register To Post

PosterThread
Drule 
AHIDB_Bits and HD Audio
Posted on 1-Jul-2015 23:52:59
#1 ]
Amiga Developer Team
Joined: 11-Jun-2004
Posts: 49
From: Harrogate, UK

In an attempt to open / allocate AHI for a specific sample format, I've noticed that if I query the HD Audio driver (v6.22) on the X1000 for the bits per sample (AHIDB_Bits) it is never retrieved. It works for other modes so I'm assuming it's not my code -- which is always a surprise.

Is anyone else seeing this? It doesn't appear to really affect anything - the test tone plays etc and I appear to have working audio with one of the HD modes as default so I'm not entirely sure what gives. Any thoughts would be appreciated.

_________________
Karma: Positive

 Status: Offline
Profile     Report this post  
lylehaze 
Re: AHIDB_Bits and HD Audio
Posted on 2-Jul-2015 3:24:23
#2 ]
Super Member
Joined: 1-Sep-2004
Posts: 1142
From: North Florida - Big Bend area.

@Drule

This one is my fault.

The documents for GetAttr say:
LONG AHIsub_GetAttr( ULONG, LONG, LONG, struct TagItem *,
struct AHIAudioCtrlDrv * );

IMPLEMENTATION
Return the attribute based on a tag list and an AHIAudioCtrlDrv
structure, which are the same that will be passed to
AHIsub_AllocAudio() by 'ahi.device'. If the attribute is
unknown to you, return the default.


The HDAudio driver simply returns the default value. This is apparently something I never went back and implemented properly.

_________________
question=(2b||!(2b))

 Status: Offline
Profile     Report this post  
Massi 
Re: AHIDB_Bits and HD Audio
Posted on 10-Jul-2015 9:26:32
#3 ]
Cult Member
Joined: 2-Feb-2011
Posts: 627
From: Rome, Italy

@lylehaze

Can this affect other things ( like for example AHI_BestAudioID() ) ?

_________________
SAM440EP-FLEX @ 733 Mhz, AmigaOS 4.1 Update 1

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle