- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. As i understand, G.722 encoder is needed 16000Hz samplerate. If i have 8000Hz pcm I need to change the samplerate.
How i can do this with ipp's help
I have to send by RTP wav file with 8000Hz samplerate, mono.
And one more question. If i receive 20ms RTP packet with 160bytes of G.722 payload, does it means that after G722Decode() with 64Kb i get 640bytes of linearPCM 16000Hz?
Thanks.
How i can do this with ipp's help
I have to send by RTP wav file with 8000Hz samplerate, mono.
And one more question. If i receive 20ms RTP packet with 160bytes of G.722 payload, does it means that after G722Decode() with 64Kb i get 640bytes of linearPCM 16000Hz?
Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi There
Resampling can be easily done with usingeither ippsResamplePolyphase* function from ippsr*.lib or ippsFIRMR* function from ipps*.lib.
And you are right, USC supports 20ms frameof G722 which correspond to 20*16*sizeof(short)=640 bytes in 16KHz PCM and 160 bytes in bitstream.
Vyacheslav
IPP, Speech coding

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page