[Alephmodular-devel] Sound Manager things
Status: Pre-Alpha
Brought to you by:
brefin
From: Br'fin <br...@ma...> - 2003-10-22 22:37:09
|
I've begun trying to work up a CSoundManager to abstract sound handling. All it does right now is remember the original volume at program start and then restore it at exit. One nicety is that it is trying to use some of the CoreAudio stuff to do it without the issues I was having with Get/SetDefaultOutputVolume in the Carbon APIs. So I tried to play with a variant of this CoreAudio stuff under A1 to fix the problem there. Worked well, except that right at the end, where it restores the volume just fine in AM... A1 ends up unable to find the default output device anymore and fails to reset the volume at all. Bwah. I have no idea what in A1 might be getting shutdown earlier and this makes me worried about why it works in AM and if/when it might stop working in the same. Sigh. -Jeremy Parsons |