History log of /dragonfly/sys/dev/sound/pcm/sound.h (Results 1 – 25 of 33)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2
# 7d9c5de0 02-Mar-2019 Sascha Wildner <saw@online.de>

kernel/sound: Remove local KOBJMETHOD_END defines.


Revision tags: v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1
# 7968600a 21-Jul-2018 Sascha Wildner <saw@online.de>

kernel: Fix some wrong porting of *_TRYLOCK() macros.

Of these three, only CHN_TRYLOCK() is used in actual, active code,
but it is in the SNDCTL_DSP_SYNCSTART ioctl which in turn is not
used in base

kernel: Fix some wrong porting of *_TRYLOCK() macros.

Of these three, only CHN_TRYLOCK() is used in actual, active code,
but it is in the SNDCTL_DSP_SYNCSTART ioctl which in turn is not
used in base or in dports.

ARCMSR_LOCK_TRY() and PCM_TRYLOCK() are not used at all.

show more ...


Revision tags: v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc
# ffe53622 13-Dec-2017 Sascha Wildner <saw@online.de>

Remove <sys/ioccom.h> inclusion from a number of files.

<sys/ioccom.h> should only be included from header files that define
ioctls.


Revision tags: v5.0.2
# e8b301fb 17-Nov-2017 Sascha Wildner <saw@online.de>

kernel: Remove some semicolons at the end of macro definitions.


Revision tags: v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0
# 5e4edd23 19-Jun-2015 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Sync uaudio to fix clicking issue

* Sync USB audio to FreeBSD 82e528e78860c as of May 8 2015.

* Fixes clicking issues due to broken audio synchronization.

Testing-by: tm512


Revision tags: v4.0.6, v4.3.0, v4.2.0rc
# 8bd5748c 16-Apr-2015 Matthew Dillon <dillon@apollo.backplane.com>

sound - Fix default & unit specs for /dev/dsp and /dev/mixer

* /dev/dsp{0,1} was overriding the unit number and forcing the currently
set default dsp unit, so it didn't matter if you specified /de

sound - Fix default & unit specs for /dev/dsp and /dev/mixer

* /dev/dsp{0,1} was overriding the unit number and forcing the currently
set default dsp unit, so it didn't matter if you specified /dev/dsp0 or 1,
it still used hw.snd.default_unit.

* Get rid of the devfs aliasing for /dev/dsp and /dev/mixer. Instead, use
the cloner code to lookup the default dsp and default mixer when /dev/dsp
or /dev/mixer is opened.

This simplifies default handling significantly.

show more ...


Revision tags: v4.0.5, v4.0.4, v4.0.3
# 5f097292 05-Jan-2015 Matthew Dillon <dillon@apollo.backplane.com>

sound: Make device cloning work

* Some lockstatus() calls were wrong and needed to be compared
with LK_EXCLUSIVE

* The sound device caches dynamically created devices and tries
to reuse them, b

sound: Make device cloning work

* Some lockstatus() calls were wrong and needed to be compared
with LK_EXCLUSIVE

* The sound device caches dynamically created devices and tries
to reuse them, but devfs got angry if the clone code passed
it a device which was already in the filesystem namespace. devfs
had to be modified in 2c94b9eeb85c6cfa5ff918aa58ce484b27fc7c91
and eb1c7cbc9e1052820efc6b0b7a94c40a7d45b329

* The clone code was designed to clone to new unit numbers, not
clone an existing unit into multiple channels

show more ...


Revision tags: v4.0.2
# 7199971a 04-Dec-2014 François Tigeot <ftigeot@wolfpond.org>

sound: Implement hw.snd.default_unit sysctl


Revision tags: v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0
# 04e634d0 10-Aug-2014 Matthew Dillon <dillon@apollo.backplane.com>

sound: Fix pcm unit translation

Fix pcm unit translation so /dev/dspN actually maps to pcmN. Before
e.g. /dev/dsp* all mapped to pcm0.


Revision tags: v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3
# 59b2ebda 07-Jul-2012 François Tigeot <ftigeot@wolfpond.org>

sound: Create the first /dev/dsp* links

