Revision tags: release/4.0.0_cvs |
|
#
45248baa |
| 26-Jan-2000 |
Cameron Grant <cg@FreeBSD.org> |
handle simplex devices right
|
#
898cb2af |
| 10-Jan-2000 |
Cameron Grant <cg@FreeBSD.org> |
make dsp_read() assert that it has a read channel, not a write channel
Submitted by: green
|
#
a0b57fb7 |
| 29-Dec-1999 |
Cameron Grant <cg@FreeBSD.org> |
- latest 2ndbuffer patch - make chn_setdir work for rec on isa cards - note: es1371 does not irq in smp
Submitted by: tanimura
|
Revision tags: release/3.4.0_cvs |
|
#
5f070b67 |
| 13-Dec-1999 |
Cameron Grant <cg@FreeBSD.org> |
more dma underrun fixes, using a per-channel 2nd buffer
Submitted by: tanimura
|
#
0927bf43 |
| 12-Dec-1999 |
Cameron Grant <cg@FreeBSD.org> |
move channel-swapping support to the hardware driver since it knows the card state best
|
#
0e25481f |
| 05-Dec-1999 |
Cameron Grant <cg@FreeBSD.org> |
fix dma underrun issues mutate some panics to kasserts add more spl protection
PR: kern/14990 Partially Submitted by: Vladimir N.Silyaev <vns@delta.odessa.ua> Reviewed by: dfr
|
#
4d25c041 |
| 30-Nov-1999 |
Alfred Perlstein <alfred@FreeBSD.org> |
tanimura implemented SNDCTL_DSP_GETODELAY for pcm.
Submitted by: tanimura
|
#
ef9308b1 |
| 20-Nov-1999 |
Cameron Grant <cg@FreeBSD.org> |
repo-copied to make way for newmidi, this commit updates include paths
|
#
62c631ed |
| 13-Nov-1999 |
Doug Rabson <dfr@FreeBSD.org> |
* Ignore the wierd fakechan workarounds for simplex in dsp_ioctl(). Without this, ioctl commands for setting formats and speeds were essentially ignored for simplex devices until the application
* Ignore the wierd fakechan workarounds for simplex in dsp_ioctl(). Without this, ioctl commands for setting formats and speeds were essentially ignored for simplex devices until the application actually performed a read or write. * Make sure that both channels are set in the SB mixer code and provide a mixer table specifically for the ess18xx which supports the extended accuracy available on this part. * Fix a stupid bug in ess_format() which ignored the passed-in format and changed the hardware based on the value which was set last time. This meant that the hardware setting was often not set correctly at all. * Add a custom identify driver for the ESS1888 which automagically detects and adds the device in a pseudo-PnP way. This driver also emits the magic sequence which enables the sound hardware after a hard reset, allowing it to work correctly for the sound hardware of a PWS 433au (and probably all other PWS class alpha machines).
With these changes, I was able to play back simple sounds on my 433au. I have not tested recording or any other formats other than 8bit ulaw and 16bit stereo.
show more ...
|
#
35e6a54a |
| 07-Nov-1999 |
Seigo Tanimura <tanimura@FreeBSD.org> |
Conserve stereo mode in ioctl SNDCTL_DSP_SETFMT.
PR: 14372 Submitted by: Mattias Pantzare <pantzer@ludd.luth.se>, Ville-Pertti Keinonen <will@iki.fi>
|
#
5b78a734 |
| 28-Sep-1999 |
Cameron Grant <cg@FreeBSD.org> |
* add a non-reset device- will not reset the channel on open. you will have to mknod yourself for now. * don't eat the first write() * partial rvplayer fix- don't panic on unaligned writes unless
* add a non-reset device- will not reset the channel on open. you will have to mknod yourself for now. * don't eat the first write() * partial rvplayer fix- don't panic on unaligned writes unless our feeder chain requires them for downconversion. a fuller fix is on the way.
show more ...
|
#
fc809073 |
| 19-Sep-1999 |
Peter Wemm <peter@FreeBSD.org> |
Fix the "dsp sync" debugging printf that was unconditional. Fix a few formatting nits/glitches/whatever.
|
Revision tags: release/3.3.0_cvs |
|
#
4a848083 |
| 04-Sep-1999 |
Cameron Grant <cg@FreeBSD.org> |
bugfix: deallocate channels properly if no read/write ops between open/close
|
#
53c5a968 |
| 01-Sep-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
987e5972 |
| 01-Sep-1999 |
Cameron Grant <cg@FreeBSD.org> |
say hello to newpcm. it is not yet enabled, requiring new pnp code from dfr to compile successfully. further details will be provided in the commit enabling newpcm.
|
#
42d008a1 |
| 27-Mar-2010 |
Alexander Motin <mav@FreeBSD.org> |
Fix lock leakage.
PR: kern/145081
|
#
b7d561a3 |
| 12-Jan-2010 |
Alexander Motin <mav@FreeBSD.org> |
Make OSS_GETVERSION ioctl supported also for DSP devices, same as 4Front and Linux do.
MFC after: 1 month
|
#
2fdb5f0b |
| 12-Jan-2010 |
Alexander Motin <mav@FreeBSD.org> |
Make OSS_GETVERSION ioctl really work. It has 'M' group, not 'P', as different nearby ones, and was grabbed by MIXER_xxx() handler.
While there, replace '(cmd & MIXER_xxx(0)) == MIXER_xxx(0)' expres
Make OSS_GETVERSION ioctl really work. It has 'M' group, not 'P', as different nearby ones, and was grabbed by MIXER_xxx() handler.
While there, replace '(cmd & MIXER_xxx(0)) == MIXER_xxx(0)' expressions with more correct '(cmd & ~0xff) == MIXER_READ(0)'. Use of bit operations to compare numeric fields doesn't looks sane.
MFC after: 1 month
show more ...
|
#
9199c09a |
| 06-Jan-2010 |
Warner Losh <imp@FreeBSD.org> |
Merge from head at r201628.
# This hasn't been tested, and there are at least three bad commits # that need to be backed out before the branch will be stable again.
|
#
cfd7bace |
| 29-Dec-2009 |
Robert Noland <rnoland@FreeBSD.org> |
Update d_mmap() to accept vm_ooffset_t and vm_memattr_t.
This replaces d_mmap() with the d_mmap2() implementation and also changes the type of offset to vm_ooffset_t.
Purge d_mmap2().
All driver m
Update d_mmap() to accept vm_ooffset_t and vm_memattr_t.
This replaces d_mmap() with the d_mmap2() implementation and also changes the type of offset to vm_ooffset_t.
Purge d_mmap2().
All driver modules will need to be rebuilt since D_VERSION is also bumped.
Reviewed by: jhb@ MFC after: Not in this lifetime...
show more ...
|
#
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 ...
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
609c69b7 |
| 10-Jan-2009 |
Alexander Motin <mav@FreeBSD.org> |
Make devnode include full device path. This makes OSSv4 osstest tool work.
|
#
ccaaa745 |
| 10-Jan-2009 |
Alexander Motin <mav@FreeBSD.org> |
Remove debug slipped with the previous commit.
|
#
52f6e09e |
| 10-Jan-2009 |
Alexander Motin <mav@FreeBSD.org> |
Import some new constants and structures fields from OSSv4. Implement some OSSv4 ioctls to make ossinfo tool work and print something reasonable.
|