Welcome, Guest. Please login or register.

Author Topic: audio.device already in use?  (Read 1950 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AcillTopic starter

audio.device already in use?
« on: February 21, 2016, 06:28:57 PM »
Not sure how since I havent installed anything new I remember to cause this. When I launch a whdload game through igame I get a popup telling me audio.decice is already in use. I also get no video display when I select to ignore. This just randomly popped up. Still need to try other programs to test audio,  but I do hear poseidon make its sounds when a usb device is inserted.
Proud Retired Navy Chief!

A4000T - CSPPC - Mediator
Powerbook G4 15", 17"
Powermac G5 2GHZ
AmigaOne X5000
Need Amiga recap or other services in the US? Visit my website at http://www.acill.com and take a look or on facebook at http://facebook.com/acillclassics
 

Offline Lizard

  • Full Member
  • ***
  • Join Date: May 2007
  • Posts: 195
    • Show only replies by Lizard
Re: audio.device already in use?
« Reply #1 on: February 21, 2016, 07:34:23 PM »
Maybe AHI in exclusive mode?
 

Offline AcillTopic starter

Re: audio.device already in use?
« Reply #2 on: February 21, 2016, 07:47:47 PM »
Quote from: Lizard;804357
Maybe AHI in exclusive mode?


Ill have to check on that. Is that setting in the AHI prefs app?
Proud Retired Navy Chief!

A4000T - CSPPC - Mediator
Powerbook G4 15", 17"
Powermac G5 2GHZ
AmigaOne X5000
Need Amiga recap or other services in the US? Visit my website at http://www.acill.com and take a look or on facebook at http://facebook.com/acillclassics
 

Offline Lizard

  • Full Member
  • ***
  • Join Date: May 2007
  • Posts: 195
    • Show only replies by Lizard
Re: audio.device already in use?
« Reply #3 on: February 21, 2016, 08:06:48 PM »
Quote from: Acill;804359
Ill have to check on that. Is that setting in the AHI prefs app?


It used to be, now I cannot really find it, seems the behavior also changed since the release of AHI 6.0.

http://www.amiga.org/forums/showpost.php?p=583832&postcount=4
 

guest11527

  • Guest
Re: audio.device already in use?
« Reply #4 on: February 21, 2016, 11:23:52 PM »
Quote from: Acill;804352
Not sure how since I havent installed anything new I remember to cause this.

One typical reason for that is the workbench (or IPrefs): If you enable in the preferences that you get an audible beep whenever an application goes through the intuition DisplayBeep() function, then the audio.device will be used to allocate channels while the display is flashing.  Just try to turn the audible beep off, this releases the audio channels in such cases.
 

Offline kolla

Re: audio.device already in use?
« Reply #5 on: February 21, 2016, 11:36:51 PM »
What a mess audio on Amiga is :)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

guest11527

  • Guest
Re: audio.device already in use?
« Reply #6 on: February 22, 2016, 12:03:28 AM »
Quote from: kolla;804373
What a mess audio on Amiga is :)

Not really. I would rather say "The typical mis-use of the audio.device is a mess".  

If audio.device would be used properly, the situation would be no problem: Intuition (via IPrefs) "steals" the channels for the duration of the DisplayBeep().

The application whose audio channels has been stolen is informed about this fact, and could re-allocate the channels when IPrefs is done. The protocol for that is all there, just that "nobody cares" to use it.  Typically, the audio.device is used to allocate channels at the beginning (if at all), and then applications just "poke the hardware", assuming "all is fine".

Nowadays, one would of course assume that audio.device implements a software mixer of the various audio sources, but that's probably just too much complexity for a poor 68K.
 

Offline paul1981

Re: audio.device already in use?
« Reply #7 on: February 22, 2016, 02:54:47 AM »
I'm suprised WHDLoad allocates audio.device. I wonder why?
Can anyone replicate this issue? What was causing the display beep in the first place Acill? Snoopdos may be of help here.
 

Offline AcillTopic starter

