Home
last modified time | relevance | path

Searched hist:"9263 f854e9a63cc326a3d5f6331b933c4a010abf" (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/sound/pcm/
H A Dvchan.cdiff 9263f854e9a63cc326a3d5f6331b933c4a010abf Fri Oct 18 10:40:41 CEST 2024 Christos Margiolis <christos@FreeBSD.org> sound: Simplify channel creation and deletion process

Currently we create and destroy channels with the following consistent
pattern:

- chn_init() -> pcm_chn_add()
- pcm_chn_remove() -> chn_kill()

Instead of calling two separate functions, merge pcm_chn_add() with
chn_init(), and pcm_chn_remove() with chn_kill().

Another benefit of this change is that we avoid the confusion caused by
having pcm_chn_add(), as well as pcm_addchan().

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.freebsd.org/D46835
H A Dsound.hdiff 9263f854e9a63cc326a3d5f6331b933c4a010abf Fri Oct 18 10:40:41 CEST 2024 Christos Margiolis <christos@FreeBSD.org> sound: Simplify channel creation and deletion process

Currently we create and destroy channels with the following consistent
pattern:

- chn_init() -> pcm_chn_add()
- pcm_chn_remove() -> chn_kill()

Instead of calling two separate functions, merge pcm_chn_add() with
chn_init(), and pcm_chn_remove() with chn_kill().

Another benefit of this change is that we avoid the confusion caused by
having pcm_chn_add(), as well as pcm_addchan().

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.freebsd.org/D46835
H A Dchannel.cdiff 9263f854e9a63cc326a3d5f6331b933c4a010abf Fri Oct 18 10:40:41 CEST 2024 Christos Margiolis <christos@FreeBSD.org> sound: Simplify channel creation and deletion process

Currently we create and destroy channels with the following consistent
pattern:

- chn_init() -> pcm_chn_add()
- pcm_chn_remove() -> chn_kill()

Instead of calling two separate functions, merge pcm_chn_add() with
chn_init(), and pcm_chn_remove() with chn_kill().

Another benefit of this change is that we avoid the confusion caused by
having pcm_chn_add(), as well as pcm_addchan().

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.freebsd.org/D46835
H A Dsound.cdiff 9263f854e9a63cc326a3d5f6331b933c4a010abf Fri Oct 18 10:40:41 CEST 2024 Christos Margiolis <christos@FreeBSD.org> sound: Simplify channel creation and deletion process

Currently we create and destroy channels with the following consistent
pattern:

- chn_init() -> pcm_chn_add()
- pcm_chn_remove() -> chn_kill()

Instead of calling two separate functions, merge pcm_chn_add() with
chn_init(), and pcm_chn_remove() with chn_kill().

Another benefit of this change is that we avoid the confusion caused by
having pcm_chn_add(), as well as pcm_addchan().

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