[asterisk-bugs] [JIRA] (ASTERISK-23836) JACK_HOOK with more than 8Khz
Dennis Guse (JIRA)
noreply at issues.asterisk.org
Mon Jun 9 14:28:56 CDT 2014
Dennis Guse created ASTERISK-23836:
--------------------------------------
Summary: JACK_HOOK with more than 8Khz
Key: ASTERISK-23836
URL: https://issues.asterisk.org/jira/browse/ASTERISK-23836
Project: Asterisk
Issue Type: Improvement
Security Level: None
Components: Applications/app_jack
Affects Versions: SVN
Environment: Ubuntu 14.04 using 11.7 and trunk in combination with jackd and puredata.
Reporter: Dennis Guse
Severity: Minor
Attachments: patch-app_jack.c
So far app_jack is limited to 8Khz only.
The following patch adds support for dynamic sampling rates using information provided by the channel.
Checked with Linphone on Ubuntu 14.04 64bit.
Limitations:
* Information, i.e. sampling rate, is taken from channel during initialization as audiohook does not provide this information then. Audiohook.internal_sampl_rate is set later, but no callback is called.
* Frame.datalen is computed using rate / 50 assuming a ptime of 20ms.
There is no internal API available to determine datalen for a SLINxx.
* Ringbuffer size is a DEFINE and thus must be quite big to be able to cope with 16Khz+
PS: This bug report is a duplicate of 20969
https://issues.asterisk.org/jira/browse/ASTERISK-20696?jql=text%20~%20%22app_jack%22
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list