Tom's Hardware Forums » PDA » Multimedia » Is GSM 6.10 frequency other than 8KHZ are supported on sma..
 

Is GSM 6.10 frequency other than 8KHZ are supported on sma..

Add a reply



 Word :   Username :  
 
Bottom
Author
 Thread : Is GSM 6.10 frequency other than 8KHZ are supported on sma..
 
More Information

Archived from groups: microsoft.public.pocketpc.multimedia (More info?)

 

I get my recording application working with a GSM codec with 8KHZ frequency,  
but i cannot get it working with any other frequency.  
 
Anyone out there please please help me out!  
The following is the wave format struct i passed in:
 
 
// 8KHZ -- this works
pgsmwavefmt.wfx.wFormatTag = 0x0031;
                pgsmwavefmt.wfx.nChannels = 1;
                pgsmwavefmt.wfx.nSamplesPerSec = 8000;
                pgsmwavefmt.wfx.nAvgBytesPerSec = 1625;
                pgsmwavefmt.wfx.nBlockAlign = 65;
                pgsmwavefmt.wfx.wBitsPerSample = 0;
                pgsmwavefmt.wfx.cbSize = 2; //Double word cbsize contains  
wSamplesPerBlock
                pgsmwavefmt.wfx.wSamplePerBlock = 320;
 
 
//
// 11.025 KHZ -- this doesnt work
// gives me a incorrect format error
 pgsmwavefmt.wfx.wFormatTag = 0x0031;
                pgsmwavefmt.wfx.nChannels = 1;
                pgsmwavefmt.wfx.nSamplesPerSec = 11025;
                pgsmwavefmt.wfx.nAvgBytesPerSec = 2239;
                pgsmwavefmt.wfx.nBlockAlign = 65;
                pgsmwavefmt.wfx.wBitsPerSample = 0;
                pgsmwavefmt.wfx.cbSize = 2; //Double word cbsize contains  
wSamplesPerBlock
                pgsmwavefmt.wfx.wSamplePerBlock = 320;

Related Pr oduct
Register or log in to remove.


Go to:
Add a reply
  Tom's Hardware Forums » PDA » Multimedia » Is GSM 6.10 frequency other than 8KHZ are supported on sma..
 

Google Ads
Ad