Whole document tree
    

Whole document tree

esdctl

esdctl

controls certain aspects of the sound daemon.

esdctl [options]

commandspurpose
lockforeign clients may not use the server
unlockforeign clients may use the server
standby, offsuspend sound output for other programs
resume, onresume sound output
cache SAMPLEcache sample from file SAMPLE in the server
getid NAMEretrieve a sample id from its name
free NAMEuncache a sample in the server by NAME
play NAMEplay a cached sample once
loop NAMEplay a cached sample in a loop
stop NAMEstop a looping sample at end of sample
serverinfoget server info from server
allinfoget player and sample info from server
panstream ID LEFT RIGHTset left and right volume levels for a stream
pansample ID LEFT RIGHTset default left and right volume levels for a sample

lock - only the "owner" of the daemon can play sounds. the first key (obtained from ˜/.esd-auth) submitted to the daemon identifies the owner.

unlock - anyone can play sounds through the daemon.

standby - frees the audio device for use by other programs. all sounds are ignored until the daemon is resumed.

resume - brings daemon out of standby mode

NOTE: more than one option may be listed on the command line