Sound...another try
Nico (nicolas.ecarnot@bigfoot.com)
Sun, 3 Oct 1999 22:50:19 +0200
> As an intermediate step, can you _not_ call the Audio module from
> autoexec, and try running Audio manually from the Start/Modules menu item?
> This would help track down the error.
I tried that (I remove the line in the autoexec file), I launch X with AS,
and I get no sound.
Then I launch Audio with the Start/Modules menu item, but still no sound.
Why would this method help tracking the error, since we can't see any error
log ?
Anyway, in order to help you to help me, this is what I get with the
traditional autoexec method.
(I'M SORRY TO SEND SUCH A LONG MAIL. BEAT ME, KILL ME, BUT BEFORE, PLEASE,
HELP ME :-) )
First, here is one of the error I see when quiting X and returning in text
mode :
Playing audio on localhost.localdomain using /dev/audio, one moment
please...
cat: /root/GNUstep/Library/Afterstep/desktop/sounds/beep.au: No such file or
directory
Then, here's my audio file :
-----
#------------------------------------------------------------------------
# Audio
#
*AudioPath ~/GNUstep/Library/Afterstep/desktop/sounds
*AudioDelay 1
#
# For debugging with my soundless notebook
#*AudioPlayCmd /usr/X11R6/bin/xmessage
*AudioPlayCmd /usr/bin/showaudio
*AudioDelay 1
*Audio startup meepmeep.au
*Audio shutdown clink.au
*Audio add_window bong.au
*Audio raise_window drip.au
*Audio lower_window drip.au
*Audio focus_change drip.au
*Audio destroy_window crash.au
*Audio iconify meepmeep.au
*Audio deiconify ploop.au
*Audio toggle_paging fwop.au
*Audio new_page beaming.au
*Audio new_desk beam_trek.au
*Audio configure_window huh.au
*Audio window_name bong.au
*Audio icon_name beep.au
*Audio res_class bong.au
*Audio res_name beep.au
*Audio end_windowlist twang.au
Then here is my autoexec file :
---------
############################################################################
# Menus
#
#------------------------------------------------------------------------
# Execute on startup :
#
Function "InitFunction"
Module "I" Animate
Module "I" Wharf
Wait "I" Wharf
Module "I" Pager 0 3
Module "I" WinList
Module "I" Audio
Exec "I" sh ~/GNUstep/Library/AfterStep/.workspace_state &
EndFunction
#------------------------------------------------------------------------
# Execute on restart :
#
Function "RestartFunction"
Module "I" Animate
Module "I" Wharf
Wait "I" Wharf
Module "I" Pager 0 3
Module "I" WinList
EndFunction
and finally, here is my base.24bpp file, since I run X in this mode :
----------
# 02/17/1998 (GPLed) by Guylhem Aznar <guylhem@oeil.qc.ca>
########################################
# AfterStep v1.5 Default Configuration #
########################################
##########################################################################
# Directories
#
ModulePath /usr/local/bin
IconPath /usr/X11R6/include/X11/bitmaps/
PixmapPath
~/GNUstep/Library/AfterStep/desktop/icons/16bpp/:/usr/local/share/afterstep/
desktop/icons/16bpp/:~/GNUstep/Library/AfterStep/desktop/icons/common/:/usr/
local/share/afterstep/desktop/icons/common/:~/GNUstep/Library/AfterStep/desk
top/buttons/:/usr/local/share/afterstep/desktop/buttons/:~/GNUstep/Library/A
fterStep/backgrounds/:/usr/local/share/afterstep/backgrounds/:/usr/X11R6/inc
lude/X11/pixmaps/
*ScriptPath
~/GNUstep/Library/AfterStep/scripts/:/usr/local/share/afterstep/scripts/
*AudioPath ~/GNUstep/Library/Afterstep/desktop/sounds
AudioPath ~/GNUstep/Library/Afterstep/desktop/sounds
*AudioPlayCmd /usr/bin/showaudio
AudioPlayCmd /usr/bin/showaudio
#
##########################################################################
##########################################################################
# Pager
# two panes wide by two panes high".
DeskTopSize 2x1
#DeskTopScale 32
#
##########################################################################
You may ask why I put 2 lines looking the same : I don't know if the usual
'*'
that begins the command lines is to be put even in the base* files.
You think I'm crazy ?
No, just determined !
Thank you for helping, AS keeps the best anyway !
Nico
--
WWW: http://www.afterstep.org/
FTP: ftp://ftp.afterstep.org/
MAIL: http://www.calderasystems.com/linuxcenter/forums/afterstep.html