Now, lets go to the point...I figured out how to make sounds work. But when I put a line in my ~/XBoard like
- Code: Select all
xboard*soundMove: /home/nikos/.home_transf/chess/move.wav >&/dev/null
I get all the sound file information displayed in the console, everytime a sound is played (moves, announchments etc). This is how it looks like:
- Code: Select all
fics%
Input File : '/home/nikos/.home_transf/chess/move.wav'
Sample Size : 8-bit (1 byte)
Sample Encoding: unsigned
Channels : 1
Sample Rate : 8000
Time: 00:00.10 [00:00.00] of 00:00.10 (100% ) Samples out: 4.91k Clips: 15
play effects: resample clipped 15 samples; decrease volume?
Done.
This is very annoying because if you play a blitz game you get a lot of these sound file information and the text in the terminal scrolls very fast so you actually can't read anything else.
If I then pass the argument >&/dev/null at the end of the command then the sound is not being played. I get:
- Code: Select all
fics% play soxio: Can't open input file `/home/nikos/.home_transf/chess/move.wav >&/dev/null': No such file or directory
I assume that this must be an xboard problem because if I just play the sound in a console with:
- Code: Select all
play /home/nikos/.home_transf/chess/move.wav >&/dev/null
it is being played correctly. But I may be wrong.
By the way I shaw a similar bug for eboard here. I don't know if they are related though.
Finally in case that matters I am using debian lenny amd64
So are there any thought on this?
Thanks