mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
Fix typo in share/examples/sound/ossinit.h
Event: Advanced UNIX Programming Course (Fall’23) at NTHU. Pull Request: https://github.com/freebsd/freebsd-src/pull/974
This commit is contained in:
parent
664812f734
commit
ee40f9e860
|
@ -227,7 +227,7 @@ oss_init(config_t *config)
|
|||
* If desired frag is smaller than minimum, based on number of channels
|
||||
* and format (size in bits: 8, 16, 24, 32), set that as frag. Buffer size
|
||||
* is 2^frag, but the real size of the buffer will be read when the
|
||||
* configuration of the device is successfull
|
||||
* configuration of the device is successful
|
||||
*/
|
||||
int min_frag = size2frag(config->sample_size * config->channels);
|
||||
|
||||
|
|
Loading…
Reference in a new issue