Henry Ping wrote:
> 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.
I would check with the audio codec folks. I don't know if
this 16bit/32bit
means the same thing as it does at the audio device level. I
have *never* seen
32-bit wide samples at the audio device layer. I have seen
16-bit * 2 channels
a lot, that gives 32-bits. Does this gain tool work with
multi channel content?
We are hopeing it works with 5.1 stuff at least.
If not, Bob, I think we will need to work with the codec
folks to get
something that will do the trick for us. They wrote this
stuff anyway.
--greg.
>
> -->Henry
>
>> -----Original Message-----
>> From: client-dev-bounces helixcommunity.org
>> [mailto:client-dev-bounces helixcommunity.org] On
Behalf Of Bob Clark
>> Sent: Thursday, October 19, 2006 5:51 PM Ping
>> To: client-dev helixcommunity.org; audio-dev helixcommunity.org
>> 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
>> Client-dev helixcommunity.org
>> http://lists.helixcommunity.org/mailman/listinfo/clie
nt-dev
>
>
> _______________________________________________
> Client-dev mailing list
> Client-dev helixcommunity.org
> http://lists.helixcommunity.org/mailman/listinfo/clie
nt-dev
>
_______________________________________________
Audio-dev mailing list
Audio-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/audio
-dev
|