[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-producer-dev
Subject:    Re: [Helix-producer-dev] Problem with Real Audio Lossless
From:       Sorin <sorin () real ! com>
Date:       2005-03-31 18:43:07
Message-ID: B9142FC7-A214-11D9-82F3-000A95891B8C () real ! com
[Download RAW message or body]

Hi Michael,
I passed your question to one of our developers. We will try to get you  
an answer within the next couple of days.

Sorin


On Mar 31, 2005, at 9:09 AM, Michael Bouchard (( Intern )) wrote:

> Hi everybody,
>
>                        I posted this email one week ago, however  
> nobody answered me.
>
>      So I repost my request about Real Audio Lossless in the hope that  
> somebody can help me.
>
> Tank you to pay attention to the following email.
> Michaël Bouchard
>
> ----------------------------------------------------------------------- 
> ----------------------------------------------------------------------- 
> --------
>
> 	Hi,
>
> 	
>
> 	            My software crash during codecs initialization, so I  
> investigate the problem and I noted that is comes from audio lossless  
> format.
>
> 	
>
> 	In fact, when we try to obtain BitRate, SampleRate, etc. the return  
> code was Failed.
>
> 	
>
> 	Thus, I would like to know why this problem occurs and how to correct  
> it.
>
> 	
>
> 	You’ll find below the code used to initialize codec.
>
> 	
>
> 	
>
> 	                        for (UINT32 ndx = 0; ndx <  
> audioCodecs->GetCount(); ++ndx) {
>
> 	                  PropertyBag codec = audioCodecs.get_ItemAt(ndx);
>
> 	                  PropertyBag codecInfo =  
> codec.get_PropertyBag(kPropCodecSpecificInfo);
>
> 	                  PropertyBag instProps =  
> codec.get_PropertyBag(kPropInstantiationProps);
>
> 	
>
> 	                  mAudioCodecs[ndx] = new RealCodec(
>
> 	                         
> string2String(instProps.get_String(kPropPluginName),  
> RealMediaLayer::CodePage),
>
> 	                         
> string2String(instProps.get_String(kPropCodecName),  
> RealMediaLayer::CodePage),
>
> 	                        instProps.get_UINT(kPropCodecFlavor),
>
> 	                         
> string2String(codecInfo.get_String(kPropCodecLongName),  
> RealMediaLayer::CodePage)
>
> 	                  );
>
> 	
>
> 	                  mAudioCodecs[ndx]->Bitrate =  
> codecInfo.get_UINT(kPropAvgBitrate);
>
> 	                  mAudioCodecs[ndx]->HighFrequency =  
> codecInfo.get_UINT(kPropAudioHighFrequency) != 0;
>
> 	                  mAudioCodecs[ndx]->SampleRate =  
> codecInfo.get_UINT(kPropAudioSampleRate);
>
> 	                  mAudioCodecs[ndx]->Stereo =  
> codecInfo.get_UINT(kPropAudioChannelFormat) != HXT_AUDIO_MONO;
>
> 	                  if (codecInfo.get_String(kPropCodecPreferedType) ==  
> kValueMusicType)
>
> 	                        mAudioCodecs[ndx]->PreferredSource =  
> RealCodec::Music;
>
> 	                  else if  
> (codecInfo.get_String(kPropCodecPreferedType) == kValueVoiceType)
>
> 	                        mAudioCodecs[ndx]->PreferredSource =  
> RealCodec::Voice;
>
> 	                  else
>
> 	                        mAudioCodecs[ndx]->PreferredSource =  
> RealCodec::Unknown;
>
> 	
>
> 	                  allCodecs[ndx] = mAudioCodecs[ndx];
>
> 	            }
>
> 	
>
> 	
>
> 	            //Code from PropertyBag class
>
> 	            UINT32 get_UINT(const char *key) {
>
> 	                  UINT32 i;
>
> 	                  CheckError(mRealClass->GetUint(key, &i));
>
> 	                  return i;
>
> 	            }
>
> 	
>
> 	Ps: Is it possible to have french person to support me, because my  
> english isn’t very good ?
>
> 	
>
> 	
>
> 	Thanks in advance for your help.
>
> 	Michaël Bouchard
>
> 	
>
> 	
>
> 	
>
> 	
>
> _______________________________________________
> Helix-producer-dev mailing list
> Helix-producer-dev@helixcommunity.org
> http://lists.helixcommunity.org/mailman/listinfo/helix-producer-dev



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic