You're right that gaintool doesn't support 16-bit data, this is mentioned in
client/audiosvc/mixengine.h:
"
// define the "native audio data type"
// on memory- and resource-constrained devices, use 16-bit processing
#ifdef HELIX_FEATURE_16BIT_MIXENGINE
typedef INT16 tAudioSample ;

#if defined(HELIX_FEATURE_GAINTOOL) || defined(HELIX_FEATURE_CROSSFADE)\
 || defined(HELIX_FEATURE_LIMITER)
#error "gain tool, crossfader and limiter do not work on 16-bit data types
yet"
#endif

#else // all other platforms use 32-bit processing
typedef INT32 tAudioSample ;
#endif
"

We process&send 32-bit data to the audio device by default. Maybe there is a
limitation of MacOSX's audio device since it's working fine on Windows.

-->Henry

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bob Clark
> Sent: Thursday, October 19, 2006 5:51 PM Ping
> To: [EMAIL PROTECTED]; [email protected]
> Subject: [Client-dev] audio gain tool and 16-bit audio data
> 
> I've been trying to play with the audio gain tool 
> (audio/gaintool) with the 150Cay branch on Mac OS X.
> 
> It looks like the gaintool only works with 32-bit audio data.
> 
> Contrariwise, the audio device's CheckFormat never sees any 
> more than 16-bit samples.
> 
> Is there some way to get Helix to send the audio device 
> 32-bit audio data? 
> Or for the gaintool to work on 16-bit data?
> 
> Or am I misunderestimating something?
> 
> --Bob
> 
> 
> _______________________________________________
> Client-dev mailing list
> [EMAIL PROTECTED]
> http://lists.helixcommunity.org/mailman/listinfo/client-dev


_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

Reply via email to