xref: /haiku/src/add-ons/kernel/drivers/audio/hda/hda.settings (revision 8aea77d00f1a733a1a9047d99e195dde5397a16a)
1*8aea77d0SHumdinger# Settings file for the HDA driver
2*8aea77d0SHumdinger#
3*8aea77d0SHumdinger#  This file should be moved to the directory
4*8aea77d0SHumdinger#  ~/config/settings/kernel/drivers/
5*8aea77d0SHumdinger#  Uncomment and edit any of the setting lines you wish to set.
6*8aea77d0SHumdinger#  The values shown are just the defaults.
7*8aea77d0SHumdinger#  Don't uncomment any that you don't need to differ from the default.
8*8aea77d0SHumdinger
9*8aea77d0SHumdinger#  Remember that latency will probably be at least
10*8aea77d0SHumdinger#   2*buffer_frames/sample_rate
11*8aea77d0SHumdinger#  For real time audio, a buffer of 1024 frames at 192000
12*8aea77d0SHumdinger#  should be good (<15ms).
13*8aea77d0SHumdinger#  You will need more buffers if they're small.
14*8aea77d0SHumdinger#  e.g.:
15*8aea77d0SHumdinger#     play_buffer_frames	1024
16*8aea77d0SHumdinger#     play_buffer_count	4
17*8aea77d0SHumdinger
18*8aea77d0SHumdinger###########################################################
19*8aea77d0SHumdinger
20*8aea77d0SHumdinger# play_buffer_frames	10240
21*8aea77d0SHumdinger# play_buffer_count	2
22*8aea77d0SHumdinger
23*8aea77d0SHumdinger# record_buffer_frames	10240
24*8aea77d0SHumdinger# record_buffer_count	2
25