Closed clort81 closed 9 months ago
How are you running toxic? Did you build from source or are you using the static binary? The /sdev
command is for voice chat and is unrelated to sound notifications. If you compiled with sound notifications enabled it should just work.
Hello JFreegman, thank you for replying.
I built from source.
make
sudo make install
I did not build with DISABLE_SOUND_NOTIFY=1
libopenal-dev is already the newest version (1:1.19.1-2) libalut-dev is already the newest version (1.1.0-6).
Suspect the lsdev out showing only 0: ALSA Default might be a clue.
[EDIT] the tool "openal-info" gives me 5 available playback devices [EDIT2] added CFLAGS += '-DAUDIO' to Makefile (wasn't in by default) and rebuilt - didnt solve [EDIT3] CFLAGS += '-DAUDIO' '-DSOUND_NOTIFY' '-DTOXICVER="$(VERSION)"' -DHAVE_WIDECHAR -D_XOPEN_SOURCE_EXTENDED -D_FILE_OFFSET_BITS=64 - didn't solve Openal seems linked fine. ldd /usr/local/bin/toxic |grep openal libopenal.so.1 => /lib/aarch64-linux-gnu/libopenal.so.1 (0x0000ffffa0bdc000)
[EDIT4] STUPID PBKAC me - ALTERNATE USER DID NOT HAVE AUDIO GROUP ACCESS With standard user /lsdev out shows devices.
still can't get any sound after setting device though.
Need some kind of notification of messages. Preferably both in-window and audio.
Also i can't see whether 'mute' status is on or off.
Closing due to inactivity
Toxic uptodate git master build. Debian arm linux. No pulseaudio. alsa working with 4 output devices (all working and listable by aplay -l)
/lsdev out shows 0: ALSA Default /sdev 0
No incoming notification makes a sound.
~/.config/tox/toxic.conf contains
// preferred audio output device; numbers correspond to /lsdev out output_device=0;
// To disable a sound set the path to "silent" sounds = { error="/usr/share/toxic/sounds/ToxicError.wav"; user_log_in="/usr/share/toxic/sounds/null.wav"; user_log_out="/usr/share/toxic/sounds/null.wav"; user_log_in="/usr/share/toxic/sounds/ToxicContactOnline.wav"; user_log_out="/usr/share/toxic/sounds/ToxicContactOffline.wav"; call_incoming="/usr/share/toxic/sounds/ToxicIncomingCall.wav"; call_outgoing="/usr/share/toxic/sounds/ToxicOutgoingCall.wav"; generic_message="/usr/share/toxic/sounds/ToxicRecvMessage.wav"; transfer_pending="/usr/share/toxic/sounds/ToxicTransferStart.wav"; transfer_completed="/usr/share/toxic/sounds/ToxicTransferComplete.wav"; }; Sounds are present and playable with aplay.
I expect the devices reported by ALSA to show up with lsdev. Any tips to diagnose this?