Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

menu error #1539

Closed
juha-h opened this issue Jul 19, 2021 · 10 comments
Closed

menu error #1539

juha-h opened this issue Jul 19, 2021 · 10 comments

Comments

@juha-h
Copy link
Collaborator

juha-h commented Jul 19, 2021

I have in config

audio_source		gst,file:///tmp/digits.wav

and when call (inbound or outbound) terminates, menu gives audio error message:

gst: end of file26114/0 (bit/s)    
menu: audio error (0,end of file)
alsa: write: wrote 5 of 960 samples

Otherwise the call works fine.

@cspiel1
Copy link
Collaborator

cspiel1 commented Jul 19, 2021

@RobertMi21 or me will have a look on this.

@RobertMi21
Copy link
Contributor

Hello I tried to reproduce this issue.

First I copied the ring.wav file from the share directory to /tmp.

Then I added the following to my config:

audio_source gst,file:///tmp/ring.wav

But everthing worked as expected (I can hear the content of the ring.wav on the calling device).

Can you please check, if this works on your machine?

@juha-h
Copy link
Collaborator Author

juha-h commented Jul 20, 2021 via email

@juha-h
Copy link
Collaborator Author

juha-h commented Jul 20, 2021

Should I close this, since it is just a cosmetic issue?

@negbie
Copy link
Contributor

negbie commented Jul 20, 2021

@juha-h I think it was implemented on purpose #539. Maybe it should be a warning instead of error?

@juha-h
Copy link
Collaborator Author

juha-h commented Jul 21, 2021 via email

@RobertMi21
Copy link
Contributor

RobertMi21 commented Jul 22, 2021

Can you check the PR (#1550), if this fix is OK for you?

alfredh pushed a commit that referenced this issue Jul 22, 2021
Co-authored-by: Robert Mittermaier <r.mittermaier@commend.com>
@juha-h
Copy link
Collaborator Author

juha-h commented Jul 22, 2021

I still get red warning line to console:

audio: ausrc warning (end of file)/s) efps=0.0/0.0

which indicates that something went wrong although everything is OK.

@juha-h
Copy link
Collaborator Author

juha-h commented Jul 23, 2021

How about changing warning to info?

@RobertMi21
Copy link
Contributor

Ok, I will change it.

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

No branches or pull requests

4 participants