[Asterisk-Users] mp3 playback (mpg123)
Jean-Denis Girard
jd-girard at esoft.pf
Thu May 15 05:41:32 MST 2003
nathan wrote:
>>>>Does the mp3 need to converted to a specific bit rate or does
>>>>anything else need to be done to stop the stuttering?
>>>>
>>>>
>>>If you do not have any zaptel devices in the machine, try
>>>installing the ztdummy driver (if you have a USB bus) and trying
>>>again. MP3 uses the zaptel device for timing. If it can't find
>>>that device, it will attempt to play anyway, but the resulting
>>>sound may be choppy.
>>>
>>>-Tilghman
>>>
>>>
>>Without USB ZaptelRTC from http://www.junghanns.net/asterisk/ gives good
>>results here.
>>
>>
>
>Hi Jean-Denis,
>
>Do you need to do anything specific to compile Zaptel|RTC ? I've downloaded
>the file and attempted to 'make' in Redhat 9 but receive the following output
>which results in an error.
>
>---- Start of 'Make' Ouput ----
>
>cc -c zaprtc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2
>-Wall -I/usr/src/linux-2.4/include -I../zaptel -Wall -DMODVERSIONS -include
>/usr/src/linux-2.4/include/linux/modversions.h
>In file included from /usr/src/linux-2.4/include/linux/prefetch.h:13,
> from /usr/src/linux-2.4/include/linux/list.h:6,
> from /usr/src/linux-2.4/include/linux/module.h:12,
> from zaprtc.c:60:
>/usr/src/linux-2.4/include/asm/processor.h:60: warning: parameter names
>(without types) in function declaration
>/usr/src/linux-2.4/include/asm/processor.h:60: field
>`loops_per_jiffy_R_ver_str' declared as a function
>/usr/src/linux-2.4/include/asm/processor.h:82: invalid suffix on integer
>constant
>/usr/src/linux-2.4/include/asm/processor.h:82: parse error before numeric
>constant
>/usr/src/linux-2.4/include/asm/processor.h:265: invalid suffix on integer
>constant
>/usr/src/linux-2.4/include/asm/processor.h:265: parse error before numeric
>constant
>/usr/src/linux-2.4/include/asm/processor.h:269: warning: parameter names
>(without types) in function declaration
>In file included from zaprtc.c:60:
>/usr/src/linux-2.4/include/linux/module.h:183: invalid suffix on integer
>constant
>/usr/src/linux-2.4/include/linux/module.h:183: parse error before numeric
>constant
>/usr/src/linux-2.4/include/linux/module.h:183:
>`inter_module_register_R_ver_str' declared as function returning a function
>/usr/src/linux-2.4/include/linux/module.h:184: invalid suffix on integer
>constant
>/usr/src/linux-2.4/include/linux/module.h:184: parse error before numeric
>constant
>/usr/src/linux-2.4/include/linux/module.h:184:
>`inter_module_unregister_R_ver_str' declared as function returning a function
>/usr/src/linux-2.4/include/linux/module.h:185: `inter_module_get_R_ver_str'
>declared as function returning a function
>/usr/src/linux-2.4/include/linux/module.h:185: warning: parameter names
>(without types) in function declaration
>/usr/src/linux-2.4/include/linux/module.h:186:
>`inter_module_get_request_R_ver_str' declared as function returning a
>function
>/usr/src/linux-2.4/include/linux/module.h:186: warning: parameter names
>(without types) in function declaration
>/usr/src/linux-2.4/include/linux/module.h:187: invalid suffix on integer
>constant
>/usr/src/linux-2.4/include/linux/module.h:187: parse error before numeric
>constant
>/usr/src/linux-2.4/include/linux/module.h:187: `inter_module_put_R_ver_str'
>declared as function returning a function
>/usr/src/linux-2.4/include/linux/module.h:196: `try_inc_mod_count_R_ver_str'
>declared as function returning a function
>/usr/src/linux-2.4/include/linux/module.h:196: warning: parameter names
>(without types) in function declaration
>make: *** [zaprtc.o] Error 1
>
>---- End of 'Make' Ouput ----
>
>Thanks,
>Nathan
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
Sorry, I have no idea what the problem is, and no experience with
Redhat-9...
My system is Mandrake-9.0 with updated kernel-2.4.21-rc2 and zaptelrtc
compiled flawlessly.
Maybe you should grab a clean kernel from kernel.org.
Jean-Denis
More information about the asterisk-users
mailing list