Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0 |
|
#
38cc9942 |
| 20-Feb-2003 |
Olivier Houchard <cognet@FreeBSD.org> |
Implement a "sndbuf_getbufaddr" function and use it instead of vtophys().
Reviewed by: orion
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
9d5abbdd |
| 01-Jan-2003 |
Jens Schweikhardt <schweikh@FreeBSD.org> |
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, especially in troff files.
|
#
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 |
|
#
4408eb15 |
| 23-Aug-2002 |
Orion Hodson <orion@FreeBSD.org> |
Make sure channel buffer start is associated with channel, otherwise getptr is broken. Noise reported by Thomas Draney <tmdraney@yahoo.com> who also tested the patch.
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, 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 |
|
#
1abb0234 |
| 17-Dec-2001 |
Orion Hodson <orion@FreeBSD.org> |
Addition of sysctl variable to enable spdif. By default spdif is disabled.
MFC after: 3 days
|
#
ee1fbec1 |
| 24-Oct-2001 |
John Baldwin <jhb@FreeBSD.org> |
Change the module name from 'snd_cmipci' to 'snd_cmi' to match the filename, module name in the loader, the dependency in snd_driver.ko, and to be consistent with other sound drivers.
|
#
9b6a5708 |
| 10-Oct-2001 |
Orion Hodson <orion@FreeBSD.org> |
use pcm_getbuffersize()
|
#
a46252c6 |
| 08-Sep-2001 |
Brian Feldman <green@FreeBSD.org> |
Convert the CMedia driver to using a device mutex and INTR_MPSAFE.
|
#
167d1bcd |
| 03-Sep-2001 |
Orion Hodson <orion@FreeBSD.org> |
Fix return value of setblocksize functions. Recording is interspersed with silent intervals otherwise.
|
#
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 ...
|
#
733a4ea7 |
| 21-Jun-2001 |
George C A Reid <greid@FreeBSD.org> |
Use the M_ZERO flag to malloc(9)
Reviewed by: cg MFC after: 1 week
|
#
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 |
|
#
7370c6a6 |
| 07-Apr-2001 |
Orion Hodson <orion@FreeBSD.org> |
Quieten when re-triggering.
|
#
8b330062 |
| 04-Apr-2001 |
Orion Hodson <orion@FreeBSD.org> |
Centralize DMA buffer configuration.
Simplify initialization and remove offending DMA channel resets there. The resets trash whatever is pointed to DMA registers, but at cmi_attach() time the DMA re
Centralize DMA buffer configuration.
Simplify initialization and remove offending DMA channel resets there. The resets trash whatever is pointed to DMA registers, but at cmi_attach() time the DMA registers have not been initialized with valid addresses.
Reviewed by: Cameron Grant <gandalf@vilnya.demon.co.uk>
show more ...
|
#
417f47c4 |
| 29-Mar-2001 |
Orion Hodson <orion@FreeBSD.org> |
- Added suspend/resume support.
- Added 4 speaker enable to initialization sequence.
- Removed delays between register pokes which appear to aggravate a problem this card has sampling at 44.1kHz.
- Added suspend/resume support.
- Added 4 speaker enable to initialization sequence.
- Removed delays between register pokes which appear to aggravate a problem this card has sampling at 44.1kHz. With any form of delay, skew relative to system clock at 44.1kHz is usually in range 0-25% (now 0-3%). No other rates exhibit this problem.
- Changed structs cmi_* to sc_*.
Approved by: Cameron Grant <gandalf@vilnya.demon.co.uk>
show more ...
|
#
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 ...
|
#
bd01f3f9 |
| 21-Mar-2001 |
Orion Hodson <orion@FreeBSD.org> |
Change ordering of SPDIF register pokes. SPDIF enable needs to be the last poke in sequence. Enabling SPDIF was coercing output rate to 48K, not good for 44.1K tracks.
|
#
415dc687 |
| 05-Mar-2001 |
Cameron Grant <cg@FreeBSD.org> |
MFS: don't ignore the result of mixer_init()
|
#
ebbb7177 |
| 04-Feb-2001 |
Cameron Grant <cg@FreeBSD.org> |
add driver for CMedia CMI8338/CMI8738 sound chips
Submitted by: Orion Hodson <O.Hodson@cs.ucl.ac.uk>
|
#
7e857dd1 |
| 12-Jun-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|
#
90da2b28 |
| 07-Jun-2009 |
Ariff Abdullah <ariff@FreeBSD.org> |
Sound Mega-commit. Expect further cleanup until code freeze.
For a slightly thorough explaination, please refer to [1] http://people.freebsd.org/~ariff/SOUND_4.TXT.html .
Summary of changes includ
Sound Mega-commit. Expect further cleanup until code freeze.
For a slightly thorough explaination, please refer to [1] http://people.freebsd.org/~ariff/SOUND_4.TXT.html .
Summary of changes includes:
1 Volume Per-Channel (vpc). Provides private / standalone volume control unique per-stream pcm channel without touching master volume / pcm. Applications can directly use SNDCTL_DSP_[GET|SET][PLAY|REC]VOL, or for backwards compatibility, SOUND_MIXER_PCM through the opened dsp device instead of /dev/mixer. Special "bypass" mode is enabled through /dev/mixer which will automatically detect if the adjustment is made through /dev/mixer and forward its request to this private volume controller. Changes to this volume object will not interfere with other channels.
Requirements: - SNDCTL_DSP_[GET|SET][PLAY|REC]_VOL are newer ioctls (OSSv4) which require specific application modifications (preferred). - No modifications required for using bypass mode, so applications like mplayer or xmms should work out of the box.
Kernel hints: - hint.pcm.%d.vpc (0 = disable vpc).
Kernel sysctls: - hw.snd.vpc_mixer_bypass (default: 1). Enable or disable /dev/mixer bypass mode. - hw.snd.vpc_autoreset (default: 1). By default, closing/opening /dev/dsp will reset the volume back to 0 db gain/attenuation. Setting this to 0 will preserve its settings across device closing/opening. - hw.snd.vpc_reset (default: 0). Panic/reset button to reset all volume settings back to 0 db. - hw.snd.vpc_0db (default: 45). 0 db relative to linear mixer value.
2 High quality fixed-point Bandlimited SINC sampling rate converter, based on Julius O'Smith's Digital Audio Resampling - http://ccrma.stanford.edu/~jos/resample/. It includes a filter design script written in awk (the clumsiest joke I've ever written) - 100% 32bit fixed-point, 64bit accumulator. - Possibly among the fastest (if not fastest) of its kind. - Resampling quality is tunable, either runtime or during kernel compilation (FEEDER_RATE_PRESETS). - Quality can be further customized during kernel compilation by defining FEEDER_RATE_PRESETS in /etc/make.conf.
Kernel sysctls: - hw.snd.feeder_rate_quality. 0 - Zero-order Hold (ZOH). Fastest, bad quality. 1 - Linear Interpolation (LINEAR). Slightly slower than ZOH, better quality but still does not eliminate aliasing. 2 - (and above) - Sinc Interpolation(SINC). Best quality. SINC quality always start from 2 and above.
Rough quality comparisons: - http://people.freebsd.org/~ariff/z_comparison/
3 Bit-perfect mode. Bypasses all feeder/dsp effects. Pure sound will be directly fed into the hardware.
4 Parametric (compile time) Software Equalizer (Bass/Treble mixer). Can be customized by defining FEEDER_EQ_PRESETS in /etc/make.conf.
5 Transparent/Adaptive Virtual Channel. Now you don't have to disable vchans in order to make digital format pass through. It also makes vchans more dynamic by choosing a better format/rate among all the concurrent streams, which means that dev.pcm.X.play.vchanformat/rate becomes sort of optional.
6 Exclusive Stream, with special open() mode O_EXCL. This will "mute" other concurrent vchan streams and only allow a single channel with O_EXCL set to keep producing sound.
Other Changes: * most feeder_* stuffs are compilable in userland. Let's not speculate whether we should go all out for it (save that for FreeBSD 16.0-RELEASE). * kobj signature fixups, thanks to Andriy Gapon <avg@freebsd.org> * pull out channel mixing logic out of vchan.c and create its own feeder_mixer for world justice. * various refactoring here and there, for good or bad. * activation of few more OSSv4 ioctls() (see [1] above). * opt_snd.h for possible compile time configuration: (mostly for debugging purposes, don't try these at home) SND_DEBUG SND_DIAGNOSTIC SND_FEEDER_MULTIFORMAT SND_FEEDER_FULL_MULTIFORMAT SND_FEEDER_RATE_HP SND_PCM_64 SND_OLDSTEREO
Manual page updates are on the way.
Tested by: joel, Olivier SMEDTS <olivier at gid0 d org>, too many unsung / unnamed heroes.
show more ...
|
#
f2907a75 |
| 27-May-2009 |
Joel Dahl <joel@FreeBSD.org> |
Separate comments from the license text.
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
bad3b688 |
| 18-Jan-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Sync with head
|
#
7efe5980 |
| 18-Jan-2009 |
Giorgos Keramidas <keramida@FreeBSD.org> |
Add support for CMedia CMI120.
PR: kern/123640 Approved by: ariff MFC after: 2 weeks
|