On Thursday, 26 September 2019 at 00:09:30 UTC, Mike Franklin
wrote:
On Wednesday, 25 September 2019 at 23:56:45 UTC, aberba wrote:
I'm looking for resources on using D for basic Raspberry Pi
programming...stuff like turning on and off an LED light. I
believe it requires being able to call the
On Sunday, 29 September 2019 at 16:26:48 UTC, Aldo wrote:
On Sunday, 29 September 2019 at 11:36:00 UTC, aberba wrote:
On Thursday, 26 September 2019 at 00:09:30 UTC, Mike Franklin
wrote:
[...]
I have no idea how to do that from D. Any help/resources on
that?
Maybe you can use this dub
On Saturday, 28 September 2019 at 14:03:53 UTC, Adam D. Ruppe
wrote:
On Saturday, 28 September 2019 at 03:21:38 UTC, Murilo wrote:
Can anyone just please show me how to play a background
sound(like those in games) using arsd.simpleaudio? I'd like
something simple with a code snippet please.
On Sunday, 29 September 2019 at 13:24:40 UTC, Adam D. Ruppe wrote:
On Sunday, 29 September 2019 at 04:37:43 UTC, Murilo wrote:
Thanks. Now, I would like to know if I could just use it like
this instead:
What happens if an exception is thrown in the middle of your
function? It shouldn't
On Saturday, 28 September 2019 at 16:21:10 UTC, snow jhon wrote:
On Saturday, 21 September 2019 at 18:52:23 UTC, Dennis wrote:
[...]
Below is a simple doubly linked list with Garbage Collected
memory.
It's not performant or complete by any means, just a minimal
example in D like you wanted.
On Saturday, 28 September 2019 at 16:20:03 UTC, snow jhon wrote:
On Thursday, 26 September 2019 at 10:07:34 UTC, bioinfornatics
wrote:
[...]
To be more precise, gtkd is a wrapper for GTK. Gtkd is not
interesting in this context, but the dependency on gtk. On
windows you have the possibility
On Sunday, 29 September 2019 at 21:06:02 UTC, Murilo wrote:
.stop() will stop the thread
More specifically, stop tells the audio output to stop. It
finishes what it is doing and then exits. At this point, the
thread terminates.
join() waits for the thread to finish terminating (which it
On Sunday, 29 September 2019 at 20:57:09 UTC, Adam D. Ruppe wrote:
On Sunday, 29 September 2019 at 20:51:40 UTC, Murilo wrote:
Are you sure it is like this:
join waits for it to finish before returning. You need to stop
before joining otherwise join may never return.
Alright, thanks. So
On Sunday, 29 September 2019 at 09:25:59 UTC, JN wrote:
On Saturday, 28 September 2019 at 03:21:38 UTC, Murilo wrote:
Can anyone just please show me how to play a background
sound(like those in games) using arsd.simpleaudio? I'd like
something simple with a code snippet please.
I recommend
On Sunday, 29 September 2019 at 20:51:40 UTC, Murilo wrote:
Are you sure it is like this:
join waits for it to finish before returning. You need to stop
before joining otherwise join may never return.
On Sunday, 29 September 2019 at 11:36:00 UTC, aberba wrote:
I have no idea how to do that from D. Any help/resources on
that?
You should be able to use the techniques at
https://dlang.org/spec/interfaceToC.html to declare the C
functions that you wish to use in your *.d source files, and
On Saturday, 28 September 2019 at 03:21:38 UTC, Murilo wrote:
Can anyone just please show me how to play a background
sound(like those in games) using arsd.simpleaudio? I'd like
something simple with a code snippet please.
I recommend SoLoud - bindings are available here
On Thursday, 26 September 2019 at 16:30:39 UTC, Andre Pany wrote:
On Wednesday, 25 September 2019 at 17:03:51 UTC, Ron Tarrant
wrote:
On Wednesday, 25 September 2019 at 13:52:48 UTC,
bioinfornatics wrote:
I think I misunderstood your need but are lo looking for dub
tool with its repository
On Sunday, 29 September 2019 at 09:25:59 UTC, JN wrote:
It's more powerful than simpleaudio
heh. not hard to be better than my method list:
http://dpldocs.info/experimental-docs/arsd.simpleaudio.AudioPcmOutThread.html#members
beep
boop
blip
noise
playOgg
it is meant to be something more
On Sunday, 29 September 2019 at 04:37:43 UTC, Murilo wrote:
Thanks. Now, I would like to know if I could just use it like
this instead:
What happens if an exception is thrown in the middle of your
function? It shouldn't really matter (at least not with the newer
versions) since it will
On Sunday, 29 September 2019 at 11:36:00 UTC, aberba wrote:
On Thursday, 26 September 2019 at 00:09:30 UTC, Mike Franklin
wrote:
On Wednesday, 25 September 2019 at 23:56:45 UTC, aberba wrote:
I'm looking for resources on using D for basic Raspberry Pi
programming...stuff like turning on and
On Thursday, 26 September 2019 at 17:26:25 UTC, Dave Chapman
wrote:
On Thursday, 26 September 2019 at 00:10:40 UTC, aberba wrote:
[...]
I've been using
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ . It
is a C library written by Bartosz Golaszewski. He is actively
working on
On Sunday, 29 September 2019 at 22:52:02 UTC, Adam D. Ruppe wrote:
On Sunday, 29 September 2019 at 21:06:02 UTC, Murilo wrote:
.stop() will stop the thread
More specifically, stop tells the audio output to stop. It
finishes what it is doing and then exits. At this point, the
thread
On Sunday, 29 September 2019 at 23:48:35 UTC, Murilo wrote:
Now, one last question, if stop() actually makes the output,
not the thread, stop, then start() makes the output, not the
thread, begin?
It does both. start is from the base class Thread, it starts it
which immediately opens the
19 matches
Mail list logo