Displaying 2 results from an estimated 2 matches for "src_channel".
2013 Jul 08
1
patch to fix error in src/opus_multistream_encoder.c when DISABLE_FLOAT_API is defined
...celt_mode;
opus_int32 bitrates[256];
opus_val16 bandLogE[42];
@@ -629,27 +631,6 @@ static int opus_multistream_encode_native
}
-#if !defined(DISABLE_FLOAT_API)
-static void opus_copy_channel_in_float(
- opus_val16 *dst,
- int dst_stride,
- const void *src,
- int src_stride,
- int src_channel,
- int frame_size
-)
-{
- const float *float_src;
- opus_int32 i;
- float_src = (const float *)src;
- for (i=0;i<frame_size;i++)
-#if defined(FIXED_POINT)
- dst[i*dst_stride] = FLOAT2INT16(float_src[i*src_stride+src_channel]);
-#else
- dst[i*dst_stride] = float_src[i*src_strid...
2009 May 17
1
SHARED() variables and <ZOMBIE> channel
Hi,
I am using SHARED() function to push destination channel info (i.e.
audio codec) into "source" channel, in order to record into a customer
CDR field.
My dialplan looks like:
[default]
exten => _X.,1,Set(_X-SRC_CHANNEL=${CHANNEL})
exten => _X.,n,Dial(SIP/user at domain.net,30,M(getCalledInfo))
exten => h,1,Set(CDR(DST_CODEC)=${SHARED(X-DST-CODEC,${CHANNEL})})
[macro-getCalledInfo]
exten => s,1,Set(SHARED(X-DST-CODEC,${X-SRC_CHANNEL})=${CHANNEL(audionativeformat)})
The above works great, however there...