Hello,

After I rebuilt libs-gui with the service-fixes, my cuckoo has got voice again. I mean the cuckoo inside AClock app. So it is fixed now. I am wondering how NSSound is related to services...

Well, my testapp is still mute, but I think it is my bad skills in this case. Now I have:

patrick@pi400:~/SOURCES/CODING/GNUstep/TestCuckoo $ openapp ./TestCuckoo 2025-12-15 17:02:21.734 TestCuckoo[297609:297609] Path: /home/patrick/SOURCES/CODING/GNUstep/TestCuckoo/TestCuckoo.app/Resources/cuckoo.wav
2025-12-15 17:02:21.756 TestCuckoo[297609:297609] Playing sound...

The error message has gone. ;-)

---------- Forwarded message ----------
Date: 2025-12-14 15:36:24 +0100
From: Patrick Cardona <[email protected]>
Subject: Dumb Cuckoo (again) (fwd)

Hello,

As I said previously, there is something weird with NSSound.
So I built a little test program (source attached)

<TestCuckoo.tar.gz>

to check only this sound aspect of AClock:
- make
- openapp ./TestCuckoo

In my context, the output is:

2025-12-14 15:15:12.706 TestCuckoo[311030:311030] Path:
/home/patrick/SOURCES/CODING/GNUstep_Objective_C/TestCuckoo/TestCuckoo.app/Resources/cuckoo.wav
2025-12-14 15:15:12.708 TestCuckoo[311030:311030] Could not find
suitable sound
plug-in
2025-12-14 15:15:12.708 TestCuckoo[311030:311030] Failed to load sound!


I know sound system is working within other projects like NeXTSpace of
Sergii Stoian on the same computer, but I know also GNUstep libs where
modified.

So I am wondering if it is a NSSound issue with GNUstep standard libs
(AppKit/NSSound) on Debian or GNU Linux in general. Maybe only on
arm64 arch? Let me know if the attached code is working on other
systems than mine (see details on my full signature at the bottom).

Regards,
Patrick


---------- Forwarded message ----------
Date: 2025-11-08 19:04:14 +0100
 From: Patrick Cardona <[email protected]>
Subject: Dumb Cuckoo (again)

...

Hello,

My desktop is using ALSA, and the sound is functioning  using
Cynthiune and VolumeControl: I am able to listen to mp3 or ogg: that
is good.

I know the Cuckoo animation within AClock is a gadget, but I would
understand why it is dumb and I guess my GNUstep system could be
misconfigured or some lib or some bundle could be lacking.

- I am able to listen to the "cuckoo.wav" file in a Shell with aplay
CLI.
- But the same audio file within AClock is dumb and I am not able to
listen to within Cynthiune.

To build and install Cynthiune, I used these flags:

CONFIG_ARGS="disable-audiofile=yes disable-flac=yes
disable-flactags=yes \
disable-mod=yes disable-windowsmedia=yes disable-musepack=yes
\
           disable-timidity=yes disable-asdtags=yes disable-waveout=yes
\
           disable-esound=yes disable-ao=yes"

I also used the patch:
Cynthiune-1.0.0_Bundles_ALSA_fails_to_build_due_to_memcheck_inclusion.patch

Cynthiune and AClock were built from svn gap repo.

I also noted that in SystemPreferences, there is no panel about sound
settings. Last thread about NSSound I found in the Discuss List
archives seems old.

I guess also I do not need MacLaren libs and tools, because I have not
sound devices plugged unless my speakers. But maybe I am wrong.

Regards,
Patrick

--
Patrick Cardona - Pi400 - GNU/Linux aarch64 (Debian 13.1)
Xorg (1:7.7+24) - libcairo2 (1.18.4-1+rpt1 arm64)
Window Maker (0.96.0) - GWorkspace (1.1.0 - 02 2025) - Theme: AGNOSTEP
- MUA: GNUMail (1.4.0)



Attachment: TestCuckoo.tar.gz
Description: GNU Zip compressed data

Reply via email to