Release new version 1.2.12.
[grml-etc.git] / etc / skel / .asoundrc.example
1 # Filename:      $HOME/.asoundrc.example
2 # Purpose:       example configuration file for ALSA (Advanced Linux Sound Architecture)
3 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
4 # Bug-Reports:   see http://grml.org/bugs/
5 # License:       This file is licensed under the GPL v2.
6 # Latest change: Son Aug 27 12:52:05 CEST 2006 [mika]
7 ################################################################################
8
9 # Syntax example:
10 # pcm.NAME {
11 #     type hw # Kernel PCM
12 #     card INT/STR # Card name or number
13 #     [device] INT # Device number (default 0)
14 #     [subdevice] INT # Subdevice number, -1 first available (default -1)
15 #     mmap_emulation BOOL # enable mmap emulation for ro/wo devices
16 # }
17
18 # Default example:
19 # pcm.card0 {
20 #     type hw
21 #     card 0
22 # }
23 # ctl.card0 {
24 #     type hw
25 #     card 0
26 # }
27
28 # Splitting front and rear outputs:
29 # pcm.dshare {
30 #     type dmix
31 #     ipc_key 2048
32 #     slave {
33 #         pcm "hw:0"
34 #         rate 44100
35 #         period_time 0
36 #         period_size 1024
37 #         buffer_size 8192
38 #         channels 4
39 #     }
40 #     bindings {
41 #         0 0
42 #         1 1
43 #         2 2
44 #         3 3
45 #     }
46 # }
47 # pcm.frontx {
48 #     type plug
49 #     slave {
50 #         pcm "dshare"
51 #         channels 4
52 #     }
53 #     ttable.0.0 1
54 #     ttable.1.1 1
55 # }
56 # pcm.rearx {
57 #     type plug
58 #     slave {
59 #         pcm "dshare"
60 #         channels 4
61 #     }
62 #     ttable.0.2 1
63 #     ttable.1.3 1
64 # }
65
66 # The dmix plugin provides for direct mixing of multiple streams.
67 # See: http://alsa.opensrc.org/index.php?page=DmixPlugin
68 # NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix.
69 # Dmix is enabled as default for soundcards which don't support hw mixing.
70 pcm.dsp0 {
71     type plug
72     slave.pcm "dmix"
73 }
74 ctl.mixer0 {
75     type hw
76     card 0
77 }
78
79 ## END OF FILE #################################################################