Re: audio.device already in use?
« Reply #8 on: February 22, 2016, 03:45:28 PM »
Ill fire up snoopdos and see what its doing. I had to leave and go back to work.  My Amiga gearbis at my other house and I wint get back this week.
« Last Edit: February 22, 2016, 05:08:59 PM by Acill »
Proud Retired Navy Chief!

A4000T - CSPPC - Mediator
Powerbook G4 15", 17"
Powermac G5 2GHZ
AmigaOne X5000
Need Amiga recap or other services in the US? Visit my website at http://www.acill.com and take a look or on facebook at http://facebook.com/acillclassics
 

guest11527

  • Guest
Re: audio.device already in use?
« Reply #9 on: February 22, 2016, 04:07:45 PM »
Quote from: Acill;804406
Ill fire up snoopdos and see what its doing. I had to leave and go back to work.  My Amiga gearbis at my otherbhouse and I wint get back this week.

Unfortunately, to my very knowledge SnoopDos does not watch the audio.device.
 

Offline AcillTopic starter

Re: audio.device already in use?
« Reply #10 on: April 07, 2016, 01:47:33 AM »
This is still an issue. I cant seem to get any players to play any sound without getting that error still.

Where do I check this to see if its the play sound beep causing it? If its the sound pref in the prefs nothing is check in there.

I have AHI installed and working with my sound card for things that use it just fine as far as I can tell. If I remove a USB device or add one I also hear the poseidon sound it makes, so some sound must be working unless that plays through AHI.

I'd love to get this fixed!
Proud Retired Navy Chief!

A4000T - CSPPC - Mediator
Powerbook G4 15", 17"
Powermac G5 2GHZ
AmigaOne X5000
Need Amiga recap or other services in the US? Visit my website at http://www.acill.com and take a look or on facebook at http://facebook.com/acillclassics
 

Offline amiadudeorwat

Re: audio.device already in use?
« Reply #11 on: April 07, 2016, 02:51:06 AM »
Maybe it's Poseidon Popups allocating the audio device?  IIRC you can turn off the sound prompts in Poseidon, which may be what happening every boot if it is popping up with a detect on every boot.
 

Offline AcillTopic starter

Re: audio.device already in use?
« Reply #12 on: April 07, 2016, 05:18:56 AM »
Quote from: amiadudeorwat;806891
Maybe it's Poseidon Popups allocating the audio device?  IIRC you can turn off the sound prompts in Poseidon, which may be what happening every boot if it is popping up with a detect on every boot.


Could be, how do I turn that off?
Proud Retired Navy Chief!

A4000T - CSPPC - Mediator
Powerbook G4 15", 17"
Powermac G5 2GHZ
AmigaOne X5000
Need Amiga recap or other services in the US? Visit my website at http://www.acill.com and take a look or on facebook at http://facebook.com/acillclassics
 

Offline Thomas

Re: audio.device already in use?
« Reply #13 on: April 07, 2016, 07:47:14 AM »
You have to shut down Poseidon before you run WHDLoad anyway, so Poseidon should not be the problem.

Offline AcillTopic starter

Re: audio.device already in use?
« Reply #14 on: April 07, 2016, 02:12:11 PM »
Quote from: Thomas;806900
You have to shut down Poseidon before you run WHDLoad anyway, so Poseidon should not be the problem.


Actually WHDLOAD runs fine on my system if I leave it up, I only secure Roadshow.

I have also rebooted after the problem and it seems I can get audio back. It does seem to be poseidon causing the audio issue though. When I boot my A4000T I have my Mac running. I use a USB KVM to share a mouse and keyboard between them. When the A4000T is fully booted I switch and it causes the poseidon pop up. If I warb reboot the problem goes away. Its strange.
Proud Retired Navy Chief!

A4000T - CSPPC - Mediator
Powerbook G4 15", 17"
Powermac G5 2GHZ
AmigaOne X5000
Need Amiga recap or other services in the US? Visit my website at http://www.acill.com and take a look or on facebook at http://facebook.com/acillclassics