diff options
Diffstat (limited to 'apps/codecs/dumb/examples/dumb.ini')
-rw-r--r-- | apps/codecs/dumb/examples/dumb.ini | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/apps/codecs/dumb/examples/dumb.ini b/apps/codecs/dumb/examples/dumb.ini new file mode 100644 index 0000000000..6fea2ce50f --- /dev/null +++ b/apps/codecs/dumb/examples/dumb.ini | |||
@@ -0,0 +1,44 @@ | |||
1 | # Please edit this file to control the playback quality for 'dumbplay'. Note | ||
2 | # that this does not affect DUMB when you use it in your own programs; you | ||
3 | # need to borrow some code from the example program in order to get that to | ||
4 | # happen. | ||
5 | |||
6 | # dumb_resampling_quality can be 0 for aliasing, 1 for linear interpolation | ||
7 | # or 2 for cubic interpolation. See docs/dumb.txt for details on what these | ||
8 | # terms mean. | ||
9 | |||
10 | # dumb_it_max_to_mix is the maximum number of samples DUMB will render at a | ||
11 | # time. See docs/dumb.txt for a more detailed description. | ||
12 | |||
13 | # Increase buffer_size to combat stuttering. | ||
14 | |||
15 | # The music module will be rendered at the sampling frequency specified by | ||
16 | # sound_freq. This variable is also used by Allegro for initialising the | ||
17 | # sound hardware. | ||
18 | |||
19 | # buffer_size and sound_freq are passed directly to al_start_duh(). See this | ||
20 | # function's description in docs/dumb.txt for information about how to use | ||
21 | # these variables. | ||
22 | |||
23 | # You can ignore the quality variable. Allegro uses it when relaying the | ||
24 | # audio stream to the sound card. Only a masochist would set it lower than 2; | ||
25 | # if your computer is powerful enough to run DUMB, it is powerful enough to | ||
26 | # use this setting with Allegro. | ||
27 | |||
28 | # For best results, choose a value for sound_freq that your sound card can do | ||
29 | # exactly. See Allegro's docs, "Standard config variables", for details. If | ||
30 | # you do not choose an exact value, Allegro will round it to the nearest | ||
31 | # value it can do; then when DUMB plays the stream at a sampling frequency of | ||
32 | # sound_freq, Allegro will have to resample it. Allegro's 'quality = 2' | ||
33 | # setting is only comparable with DUMB's 'dumb_resampling_quality = 1' | ||
34 | # setting. Therefore, in order to appreciate DUMB's cubic resampler fully, | ||
35 | # you will need to make sure Allegro doesn't do any resampling, by choosing | ||
36 | # an exact value for sound_freq. | ||
37 | |||
38 | [sound] | ||
39 | dumb_resampling_quality = 2 | ||
40 | dumb_it_max_to_mix = 256 | ||
41 | buffer_size = 4096 | ||
42 | sound_freq = 44100 | ||
43 | |||
44 | quality = 2 | ||