At this point the sound device can be used, albeit by only one
application at the same time.


# 9bade76f 06-Jul-2012 François Tigeot <ftigeot@wolfpond.org>

sound: Port to DragonFly - kqueue filters


# 67931cc4 12-Dec-2013 François Tigeot <ftigeot@wolfpond.org>

sound: Port to DragonFly

* Fix header includes

* Fix const and static statements

* Fix bus_setup_intr() calls

* free/malloc/printf => kfree/kmalloc/kprintf etc...

* callout_init() => callout_ini

sound: Port to DragonFly

* Fix header includes

* Fix const and static statements

* Fix bus_setup_intr() calls

* free/malloc/printf => kfree/kmalloc/kprintf etc...

* callout_init() => callout_init_mp()

* TAILQ_FOREACH_REVERSE_SAFE => _MUTABLE

* Translate locking semantics

* Remove some mtx_initialized() calls

* Do not use the mp lock unconditionally

* Do not use ce->devt->si_threadcount

* taskqueues are per-cpu in DragonFly

show more ...


# 2a1ad637 08-Jan-2015 François Tigeot <ftigeot@wolfpond.org>

sound: Import latest code from FreeBSD

* As of 1bac48ea8f21c4121f1c45311ec4f05577c58abc (SVN id r275101)
"Add bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets."

* Do not import isa, ma

sound: Import latest code from FreeBSD

* As of 1bac48ea8f21c4121f1c45311ec4f05577c58abc (SVN id r275101)
"Add bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets."

* Do not import isa, macio, sbus and usb drivers

* snd_au88x0 has been removed. According to the FreeBSD commit message, it
never even got compiled into the kernel or as a module.

* Drop the ds1, csa and maestro3 drivers due to restrictive license terms
or the need to use binary blobs. These drivers are not built by default
on FreeBSD.

show more ...


# 9d92d2f7 04-Jul-2013 Sascha Wildner <saw@online.de>

kernel/dev: Remove some #include duplicates.


# 43f215d7 10-Feb-2013 Sascha Wildner <saw@online.de>

kernel: Nuke ISA sound card support.

This removes the following modules:

snd_ad1816.ko
snd_ess.ko
snd_mss.ko
snd_sb8.ko
snd_sb16.ko
snd_sbc.ko


Revision tags: v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0
# af8f7a68 19-Aug-2009 Simon Schubert <corecode@dragonflybsd.org>

sound: add cloning with devfs


Revision tags: v2.3.2, v2.3.1, v2.2.1
# 99dd49c5 15-Apr-2009 Sascha Wildner <saw@online.de>

Fix the way <sys/ioccom.h> is included throughout our tree.

The original intention was to include it only in header files which
define ioctl codes and not in .c or .h files which include headers
tha

Fix the way <sys/ioccom.h> is included throughout our tree.

The original intention was to include it only in header files which
define ioctl codes and not in .c or .h files which include headers
that define ioctl codes.

Adjust the tree to follow this idea.

Pointed-out-by: Guy Harris <guy@alum.mit.edu>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1334>

show more ...


Revision tags: v2.2.0, v2.3.0, v2.1.1, v2.0.1
# 5a5410b8 05-Jan-2008 Simon Schubert <corecode@dragonflybsd.org>

Call selwakeup() from an MP-protected taskqueue.

Before, we would call selwakeup() from interrupt context. This
was working as long kern.intr_mpsafe == 0. selwakeup() however needs
the MP lock hel

Call selwakeup() from an MP-protected taskqueue.

Before, we would call selwakeup() from interrupt context. This
was working as long kern.intr_mpsafe == 0. selwakeup() however needs
the MP lock held, so we can't call it directly from the interrupt
when running with kern.intr_mpsafe=1.

Instead, perform the wakeup from a "bottom half" taskqueue SWI to make the
sound devices intr_mpsafe, as they claim to be.

show more ...


# cad195a6 16-Jun-2007 Matthew Dillon <dillon@dragonflybsd.org>

Update all sound code to use the snd_*() locking abstraction and sndlock_t.

