Hi Eva,<br>
<br>
On Fri, Jan 25, 2019 at 4:53 AM Eva <notifications@github.com> wrote:<br>
<br>
> On Linux Mint Sylvia, I could not play sounds (e.g. SampledSound beep).<br>
> This occurred in the newest SWA VM build of Squeak.<br>
><br>
> Underlying problem seems to be that the Linux sound libraries for<br>
> PulseAudio are not linked correctly.<br>
><br>
> (Maybe this is the same as #118<br>
> <https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/118>)<br>
><br>
<br>
It might be well worth adding your message to that issue.  Capturing these<br>
issues has to be a high priority.<br>
<br>
<br>
> With @krono <https://github.com/krono> I found this workaround:<br>
> LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libpulse-simple.so.0.1.0<br>
> LD_LIBRARY_PATH=/home/user/Dokumente/SWA2018.app/Contents/Linux-i686/bin/../lib/squeak/5.0-201810071412:/lib/x86_64-linux-gnu:/lib:/usr/lib/x86_64-linux-gnu:/usr/lib:<br>
> /home/user/Dokumente/SWA2018.app/Contents/Linux-i686/bin/../lib/squeak/5.0-201810071412/squeak<br>
> -vm-sound-pulse<br>
> /home/user/Dokumente/SWA2018.app/Contents/Resources/SWA2018.image<br>
><br>
<br>
Ugh, that's ugly :-).  But well found you two; thanks!!  The questions I<br>
have are<br>
a) where should we document this workaround to communicate it to Linux<br>
users who may be suffering from the ease problem?<br>
b) what does the LD_PRELOAD variable cause to happen, and how many linux<br>
systems is it supported on?<br>
c) is there any way we can (safely) add this to the vm startup script, or<br>
to the sound-pulse module itself, e.g. somewhere<br>
in platforms/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c?  or in the code<br>
that loads the module?<br>
<br>
<br>
> —<br>
> You are receiving this because you are subscribed to this thread.<br>
> Reply to this email directly, view it on GitHub<br>
> <https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/360>, or mute<br>
> the thread<br>
> <https://github.com/notifications/unsubscribe-auth/APHa0PvjMt1ODGW3wJNLxErdkybE72bHks5vGv5bgaJpZM4aS083><br>
> .<br>
><br>
<br>
<br>
-- <br>
_,,,^..^,,,_<br>
best, Eliot<br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/360#issuecomment-457729071">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AhLyW5u1-BcD030LepDCciPvVmc4woo1ks5vG3JvgaJpZM4aS083">mute the thread</a>.<img src="https://github.com/notifications/beacon/AhLyWwcykzH0U9VeCNkjqcEyoLSUGqYRks5vG3JvgaJpZM4aS083.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/OpenSmalltalk/opensmalltalk-vm","title":"OpenSmalltalk/opensmalltalk-vm","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/OpenSmalltalk/opensmalltalk-vm"}},"updates":{"snippets":[{"icon":"PERSON","message":"@eliotmiranda in #360: Hi Eva,\n\nOn Fri, Jan 25, 2019 at 4:53 AM Eva \u003cnotifications@github.com\u003e wrote:\n\n\u003e On Linux Mint Sylvia, I could not play sounds (e.g. SampledSound beep).\n\u003e This occurred in the newest SWA VM build of Squeak.\n\u003e\n\u003e Underlying problem seems to be that the Linux sound libraries for\n\u003e PulseAudio are not linked correctly.\n\u003e\n\u003e (Maybe this is the same as #118\n\u003e \u003chttps://github.com/OpenSmalltalk/opensmalltalk-vm/issues/118\u003e)\n\u003e\n\nIt might be well worth adding your message to that issue.  Capturing these\nissues has to be a high priority.\n\n\n\u003e With @krono \u003chttps://github.com/krono\u003e I found this workaround:\n\u003e LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libpulse-simple.so.0.1.0\n\u003e LD_LIBRARY_PATH=/home/user/Dokumente/SWA2018.app/Contents/Linux-i686/bin/../lib/squeak/5.0-201810071412:/lib/x86_64-linux-gnu:/lib:/usr/lib/x86_64-linux-gnu:/usr/lib:\n\u003e /home/user/Dokumente/SWA2018.app/Contents/Linux-i686/bin/../lib/squeak/5.0-201810071412/squeak\n\u003e -vm-sound-pulse\n\u003e /home/user/Dokumente/SWA2018.app/Contents/Resources/SWA2018.image\n\u003e\n\nUgh, that's ugly :-).  But well found you two; thanks!!  The questions I\nhave are\na) where should we document this workaround to communicate it to Linux\nusers who may be suffering from the ease problem?\nb) what does the LD_PRELOAD variable cause to happen, and how many linux\nsystems is it supported on?\nc) is there any way we can (safely) add this to the vm startup script, or\nto the sound-pulse module itself, e.g. somewhere\nin platforms/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c?  or in the code\nthat loads the module?\n\n\n\u003e —\n\u003e You are receiving this because you are subscribed to this thread.\n\u003e Reply to this email directly, view it on GitHub\n\u003e \u003chttps://github.com/OpenSmalltalk/opensmalltalk-vm/issues/360\u003e, or mute\n\u003e the thread\n\u003e \u003chttps://github.com/notifications/unsubscribe-auth/APHa0PvjMt1ODGW3wJNLxErdkybE72bHks5vGv5bgaJpZM4aS083\u003e\n\u003e .\n\u003e\n\n\n-- \n_,,,^..^,,,_\nbest, Eliot\n"}],"action":{"name":"View Issue","url":"https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/360#issuecomment-457729071"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/360#issuecomment-457729071",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/360#issuecomment-457729071",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>