Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
3f225978 |
| 07-Sep-2003 |
Cameron Grant <cg@FreeBSD.org> |
update my email address.
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0 |
|
#
7ac40f5f |
| 03-Mar-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Gigacommit to improve device-driver source compatibility between branches:
Initialize struct cdevsw using C99 sparse initializtion and remove all initializations to default values.
This patch is au
Gigacommit to improve device-driver source compatibility between branches:
Initialize struct cdevsw using C99 sparse initializtion and remove all initializations to default values.
This patch is automatically generated and has been tested by compiling LINT with all the fields in struct cdevsw in reverse order on alpha, sparc64 and i386.
Approved by: re(scottl)
show more ...
|
#
a163d034 |
| 19-Feb-2003 |
Warner Losh <imp@FreeBSD.org> |
Back out M_* changes, per decision of the TRB.
Approved by: trb
|
#
44956c98 |
| 21-Jan-2003 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
00acb133 |
| 26-Nov-2002 |
Cameron Grant <cg@FreeBSD.org> |
(hopefully) fix build breakage some people are seeing
Approved by: re
|
Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2 |
|
#
ca33ae23 |
| 25-Jul-2002 |
Brian Feldman <green@FreeBSD.org> |
Fix some of the places where sound(4) can sleep with a lock held. (Help courtesy of fenner).
|
Revision tags: release/4.6.1 |
|
#
64d85ef7 |
| 15-Jul-2002 |
Mark Murray <markm@FreeBSD.org> |
Use semicolons at the end of function-like macros for the sake of consistency, style and future cleanliness.
|
Revision tags: release/4.6.0_cvs |
|
#
489c22eb |
| 04-Apr-2002 |
John Baldwin <jhb@FreeBSD.org> |
Add lock type arguments to callers of snd_mtxcreate().
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
b40ce416 |
| 12-Sep-2001 |
Julian Elischer <julian@FreeBSD.org> |
KSE Milestone 2 Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is fu
KSE Milestone 2 Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org, dillon@freebsd.org
X-MFC after: ha ha ha ha
show more ...
|
#
1662598f |
| 23-Aug-2001 |
Cameron Grant <cg@FreeBSD.org> |
MFS: allow multiple opens of mixer devices
|
#
67b1dce3 |
| 23-Aug-2001 |
Cameron Grant <cg@FreeBSD.org> |
many changes:
* add new channels to the end of the list so channels used in order of addition
* de-globalise definition of struct snddev_info and provide accessor functions where necessary.
* move
many changes:
* add new channels to the end of the list so channels used in order of addition
* de-globalise definition of struct snddev_info and provide accessor functions where necessary.
* move the $FreeBSD$ tag in each .c file into a macro and allow the /dev/sndstat handler to display these when set to maximum verbosity to aid debugging.
* allow each device to register its own sndstat handler to reduce the amount of groping sndstat must do in foreign structs.
show more ...
|
#
4712b1eb |
| 01-Jul-2001 |
Cameron Grant <cg@FreeBSD.org> |
set default 'monitor' volume (ac97 headphones) to 75%
|
#
f00f162a |
| 23-Jun-2001 |
Cameron Grant <cg@FreeBSD.org> |
add defines and ifdefs so this code will compile on 4.x
add spls so this code will work on 4.x
|
#
d95502a8 |
| 16-Jun-2001 |
Cameron Grant <cg@FreeBSD.org> |
use a global devclass for all drivers - i'm not entirely sure why this worked before.
mixer, dsp and sndstat are seperate devices - give them their own cdevsws instead of demuxing requests sent to a
use a global devclass for all drivers - i'm not entirely sure why this worked before.
mixer, dsp and sndstat are seperate devices - give them their own cdevsws instead of demuxing requests sent to a single cdevsw.
use the si_drv1/si_drv2 fields in dev_t structures for holding information specific to an open instance of mixer/dsp.
nuke /dev/{dsp,dspW,audio}[0-9]* links - this functionality is now provided using cloning.
various locking fixes.
show more ...
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
66ef8af5 |
| 25-Mar-2001 |
Cameron Grant <cg@FreeBSD.org> |
mega-commit.
this introduces a new buffering mechanism which results in dramatic simplification of the channel manager.
as several structures have changed, we take the opportunity to move their def
mega-commit.
this introduces a new buffering mechanism which results in dramatic simplification of the channel manager.
as several structures have changed, we take the opportunity to move their definitions into the source files where they are used, make them private and de-typedef them.
the sound drivers are updated to use snd_setup_intr instead of bus_setup_intr, and to comply with the de-typedefed structures.
the ac97, mixer and channel layers have been updated with finegrained locking, as have some drivers- not all though. the rest will follow soon.
show more ...
|
#
82db23e2 |
| 27-Feb-2001 |
Cameron Grant <cg@FreeBSD.org> |
MFS: 4.x/5.x compatibility #ifdefs
|
#
4fb369f8 |
| 12-Jan-2001 |
John Baldwin <jhb@FreeBSD.org> |
- Move all of the hwvol functions into a mixer_hwvol_* namespace, and make all of the hwvol members of struct snd_mixer live in a hwvol_* namespace. - When changing the mixer device via the hwvol_m
- Move all of the hwvol functions into a mixer_hwvol_* namespace, and make all of the hwvol members of struct snd_mixer live in a hwvol_* namespace. - When changing the mixer device via the hwvol_mixer sysctl, reset the muted state so that a mute operation on a new device won't try to unmute the new device with the old device's saved volume. - When the volume is muted, if a down or up volume request is received, first restore the saved volume level and then adjust it.
Reviewed by: cg
show more ...
|
#
cc486d80 |
| 05-Jan-2001 |
John Baldwin <jhb@FreeBSD.org> |
- Make the 'hwvol_mixer' and 'hwvol_step' variables be specific to a specific snd_mixer device rather than global across all mixers. - Add per-mixer mute status and saved mute_level so that the mix
- Make the 'hwvol_mixer' and 'hwvol_step' variables be specific to a specific snd_mixer device rather than global across all mixers. - Add per-mixer mute status and saved mute_level so that the mixer_hwmute() function can now toggle the mute state when the mute button is pressed. - Create a dynamic sysctl tree hw.snd.pcmX when a pcm device is registered. - Move the hw.snd.hwvol_* sysctl's to hw.snd.pcmX.hwvol_* so that they are now properly device-specific. Eventually when the mixers become their own devices these sysctl's will move to live under a mixerX tree. - Change the interface of the hwvol_mixer sysctl so that it reports the name of the current mixer device instead of the number and is settable with the name instead of the number. - Add a new function mixer_hwinit() used to setup the dynamic sysctl's needed for the hwvol support that can be called by drivers that support hwvol.
Reviewed by: cg
show more ...
|
#
d0d4e347 |
| 03-Jan-2001 |
John Baldwin <jhb@FreeBSD.org> |
Add a new API for soundcards that have hardware volume control: - The mixer_hwmute() function can be called when a soundcard receives a mute request. - The mixer_hwstep() function can be used to ad
Add a new API for soundcards that have hardware volume control: - The mixer_hwmute() function can be called when a soundcard receives a mute request. - The mixer_hwstep() function can be used to adjust the volume of one or both channels. - The 'hw.snd.hwvol_step' sysctl determines the amount that mixer_hwstep() adjusts the volume by on each call. - The 'hw.snd.hwvol_mixer' sysctl specifies the mixer device to adjust the volume on for both functions. The values used correspond to the SOUNDCARD_MIXER_* constants.
show more ...
|
#
350a5faf |
| 23-Dec-2000 |
Cameron Grant <cg@FreeBSD.org> |
update code dealing with snd_dbuf objects to do so using a functional interface
modify chn_setblocksize() to pick a default soft-blocksize appropriate to the sample rate and format in use. it will
update code dealing with snd_dbuf objects to do so using a functional interface
modify chn_setblocksize() to pick a default soft-blocksize appropriate to the sample rate and format in use. it will aim for a power of two size small enough to generate block sizes of at most 20ms. it will also set the hard-blocksize taking into account rate/format conversions in use.
update drivers to implement setblocksize correctly: updated, tested: sb16, emu10k1, maestro, solo updated, untested: ad1816, ess, mss, sb8, csa not updated: ds1, es137x, fm801, neomagic, t4dwave, via82c686
i lack hardware to test: ad1816, csa, fm801, neomagic others will be updated/tested in the next few days.
show more ...
|
#
0f55ac6c |
| 18-Dec-2000 |
Cameron Grant <cg@FreeBSD.org> |
kobjify.
this gives us several benefits, including:
* easier extensibility- new optional methods can be added to ac97/mixer/channel classes without having to fixup every driver.
* forward compat
kobjify.
this gives us several benefits, including:
* easier extensibility- new optional methods can be added to ac97/mixer/channel classes without having to fixup every driver.
* forward compatibility for drivers, provided no new mandatory methods are added.
show more ...
|
Revision tags: release/4.2.0 |
|
#
9ec437a3 |
| 26-Oct-2000 |
Cameron Grant <cg@FreeBSD.org> |
add reinit functions to mixers unstaticize chn_start() add reset/resetdone functions to channels
|
Revision tags: release/4.1.1_cvs |
|
#
8ac2d635 |
| 03-Sep-2000 |
Peter Wemm <peter@FreeBSD.org> |
Fix warnings by moving static functions before they are used.
|
#
f3dcf661 |
| 02-Sep-2000 |
Cameron Grant <cg@FreeBSD.org> |
add a missing return statement, doh.
|
#
33dbf14a |
| 01-Sep-2000 |
Cameron Grant <cg@FreeBSD.org> |
change mixer api slightly change channel interface - kobj implementation coming soonish make pcm_makelinks not panic if modular add pcm_unregister()
these changes support newpcm kld unloading, but t
change mixer api slightly change channel interface - kobj implementation coming soonish make pcm_makelinks not panic if modular add pcm_unregister()
these changes support newpcm kld unloading, but this is only implemented by ds1.c
show more ...
|