-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/mailman/private/coreaudio-api/
attachments/20060312/d352c14a/attachment.html
------------------------------
Message: 2
Date: Mon, 13 Mar 2006 06:54:14 -0500
From: Mark Coniglio <email@hidden>
Subject: AUMixer: Metering Intermittent with volume of 1.0?
To: email@hidden
Message-ID: <p0611043ec03b0c75ddb0@[192.168.1.100]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
I am turning on metering for a three-channel AUMixer using
kAudioUnitProperty_MeteringMode.
I am getting the current meter value using the following code:
err = ::AudioUnitGetParameter(audioUnit,
kStereoMixerParam_PostAveragePower, kAudioUnitScope_Input,
i, &averagePower );
When the volume of an element is set < 1.0, the metering is always
works, and reports the correct level, etc.
But when I set the value 1.0, the metering will sometimes stop
working on that bus (most often occurring with the first bus) The
value stays frozen at the last value I received before setting the
value to 1.0.
Anyone else had this experience? Any ideas?
------------------------
Message: 4
Date: Mon, 13 Mar 2006 12:16:07 -0500
From: Mark Coniglio <email@hidden>
Subject: Routing Sound to MultiChannel Device
To: email@hidden
Message-ID: <p06110451c03b56dfe32d@[192.168.1.100]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Hi,
Is it possible to tell the DefaultOutputUnit to route it's sound
output to any channel (or pair of channels) on the currently
connected multi-channel sound output device?
Or can I only use an AudioDeviceOutput output to route the sound
in this way?
Could someone point me to sample code of how to route sound to the
various outputs on a multi-cahnnel device?
Many Thanks,
Mark
------------------------------
Message: 6
Date: Mon, 13 Mar 2006 11:36:33 -0800
From: William Stewart <email@hidden>
Subject: Re: AUMixer: Metering Intermittent with volume of 1.0?
To: Mark Coniglio <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
We're using the same code (and a Matrix Mixer) with the AULab
application. By default, a document opens up with the applicable MM
volumes set to 1. Can you try to reproduce the problem in this app?
(I presume by AUMixer you are actually referring to the matrix
mixer). There is also the MM test app in the SDK that does metering
as well.
Bill
On 13/03/2006, at 3:54 AM, Mark Coniglio wrote:
I am turning on metering for a three-channel AUMixer using
kAudioUnitProperty_MeteringMode.
I am getting the current meter value using the following code:
err = ::AudioUnitGetParameter(audioUnit,
kStereoMixerParam_PostAveragePower, kAudioUnitScope_Input,
i, &averagePower );
When the volume of an element is set < 1.0, the metering is always
works, and reports the correct level, etc.
But when I set the value 1.0, the metering will sometimes stop
working on that bus (most often occurring with the first bus) The
value stays frozen at the last value I received before setting the
value to 1.0.
Anyone else had this experience? Any ideas?
Best Wishes,
Mark
End of Coreaudio-api Digest, Vol 3, Issue 82
********************************************