ubuntu-hams-devel team mailing list archive
-
ubuntu-hams-devel team
-
Mailing list archive
-
Message #01232
[Bug 1461755] fix for morse: pa_simple_write failed
The bug in 'morse':
morse.d/beepPA.c opens a two-channel (stereo) PulseAudio stream, but then
mis-handles it as if it was just one channel of audio data, including
trying to write a non-mulitple of the (stereo) PulseAudio frame size via
pa_simple_write(). Earlier versions of PulseAudio silently ignored the
discrepancy, but newer versions rightly return a PulseAudio "Invalid
argument" error.
Attached patch to morse.d/beepPA.c fixes the bug.
-Kamal
** Patch added: "fix-pa_simple_write-with-mono-output.patch"
https://bugs.launchpad.net/bugs/1461755/+attachment/4410527/+files/fix-pa_simple_write-with-mono-output.patch
--
You received this bug notification because you are a member of Ubuntu
ham developers, which is subscribed to morse in Ubuntu.
https://bugs.launchpad.net/bugs/1461755
Title:
Crashes after first tone played with "pa_simple_Write failed"
Status in morse package in Ubuntu:
In Progress
Status in morse package in Debian:
Unknown
Bug description:
On a recently upgraded Ubuntu 15.04
- installing the morse' package,
- Run 'morse a'
Heard a short beep, then program exits with message: "pa_simple_Write
failed"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/morse/+bug/1461755/+subscriptions
References