#
1.8 |
|
01-Nov-2021 |
ratchov |
Stop binding audio devices exposed by sndiod to physical devices
This a shift towards a new model: clients connect to logical devices (created with -s option) then the server routes data to/from the underlying physical device (registered with -f option). The binding may be changed at run-time with the server.device control exposed by sndioctl(1).
As audio devices exposed by sndiod(8) are not bound to fixed physical devices anymore, the physical audio device number component of sndio(7) descriptors was removed.
fixes, help from and ok denis, edd
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
|
#
1.7 |
|
23-Jan-2020 |
ratchov |
When opening a device, loop over the alternate devices list in the worker process instead of the helper process. It is simpler this way and allows the worker to properly log which device is being used.
|
Revision tags: OPENBSD_6_6_BASE
|
#
1.6 |
|
21-Sep-2019 |
ratchov |
Allow switching between devices without disconnecting clients.
The new -F option allows alternate device to be specified. If the device is disconnected, the one given with the last -f or -F options will be used instead. Similarly, the new -Q option allows an alternate MIDI port to be specified.
ok mpi@
|
#
1.5 |
|
05-Jul-2019 |
ratchov |
Fix spacing and comments, no code change.
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.4 |
|
03-Jan-2017 |
ratchov |
Many typos in comments. From Michael W. Bombardieri. Thanks.
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.3 |
|
25-May-2016 |
ratchov |
Assert we're not freeing buffers we didn't allocate
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.2 |
|
08-Jan-2016 |
ratchov |
Make code fit in 80 columns, remove trailing spaces & tabs.
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.1 |
|
23-Nov-2012 |
ratchov |
Remplace aucat server by a new sndiod daemon aimed to be simpler smaller and faster than aucat. It's a drop in replacement with the following exceptions that don't affect the default setup: - The sample rate and the encoding are a per-device parameters thus -r and -e options must precede the corresponding -f option - MIDI thru boxes are dynamically created and no -M option is required anymore, so -M was removed. - MIDI ports are exposed with a new ``midi/N'' name, rather than abusing MIDI thru boxes. with help from armani@, ok deraadt@
|
#
1.7 |
|
23-Jan-2020 |
ratchov |
When opening a device, loop over the alternate devices list in the worker process instead of the helper process. It is simpler this way and allows the worker to properly log which device is being used.
|
Revision tags: OPENBSD_6_6_BASE
|
#
1.6 |
|
21-Sep-2019 |
ratchov |
Allow switching between devices without disconnecting clients.
The new -F option allows alternate device to be specified. If the device is disconnected, the one given with the last -f or -F options will be used instead. Similarly, the new -Q option allows an alternate MIDI port to be specified.
ok mpi@
|
#
1.5 |
|
05-Jul-2019 |
ratchov |
Fix spacing and comments, no code change.
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.4 |
|
03-Jan-2017 |
ratchov |
Many typos in comments. From Michael W. Bombardieri. Thanks.
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.3 |
|
25-May-2016 |
ratchov |
Assert we're not freeing buffers we didn't allocate
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.2 |
|
08-Jan-2016 |
ratchov |
Make code fit in 80 columns, remove trailing spaces & tabs.
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.1 |
|
23-Nov-2012 |
ratchov |
Remplace aucat server by a new sndiod daemon aimed to be simpler smaller and faster than aucat. It's a drop in replacement with the following exceptions that don't affect the default setup: - The sample rate and the encoding are a per-device parameters thus -r and -e options must precede the corresponding -f option - MIDI thru boxes are dynamically created and no -M option is required anymore, so -M was removed. - MIDI ports are exposed with a new ``midi/N'' name, rather than abusing MIDI thru boxes. with help from armani@, ok deraadt@
|
#
1.6 |
|
21-Sep-2019 |
ratchov |
Allow switching between devices without disconnecting clients.
The new -F option allows alternate device to be specified. If the device is disconnected, the one given with the last -f or -F options will be used instead. Similarly, the new -Q option allows an alternate MIDI port to be specified.
ok mpi@
|
#
1.5 |
|
05-Jul-2019 |
ratchov |
Fix spacing and comments, no code change.
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.4 |
|
03-Jan-2017 |
ratchov |
Many typos in comments. From Michael W. Bombardieri. Thanks.
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.3 |
|
25-May-2016 |
ratchov |
Assert we're not freeing buffers we didn't allocate
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.2 |
|
08-Jan-2016 |
ratchov |
Make code fit in 80 columns, remove trailing spaces & tabs.
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.1 |
|
23-Nov-2012 |
ratchov |
Remplace aucat server by a new sndiod daemon aimed to be simpler smaller and faster than aucat. It's a drop in replacement with the following exceptions that don't affect the default setup: - The sample rate and the encoding are a per-device parameters thus -r and -e options must precede the corresponding -f option - MIDI thru boxes are dynamically created and no -M option is required anymore, so -M was removed. - MIDI ports are exposed with a new ``midi/N'' name, rather than abusing MIDI thru boxes. with help from armani@, ok deraadt@
|
#
1.5 |
|
05-Jul-2019 |
ratchov |
Fix spacing and comments, no code change.
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.4 |
|
03-Jan-2017 |
ratchov |
Many typos in comments. From Michael W. Bombardieri. Thanks.
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.3 |
|
25-May-2016 |
ratchov |
Assert we're not freeing buffers we didn't allocate
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.2 |
|
08-Jan-2016 |
ratchov |
Make code fit in 80 columns, remove trailing spaces & tabs.
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.1 |
|
23-Nov-2012 |
ratchov |
Remplace aucat server by a new sndiod daemon aimed to be simpler smaller and faster than aucat. It's a drop in replacement with the following exceptions that don't affect the default setup: - The sample rate and the encoding are a per-device parameters thus -r and -e options must precede the corresponding -f option - MIDI thru boxes are dynamically created and no -M option is required anymore, so -M was removed. - MIDI ports are exposed with a new ``midi/N'' name, rather than abusing MIDI thru boxes. with help from armani@, ok deraadt@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.4 |
|
03-Jan-2017 |
ratchov |
Many typos in comments. From Michael W. Bombardieri. Thanks.
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.3 |
|
25-May-2016 |
ratchov |
Assert we're not freeing buffers we didn't allocate
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.2 |
|
08-Jan-2016 |
ratchov |
Make code fit in 80 columns, remove trailing spaces & tabs.
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.1 |
|
23-Nov-2012 |
ratchov |
Remplace aucat server by a new sndiod daemon aimed to be simpler smaller and faster than aucat. It's a drop in replacement with the following exceptions that don't affect the default setup: - The sample rate and the encoding are a per-device parameters thus -r and -e options must precede the corresponding -f option - MIDI thru boxes are dynamically created and no -M option is required anymore, so -M was removed. - MIDI ports are exposed with a new ``midi/N'' name, rather than abusing MIDI thru boxes. with help from armani@, ok deraadt@
|