Audio input gain changes not being applied to ax_audio_stream on ARTPEC-8 #811
Replies: 2 comments
-
This automatically generated reply acts as a friendly reminder. Answers to your questions will most often come from the community, from developers like yourself. You will, from time to time, find that Axis employees answers some of the questions, but this is not a guarantee. Think of the discussion forum as a complement to other support channels, not a replacement to any of them. If your question remains unanswered for a period of time, please revisit it to see whether it can be improved by following the guidelines listed in Axis support guidelines. |
Beta Was this translation helpful? Give feedback.
-
Hi @cheval1201 , For ACAP version 4: The new APIs are still not available and this may be the root cause of why it is not working with ARTPEC-8 devices (specifically, Q1656 and Q9307-LV) If it is possible for you to modify this example to reproduce the issue you mentioned in a sample ACAP for ARTPEC-8(aarch64). As per one of our expert engineers the following changes were made in Axis OS 11.8: |
Beta Was this translation helpful? Give feedback.
-
Hello,
I've been developing an ACAP application which uses audio input streams to capture real-time audio. I had it running without any problems, but recently encountered an issue: the audio input gain settings are not being applied to the
ax_audio_stream
on ARTPEC-8 devices (specifically, Q1656 and Q9307-LV). This problem doesn't seem to occur on other architectures (tested with CV25 & ARTPEC-7), where the audio input gain changes are applied to theax_audio_stream
correctly. I verified this behavior by logging the audio energy levels of the incoming audio frames while changing the audio input gain values.I used the AxAudio API to create streams:
https://axiscommunications.github.io/acap-documentation/3.5/api/axaudio/html/axaudio_8h.html#a9f401a9ff9cbb03a9916cbf86ade1d33:~:text=%E2%97%86-,ax_audio_open_pcm_16_stream(),-AXAudioStream*%20ax_audio_open_pcm_16_stream
and used the VAPIX Audio API to change the input gain of the AudioSource:
https://www.axis.com/vapix-library/subjects/t10100065/section/t10036015/display
I couldn't find any release notes or documentation addressing this issue, so I'm wondering if this might be a known problem or if there's something I might be overlooking.
Beta Was this translation helpful? Give feedback.
All reactions