- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I downloaded the speech proessing example code from the IPP page on intel.com. The example program in the zip "w_ipp-G729_p_4.0.005.zip" throws an access violation when giving any 8khz 16bit pcm audio data. However, on the assumption that it's the fault of the example program and not the IPP libray itself, I simply call the following 3 or 4 IPP functions and it crashes with an access violation:
int required_size;
apiG729Decoder_Alloc((G729Codec_Type)G729A_CODEC, &required_size);
apiG729Decoder_Alloc((G729Codec_Type)G729A_CODEC, &required_size);
G729Decoder_Obj* decoder_ = (G729Decoder_Obj*)ippsMalloc_8u(required_size);
apiG729Decoder_Init(decoder_, (G729Codec_Type)G729A_CODEC);
apiG729Decoder_Init(decoder_, (G729Codec_Type)G729A_CODEC);
unsigned char* compressed_buffer;
// compressed_buffer is filled with data from a Cisco7960 IP phone...
// compressed_buffer is filled with data from a Cisco7960 IP phone...
short* decompressed_buffer;
// decompressed_buffer is setup...
// decompressed_buffer is setup...
apiG729Decode(
decoder_,
compressed_buffer,
G729A_CODEC,
decompressed_buffer);
decoder_,
compressed_buffer,
G729A_CODEC,
decompressed_buffer);
The call to apiG729Decode() throws an access violation on line 1442 of file decg729.c, does anybody have any idea why?
Link Copied
0 Replies
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