• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AUMixer: Metering Intermittent with volume of 1.0?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUMixer: Metering Intermittent with volume of 1.0?


  • Subject: Re: AUMixer: Metering Intermittent with volume of 1.0?
  • From: Karim Morsy <email@hidden>
  • Date: Mon, 13 Mar 2006 22:38:29 +0100

Anyone else had this experience? Any ideas?

yea, I was having exactly the same problem. I "solved" this by limiting the value to 0.9 instead of 1.0, which is not really a good solution.
but obviously this problem only seems to occur with the stereo mixer. The metering works absolutely fine with the matrix mixer.


Could someone point me to sample code of how to route sound to the
various outputs on a multi-cahnnel device?

/Developer/Examples/CoreAudio/Services/MatrixMixerTest/

Karim






-------------- 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 ********************************************

_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: AUMixer: Metering Intermittent with volume of 1.0?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: AUGUI, parameters and file selectors
  • Next by Date: Re: Routing Sound to MultiChannel Device
  • Previous by thread: Re: AUMixer: Metering Intermittent with volume of 1.0?
  • Next by thread: Re: AUMixer: Metering Intermittent with volume of 1.0?
  • Index(es):
    • Date
    • Thread