Hi,

I'm using Mac::Carbon0.01.  See my previous post as to why I have not 
upgraded.

So the volume settings in this code snippet are not working correctly:

  my $volume_reset = GetDefaultOutputVolume();
  SetDefaultOutputVolume(2**100);
  SpeakText($Mac_Channel, $mac_text);
  SetDefaultOutputVolume($volume_reset);

The plan was to put the volume at max when talking then return it to 
previous volume when done, but its not working out that way.  What is 
actually happening is that the volume steadily declines with every 
execution of this function until the volume is muted.

Any ideas?

Jon Boehm

Reply via email to