| Poster | Thread |
Toaks
|  |
Mixer Issue Posted on 1-Feb-2012 8:43:30
| | [ #1 ] |
|
|
 |
Elite Member  |
Joined: 10-Mar-2003 Posts: 8042
From: amigaguru.com | | |
|
| Hey guys.
I have some problems with Mixer which i have never seen before.
I have mixer in wbstartup prefst and it plays sound on boot as normal but everytime i start an app or game etc then i have to open up mixer and adjust one of the sliders just to be able to get sound.
anyway, decided to check here to hear if anyone have an idea to what the reason for this might be.
Mixer 1.30 , OS4 update 4. _________________ See my blog and collection website! . https://www.blog.amigaguru.com |
|
| Status: Offline |
|
|
AlexC
|  |
Re: Mixer Issue Posted on 1-Feb-2012 9:35:26
| | [ #2 ] |
|
|
 |
Super Member  |
Joined: 22-Jan-2004 Posts: 1301
From: City of Lost Angels, California. | | |
|
| |
| Status: Offline |
|
|
Deniil715
 |  |
Re: Mixer Issue Posted on 1-Feb-2012 9:51:46
| | [ #3 ] |
|
|
 |
Elite Member  |
Joined: 14-May-2003 Posts: 4248
From: Sweden | | |
|
| @Toaks
This is because AHI always resets the volume to what you saved in AHI prefs everytime a new sound plays. There is no connection between the Mixer and AHI. They don't know about each other. They both hack the sound-chip individually and independently.
I made a little tool to prevent this. I called it KeepAHIOpen and it opens an AHI channel but doesn't play sound on it. However, this prevents AHI from resetting the volume everytime a new sound starts so the Mixer can actually be used properly. The drawback is that you can't switch modes from for example analog to digital output by using another AHI unit, or change playback frequency by using another unit without quitting KeepAHIOpen first. I have KeepAHIOpen in my startup-sequence.
Did I mention that AHI is pretty badly designed for todays needs..? 
Maybe I should upload this tool somewhere. _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)  > Amiga Classic and OS4 developer for OnyxSoft. |
|
| Status: Offline |
|
|
Toaks
|  |
Re: Mixer Issue Posted on 1-Feb-2012 10:00:41
| | [ #4 ] |
|
|
 |
Elite Member  |
Joined: 10-Mar-2003 Posts: 8042
From: amigaguru.com | | |
|
| @AlexC
## Vendor Device Vendor name Description 01 0x10CC 0x0660 Mai Logic Incorporated Articia S Host Bridge 02 0x10CC 0x0661 Mai Logic Incorporated Articia S PCI Bridge 03 0x10B7 0x9200 3Com Corporation 3c905C-TX/TX-M [Tornado] 04 0x1106 0x0686 VIA Technologies, Inc. VT82C686 [Apollo Super South] 05 0x1106 0x0571 VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE 06 0x1106 0x3038 VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller 07 0x1106 0x3038 VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller 08 0x1106 0x3057 VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] 09 0x1106 0x3058 VIA Technologies, Inc. VT82C686 AC97 Audio Controller 10 0x1106 0x3068 VIA Technologies, Inc. AC'97 Modem Controller 11 0x1106 0x3038 VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller 12 0x1106 0x3038 VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller 13 0x1106 0x3104 VIA Technologies, Inc. USB 2.0 14 0x1102 0x0002 Creative Labs SB Live! EMU10k1 15 0x1102 0x7002 Creative Labs SB Live! MIDI/Game Port 16 0x1095 0x0680 Silicon Image, Inc. PCI0680 Ultra ATA-133 Host Controller 17 0x1002 0x5960 ATI Technologies Inc RV280 [Radeon 9200 PRO]
Some Old Sblive :)
@Deniil715
hmm, nice , upload it to os4depot ? :)
funny thing is, never seen this problem before, i have been away allright but still.
oh and yes, ahi needs a replacement like a decade ago.... _________________ See my blog and collection website! . https://www.blog.amigaguru.com |
|
| Status: Offline |
|
|
AlexC
|  |
Re: Mixer Issue Posted on 1-Feb-2012 11:05:16
| | [ #5 ] |
|
|
 |
Super Member  |
Joined: 22-Jan-2004 Posts: 1301
From: City of Lost Angels, California. | | |
|
| @Toaks
The cause seem to be that the driver resets the volume before playback, I'd have to modify the Emu10Kx driver to make it save/restore the previous volume settings and there may be a reason why it doesn't do this already. I'll have to ponder on this one for a while  _________________ AlexC's free OS4 software collection
 AmigaOne XE/X1000/X5000/UAE-PPC OS4 laptop/X-10 Home Automation |
|
| Status: Offline |
|
|
Toaks
|  |
Re: Mixer Issue Posted on 1-Feb-2012 11:31:52
| | [ #6 ] |
|
|
 |
Elite Member  |
Joined: 10-Mar-2003 Posts: 8042
From: amigaguru.com | | |
|
| @AlexC
Quote:
AlexC wrote: @Toaks
The cause seem to be that the driver resets the volume before playback, I'd have to modify the Emu10Kx driver to make it save/restore the previous volume settings and there may be a reason why it doesn't do this already. I'll have to ponder on this one for a while  |
thanks m8, i'll chatch you on irc just incase you have some beta's for me to try ;)
_________________ See my blog and collection website! . https://www.blog.amigaguru.com |
|
| Status: Offline |
|
|
Toaks
|  |
Re: Mixer Issue Posted on 1-Feb-2012 12:58:07
| | [ #7 ] |
|
|
 |
Elite Member  |
Joined: 10-Mar-2003 Posts: 8042
From: amigaguru.com | | |
|
| @Toaks
hmmm , i messed around abit now and now TuneNet doesn't require me to mess with Mixer to get sound.
AHI mode in TuneNet is now : Ahi UserMode.
_________________ See my blog and collection website! . https://www.blog.amigaguru.com |
|
| Status: Offline |
|
|
Deniil715
 |  |
Re: Mixer Issue Posted on 1-Feb-2012 14:55:40
| | [ #8 ] |
|
|
 |
Elite Member  |
Joined: 14-May-2003 Posts: 4248
From: Sweden | | |
|
| @AlexC
This happens with the cmi8738-driver as well.
I think AHI should always remember the last set volume, for each unit. So if another app is playing on a different unit that unit's volume (being default if the first time) should be used.
@Toaks
You should set a default volume for your units in the AHI prefs. I found that -30.0 or -35.0 is a good starting point. Kind of in the middle of the range. I think default is either 0.0 (max) or some minimum value. _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)  > Amiga Classic and OS4 developer for OnyxSoft. |
|
| Status: Offline |
|
|
Mechanic
 |  |
Re: Mixer Issue Posted on 1-Feb-2012 17:03:07
| | [ #9 ] |
|
|
 |
Elite Member  |
Joined: 27-Jul-2003 Posts: 2007
From: Unknown | | |
|
| @Deniil715
Quote:
Deniil715 wrote: @Toaks
This is because AHI always resets the volume to what you saved in AHI prefs everytime a new sound plays. There is no connection between the Mixer and AHI. They don't know about each other. They both hack the sound-chip individually and independently.
I made a little tool to prevent this. I called it KeepAHIOpen ....... |
I see what you mean about keeping a channel open for AHI.
I was able to test this by starting PlayCD and Pausing it then starting Timidity. AFAIK Timidity uses the Music unit in AHI and is somehow connected to Unit 0. I guess PlayCD uses Unit 0?
Anyway, I have one MIDI tune that produces an extreamly loud SNAP when started but does not do that when using this proceedure. And, it also solved(?) the problem of having to mess with the mixer.
While goofing around with this I noticed Mplayer would not produce sound but DVplayer would.
Nice catch. Good info.
|
|
| Status: Offline |
|
|