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:
YuZhong-Chen 2024-01-01 16:25:52 +08:00 committed by Li-Wen Hsu
parent 664812f734
commit ee40f9e860
No known key found for this signature in database
GPG key ID: 82B261B14D3BC7AF

View file

@ -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);