From sean, 7 Years ago, written in Plain Text.
- view diff
Embed
  1. <configuration name="local_stream.conf" description="stream files from local dir">
  2.   <!-- fallback to default if requested moh class isn't found -->
  3.   <directory name="default" path="$${sounds_dir}/music/8000">
  4.     <param name="rate" value="8000"/>
  5.     <param name="shuffle" value="true"/>
  6.     <param name="channels" value="1"/>
  7.     <param name="interval" value="20"/>
  8.     <param name="timer-name" value="soft"/>
  9.     <!-- list of short files to break in with every so often -->
  10.     <!--<param name="chime-list" value="file1.wav,file2.wav"/>-->
  11.     <!-- frequency of break-in (seconds)-->
  12.     <!--<param name="chime-freq" value="30"/>-->
  13.     <!-- limit to how many seconds the file will play -->
  14.     <!--<param name="chime-max" value="500"/>-->
  15.   </directory>
  16.  
  17.   <directory name="moh/8000" path="$${sounds_dir}/music/8000">
  18.     <param name="rate" value="8000"/>
  19.     <param name="shuffle" value="true"/>
  20.     <param name="channels" value="1"/>
  21.     <param name="interval" value="20"/>
  22.     <param name="timer-name" value="soft"/>
  23.   </directory>
  24.  
  25.   <directory name="moh/16000" path="$${sounds_dir}/music/16000">
  26.     <param name="rate" value="16000"/>
  27.     <param name="shuffle" value="true"/>
  28.     <param name="channels" value="2"/>
  29.     <param name="interval" value="20"/>
  30.     <param name="timer-name" value="soft"/>
  31.   </directory>
  32.  
  33.   <directory name="moh/32000" path="$${sounds_dir}/music/32000">
  34.     <param name="rate" value="32000"/>
  35.     <param name="shuffle" value="true"/>
  36.     <param name="channels" value="2"/>
  37.     <param name="interval" value="20"/>
  38.     <param name="timer-name" value="soft"/>
  39.   </directory>
  40.  
  41.   <directory name="moh/48000" path="$${sounds_dir}/music/48000">
  42.     <param name="rate" value="48000"/>
  43.     <param name="shuffle" value="true"/>
  44.     <param name="channels" value="2"/>
  45.     <param name="interval" value="10"/>
  46.     <param name="timer-name" value="soft"/>
  47.   </directory>
  48.  
  49. </configuration>