Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:intel_hda_realtime_howto [2012/02/18 14:15] – old revision restored rgareus | wiki:intel_hda_realtime_howto [2014/03/09 01:28] (current) – j_e_f_f_g | ||
---|---|---|---|
Line 61: | Line 61: | ||
* Periods/ | * Periods/ | ||
+ | ===== Debian (9 sept 2013) ===== | ||
+ | * Realtime does not have to be compiled anymore into the kernel: it is already by default. I know at least on " | ||
+ | * On Debian the location of the config file is **/ | ||
+ | * Further config files are located at **~/ | ||
+ | * The ' | ||
+ | * The ' | ||
+ | * Example of / | ||
+ | Use ' | ||
+ | pcm.!default { # declare the default PCM device | ||
+ | type asym # combine playback and capture devices | ||
+ | playback.pcm { ### Playback object ### | ||
+ | type plug # convert audio to mixer format | ||
+ | slave.pcm { | ||
+ | type dmix # mix multiple audio streams | ||
+ | ipc_key 69569 # shared memory key; must be unique, just make one up | ||
+ | ipc_key_add_uid true # add UID to shared mem key | ||
+ | ipc_perm 0600 # shared mem file permissions | ||
+ | slave { | ||
+ | pcm { | ||
+ | type hw # define the playback hardware | ||
+ | card " | ||
+ | device 1 # YOUR playback device on that card | ||
+ | } | ||
+ | format S32_LE | ||
+ | rate 48000 # YOUR samples per second | ||
+ | channels 2 # number of audio channels | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | capture.pcm { ### Capture object ### | ||
+ | type plug # convert audio format from the hardware | ||
+ | slave { | ||
+ | pcm { | ||
+ | type hw # define the capture hardware | ||
+ | card " | ||
+ | device 0 # YOUR capture device on that card | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
===== Comments ===== | ===== Comments ===== | ||
Line 68: | Line 108: | ||
!-- Comments end here --! | !-- Comments end here --! | ||
- | {{tag> | + | {{tag> |