AIX audio mixing problems

AIX audio mixing problems

Post by Mike Katchab » Fri, 10 Aug 2001 23:55:27



Hi all,

I recently put AIX 4.2.1 on a Powerstation 355 with an ultimedia
sound card in it.  I installed ultimedia services, but was
disappointed with the mixer that comes with it (no balance control,
no ability to change outputs, etc.).  Looking around the net, there
did not seem to be any alternatives available, so I took it upon
myself to build one to my liking.  (I was hoping OSS might work, but
they do not support microchannel AIX boxes.)

After a little programming I had something suitable, but I cannot
find a way to access the audio device the same way the master_settings
tool can.  Whenever I access the audio device, I seem to get exclusive
control, which prevents other applications from using audio at the
same time.  I thought there might be another way of initializing the
device other than "play" or "record", but couldn't find one.  I thought
there might be a special mixing device to use and found that
master_settings opens /dev/baud0/mstvol, but it seems to make little
difference when I go to use it.  

When I use UMS, the interfaces I have found to access the device
require me to specify a mode -- either play or record, as far as
I can tell.  When I use the raw audio ioctls from sys/audio.h,
all ioctls appear to fail unless I do an AUDIO_INIT first, which
appears to again require a similar mode setting, which locks me in
to exclusive access to the device.  Tracing master_settings
seems to indicate that it uses a different ioctl than those listed
in sys/audio.h.  Sigh.

I just need to know how to access the audio device to control
master audio settings.  Since the master_settings application can
do it, I *know* there is a way to do it, but I cannot seem to find
any sample code or documentation explaining how to do it!  Does anyone
here have ideas or information that might be useful?

Any help is greatly appreciated!  Many thanks in advance!

Mike.

 
 
 

1. Problems with time stamps in mixed AIX & NetWare network

Hello out there,

we have a really curios problem with the file time stamps in our mixed AIX
4.3.3 & Netware 5.1 network. Our AIX 4.3.3 mounts a NFS-Volume, located on
the NetWare-Server. When creating a file under NetWare (server time 15:45)
on this volume, all file time stamps are showing the correct value (15:45).
When creating a file under AIX on this volume, it shows a time stamp exactly
3 hours older (in this case 12:45), but the AIX server (CDE & date) shows
the correct time (15:45).

Has anybody experienced similar problems or can anybody help us to explain
this phaenomenon?
Every help or hint is appreciated.

Greetings Helge

2. Info on JVC-Monitor needed

3. Problem with mixing threads and exceptions in AIX 4.3.2

4. signals and X

5. mixed mode audio/data

6. Autoshutdown in ATX

7. How to Audio Mixing ??

8. Q: Multia 233MHz 21066

9. Audio mix soft for Solaris

10. Audio Mixing Question:

11. Audio mixer for /dev/audio or USB audio?

12. SSA in Mixed NT/AIX Environment

13. Mixing compilers on AIX