Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

ALSA Audio Error #2065

Open
hs3387 opened this issue Dec 7, 2022 · 2 comments
Open

ALSA Audio Error #2065

hs3387 opened this issue Dec 7, 2022 · 2 comments

Comments

@hs3387
Copy link

hs3387 commented Dec 7, 2022

Alexa should launch and ask me to set up the session with my account but fails with ALSA audio

`
#################################################

NOTIFICATION INDICATOR STATE: OFF

#################################################

2022-12-07 05:03:08.132 [ 1] 5 TemplateRuntime:addObserver
2022-12-07 05:03:08.163 [ t:3] 9 InternetConnectionMonitor:testConnection::alreadyReadAllBytes
2022-12-07 05:03:08.164 [ t:3] 9 InternetConnectionMonitor:testConnection::Finished reading
2022-12-07 05:03:08.164 [ t:3] 5 InternetConnectionMonitor:updateConnectionStatus:connected=true
2022-12-07 05:03:08.164 [ t:3] 5 Renderer:onConnectionStatusChanged:Network connected=true
2022-12-07 05:03:08.164 [ t:3] 5 AVSConnectionManager:onConnectionStatusChanged:this=0x145a900,connected=true,isEnabled=false
2022-12-07 05:03:08.165 [ t:3] 9 LibCurlHttpContentFetcher:~LibCurlHttpContentFetcher
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
SampleApp: src/hostapi/alsa/pa_linux_alsa.c:2328: PaAlsaStreamComponent_DetermineFramesPerBuffer: Assertion maxPeriods > 1' failed. startsample.sh: line 3: 5888 Aborted PA_ALSA_PLUGHW=1 ./SampleApp "/home/pi/build/Integration/AlexaClientSDKConfig.json" DEBUG9

Tell us what hardware you're using:

  • Raspberry Pi

Tell us about your OS (Type & version):

  • Raspbian bullseye
@heiheiheimu
Copy link

hi, hs3387
Has th problem been resolved?
I am also facing a similar problem.

@watsocao
Copy link

watsocao commented Jan 5, 2023

Hi @hs3387,
It looks like Pa_OpenStream() is failed. Could you please help to attach your configuration of sampleApp in AlexaClientSDKConfig.json? A full DEBUG9 log is very helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants