HomeFreeBSD

sound examples: Simplify audio example

Description

sound examples: Simplify audio example

  • Merge ossinit.h and basic.c.
  • Rename basic.c to audio.c.
  • Use err(3) instead of fprintf(3) + exit(3).
  • Some style(9) improvements.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Reviewed by: dev_submerge.ch
Differential Revision: https://reviews.freebsd.org/D46307

(cherry picked from commit 3decd659a7887e83c2c8af35053301dc7d6f7be2)

Details

Provenance
christosAuthored on Aug 24 2024, 12:07 PM
Reviewer
dev_submerge.ch
Differential Revision
D46307: sound examples: Simplify audio example
Parents
rG276d76adf984: sound examples: Simplify MIDI example
Branches
Unknown
Tags
Unknown