Fix issues with spinlocks being held through blocking conditions (because
DragonFly spinlocks aren't FreeBSD mutexes) by r

Update all sound code to use the snd_*() locking abstraction and sndlock_t.

Fix issues with spinlocks being held through blocking conditions (because
DragonFly spinlocks aren't FreeBSD mutexes) by replacing the spinlocks
with lockmgr locks.

show more ...


# 4886ec58 16-Jun-2007 Hasso Tepper <hasso@dragonflybsd.org>

Bring in the latest sound changes from RELENG_6.

Obtained-from: FreeBSD


# 34e3e97f 14-Jun-2007 Simon Schubert <corecode@dragonflybsd.org>

Allow vchans to have their own volume control.

This means you can use two processes producing audio and change their volume
independently (if they implement mixer controls themselves).


# 558a398b 04-Jan-2007 Simon Schubert <corecode@dragonflybsd.org>

Say hello to a sound system update from FreeBSD. This includes the long
awaited Intel High Definition Audio (HDA) a.k.a. Azalia support.

The generic sound support module has been renamed to sound.k

Say hello to a sound system update from FreeBSD. This includes the long
awaited Intel High Definition Audio (HDA) a.k.a. Azalia support.

The generic sound support module has been renamed to sound.ko and the
"everything included" module is called snd_driver.ko now. Apart from
that, everything should continue working as normal, just better.

show more ...


# 1f7ab7c9 25-Oct-2006 Matthew Dillon <dillon@dragonflybsd.org>

Do a major clean-up of the BUSDMA architecture. A large number of
essentially machine-independant drivers use the structures and definitions
in machine-dependant directories that are really machine-

Do a major clean-up of the BUSDMA architecture. A large number of
essentially machine-independant drivers use the structures and definitions
in machine-dependant directories that are really machine-independant in
nature.

Split <machine/bus_dma.h> into machine-depdendant and machine-independant parts
and make the primary access run through <sys/bus_dma.h>.

Remove <machine/bus.h>, <machine/bus_memio.h> and <machine/bus_pio.h>. The
optimizations related to bus_memio.h and bus_pio.h made a huge mess,
introduced machine-specific knowledge into essentially machine-independant
drivers, and required specific #include file orderings to do their job.
They may be reintroduced in some other form later on.

Move <machine/resource.h> to <sys/bus_resource.h>. The contents of the file
is machine-independant or can be made a superset across many platforms.

Make <sys/bus.h> include <sys/bus_dma.h> and <sys/bus_resource.h> and
include <sys/bus.h> where necessary. Remove all #include's of
<machine/resource.h> and <machine/bus.h>. That is, make the BUSDMA
infrastructure integral to I/O-mapped and memory-mapped accesses to devices
and remove a large chunk of machine-specific dependancies from drivers.
bus_if.h and device_if.h are now required to be present when using <sys/bus.h>.

show more ...


# 10f3fee5 30-Apr-2006 Matthew Dillon <dillon@dragonflybsd.org>

Replace the the buffer cache's B_READ, B_WRITE, B_FORMAT, and B_FREEBUF
b_flags with a separate b_cmd field. Use b_cmd to test for I/O completion
as well (getting rid of B_DONE in the process). Thi

Replace the the buffer cache's B_READ, B_WRITE, B_FORMAT, and B_FREEBUF
b_flags with a separate b_cmd field. Use b_cmd to test for I/O completion
as well (getting rid of B_DONE in the process). This further simplifies
the setup required to issue a buffer cache I/O.

Remove a redundant header file, bus/isa/i386/isa_dma.h and merge any
discrepancies into bus/isa/isavar.h.

Give ISADMA_READ/WRITE/RAW their own independant flag definitions instead of
trying to overload them on top of B_READ, B_WRITE, and B_RAW. Add a
routine isa_dmabp() which takes a struct buf pointer and returns the ISA
dma flags associated with the operation.

Remove the 'clear_modify' argument to vfs_busy_pages(). Instead,
vfs_busy_pages() asserts that the buffer's b_cmd is valid and then uses
it to determine the action it must take.

show more ...


12