#
1.17 |
|
01-Apr-2023 |
mlelstv |
Also report precision from hwinfo.
|
Revision tags: netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 phil-wifi-20191119
|
#
1.16 |
|
24-Aug-2019 |
isaki |
Revert about index number changes. It breaks its usage and output format. Pointed out by mrg@.
|
#
1.15 |
|
24-Aug-2019 |
isaki |
Make the same code that appears repeatedly a function.
|
#
1.14 |
|
24-Aug-2019 |
isaki |
Use err(3)/warn(3) instead of perror(3)/fprintf(stderr,...). Use getprogname(3) for usage().
|
#
1.13 |
|
24-Aug-2019 |
isaki |
Check mode argument earlier.
|
#
1.12 |
|
24-Aug-2019 |
isaki |
Use device unit number for index. The index number was too confusing such as 0: [ ] audio1 @ wss0 1: [*] audio0 @ yds0 in my PC for example. Here is new format: [*] audio0 @ yds0 [ ] audio1 @ wss0 In this style, devices are always listed in order of unit number and 0 always means audio0, 1 always means audio1.
|
#
1.11 |
|
24-Aug-2019 |
isaki |
Revert to use single descriptor for "audiocfg test" as before.
|
#
1.10 |
|
24-Aug-2019 |
isaki |
Rename some members in adev for clarity. No functional changes intended.
|
#
1.9 |
|
22-Aug-2019 |
isaki |
Fix assertion of "audiocfg list <n>" when n is an illegal index.
|
Revision tags: netbsd-9-base phil-wifi-20190609
|
#
1.8 |
|
08-May-2019 |
isaki |
branches: 1.8.2; Update respond to isaki-audio2 branch. - Extend list command to display supported hardware formats. - Add set command to set hardware format. - Use correct /dev/audioctl instead of /dev/audio.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.7 |
|
12-Aug-2013 |
joerg |
branches: 1.7.26; Add more __dead.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.6 |
|
03-Sep-2010 |
jmcneill |
branches: 1.6.6; 1.6.12; return an error if testing fails, and dump the device info before running tests
|
#
1.5 |
|
02-Sep-2010 |
jmcneill |
at the request of mrg, print the parent of audioN's device name
|
#
1.4 |
|
02-Sep-2010 |
jmcneill |
print the version field from AUDIO_GETDEV if present
|
#
1.3 |
|
01-Sep-2010 |
wiz |
Index argument is not optional, make it clearer in the usage.
|
#
1.2 |
|
01-Sep-2010 |
jmcneill |
add support for testing audio devices. the usage of audiocfg changes:
audiocfg list audiocfg default [index] audiocfg test [index]
'list' shows the available audio devices, 'default' sets the default audio device, and 'test' will play a tone for 2 seconds on each channel. example:
$ ./audiocfg list 0: [*] audio0: ICH2 AC97 (2 playback channels) 1: [ ] audio1: Pseudo Audio (2 playback channels) $ ./audiocfg test 0 testing channel 0... testing channel 1... $
|
#
1.1 |
|
30-Aug-2010 |
mrg |
branches: 1.1.1; Initial revision
|
#
1.16 |
|
24-Aug-2019 |
isaki |
Revert about index number changes. It breaks its usage and output format. Pointed out by mrg@.
|
#
1.15 |
|
24-Aug-2019 |
isaki |
Make the same code that appears repeatedly a function.
|
#
1.14 |
|
24-Aug-2019 |
isaki |
Use err(3)/warn(3) instead of perror(3)/fprintf(stderr,...). Use getprogname(3) for usage().
|
#
1.13 |
|
24-Aug-2019 |
isaki |
Check mode argument earlier.
|
#
1.12 |
|
24-Aug-2019 |
isaki |
Use device unit number for index. The index number was too confusing such as 0: [ ] audio1 @ wss0 1: [*] audio0 @ yds0 in my PC for example. Here is new format: [*] audio0 @ yds0 [ ] audio1 @ wss0 In this style, devices are always listed in order of unit number and 0 always means audio0, 1 always means audio1.
|
#
1.11 |
|
24-Aug-2019 |
isaki |
Revert to use single descriptor for "audiocfg test" as before.
|
#
1.10 |
|
24-Aug-2019 |
isaki |
Rename some members in adev for clarity. No functional changes intended.
|
#
1.9 |
|
22-Aug-2019 |
isaki |
Fix assertion of "audiocfg list <n>" when n is an illegal index.
|
Revision tags: netbsd-9-base phil-wifi-20190609
|
#
1.8 |
|
08-May-2019 |
isaki |
Update respond to isaki-audio2 branch. - Extend list command to display supported hardware formats. - Add set command to set hardware format. - Use correct /dev/audioctl instead of /dev/audio.
|
Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.7 |
|
12-Aug-2013 |
joerg |
branches: 1.7.26; Add more __dead.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.6 |
|
03-Sep-2010 |
jmcneill |
branches: 1.6.6; 1.6.12; return an error if testing fails, and dump the device info before running tests
|
#
1.5 |
|
02-Sep-2010 |
jmcneill |
at the request of mrg, print the parent of audioN's device name
|
#
1.4 |
|
02-Sep-2010 |
jmcneill |
print the version field from AUDIO_GETDEV if present
|
#
1.3 |
|
01-Sep-2010 |
wiz |
Index argument is not optional, make it clearer in the usage.
|
#
1.2 |
|
01-Sep-2010 |
jmcneill |
add support for testing audio devices. the usage of audiocfg changes:
audiocfg list audiocfg default [index] audiocfg test [index]
'list' shows the available audio devices, 'default' sets the default audio device, and 'test' will play a tone for 2 seconds on each channel. example:
$ ./audiocfg list 0: [*] audio0: ICH2 AC97 (2 playback channels) 1: [ ] audio1: Pseudo Audio (2 playback channels) $ ./audiocfg test 0 testing channel 0... testing channel 1... $
|
#
1.1 |
|
30-Aug-2010 |
mrg |
branches: 1.1.1; Initial revision
|
#
1.9 |
|
22-Aug-2019 |
isaki |
Fix assertion of "audiocfg list <n>" when n is an illegal index.
|
Revision tags: netbsd-9-base phil-wifi-20190609
|
#
1.8 |
|
08-May-2019 |
isaki |
Update respond to isaki-audio2 branch. - Extend list command to display supported hardware formats. - Add set command to set hardware format. - Use correct /dev/audioctl instead of /dev/audio.
|
Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.7 |
|
12-Aug-2013 |
joerg |
branches: 1.7.26; Add more __dead.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.6 |
|
03-Sep-2010 |
jmcneill |
branches: 1.6.6; 1.6.12; return an error if testing fails, and dump the device info before running tests
|
#
1.5 |
|
02-Sep-2010 |
jmcneill |
at the request of mrg, print the parent of audioN's device name
|
#
1.4 |
|
02-Sep-2010 |
jmcneill |
print the version field from AUDIO_GETDEV if present
|
#
1.3 |
|
01-Sep-2010 |
wiz |
Index argument is not optional, make it clearer in the usage.
|
#
1.2 |
|
01-Sep-2010 |
jmcneill |
add support for testing audio devices. the usage of audiocfg changes:
audiocfg list audiocfg default [index] audiocfg test [index]
'list' shows the available audio devices, 'default' sets the default audio device, and 'test' will play a tone for 2 seconds on each channel. example:
$ ./audiocfg list 0: [*] audio0: ICH2 AC97 (2 playback channels) 1: [ ] audio1: Pseudo Audio (2 playback channels) $ ./audiocfg test 0 testing channel 0... testing channel 1... $
|
#
1.1 |
|
30-Aug-2010 |
mrg |
branches: 1.1.1; Initial revision
|
#
1.8 |
|
08-May-2019 |
isaki |
Update respond to isaki-audio2 branch. - Extend list command to display supported hardware formats. - Add set command to set hardware format. - Use correct /dev/audioctl instead of /dev/audio.
|
Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.7 |
|
12-Aug-2013 |
joerg |
Add more __dead.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.6 |
|
03-Sep-2010 |
jmcneill |
branches: 1.6.6; 1.6.12; return an error if testing fails, and dump the device info before running tests
|
#
1.5 |
|
02-Sep-2010 |
jmcneill |
at the request of mrg, print the parent of audioN's device name
|
#
1.4 |
|
02-Sep-2010 |
jmcneill |
print the version field from AUDIO_GETDEV if present
|
#
1.3 |
|
01-Sep-2010 |
wiz |
Index argument is not optional, make it clearer in the usage.
|
#
1.2 |
|
01-Sep-2010 |
jmcneill |
add support for testing audio devices. the usage of audiocfg changes:
audiocfg list audiocfg default [index] audiocfg test [index]
'list' shows the available audio devices, 'default' sets the default audio device, and 'test' will play a tone for 2 seconds on each channel. example:
$ ./audiocfg list 0: [*] audio0: ICH2 AC97 (2 playback channels) 1: [ ] audio1: Pseudo Audio (2 playback channels) $ ./audiocfg test 0 testing channel 0... testing channel 1... $
|
#
1.1 |
|
30-Aug-2010 |
mrg |
branches: 1.1.1; Initial revision
|