OpenBSD CVS

CVS log for src/sys/dev/Attic/audiovar.h


[BACK] Up to [local] / src / sys / dev

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16, Thu Nov 28 00:38:50 2013 UTC (10 years, 6 months ago) by dlg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +1 -1 lines
FILE REMOVED

the stuff in audiovar.h is only used in audio.c, so move it in there to
take the temptation of using it elsewhere and fumbling with audio internals
away from the rest of the kernel.

ok mpi@ ratchov@
"if it is worth doing, just do it." deraadt@

Revision 1.15 / (download) - annotate - [select for diffs], Mon Nov 4 11:57:26 2013 UTC (10 years, 7 months ago) by mpi
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Convert wskbd_set_mixervolume() to use a task internally instead of
being called in a workq.

ok kettenis@

Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 30 02:13:53 2013 UTC (10 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

replace workqs with tasks.

ok mpi@

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 21 20:08:11 2010 UTC (13 years, 8 months ago) by jakemsr
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (colored)

change quiescing to not call the audio_hw_if halt method in interrupt
context, because drivers (like eso(4) and envy(4)) might want to sleep
in their halt method.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Sep 12 02:01:17 2010 UTC (13 years, 9 months ago) by jakemsr
Branch: MAIN
Changes since 1.11: +8 -1 lines
Diff to previous 1.11 (colored)

DVACT_{QUIESCE,RESUME} for audio(4)
DVACT_QUIESCE:
1) waits until ringbuffer current position wraps back to the start of
the buffer
2) stops playback and/or recording by way of the hardware drivers' "halt"
audio_hw_if method
3) blocks userland access to audio device
4) saves the current state of the master mute, then mutes it
DVACT_RESUME:
1) reprogram hardware stream parameters for playback or recording
if they were active at DVACT_QUIESCE by way of hardware drivers'
"set_params" audio_hw_if method
2) start playback or recording if they were active at DVACT_QUIESCE
by way of hardware drivers' "trigger" or "start" audio_hw_if method
3) restores master mute state as it was at DVACT_QUIESCE
4) wakes up blocked userland processes accessing the hardware

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 16 19:45:09 2009 UTC (15 years, 2 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.10: +1 -3 lines
Diff to previous 1.10 (colored)

first stage of removing ``copying & needfeel'' flags that
make the audio driver missing blocks and, thus, breaking
full-duplex apps.
help and ok jakemsr

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 22 11:05:31 2008 UTC (16 years, 2 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.9: +2 -3 lines
Diff to previous 1.9 (colored)

add audio(4) driver the ability to use different block sizes for play and
record modes. This makes possible to have blocks of the same duration if the
play and record formats are different. The API change is backward
compatible, so it shouldn't be noticed by current audio ports.

ok jakemsr

Revision 1.6.6.2 / (download) - annotate - [select for diffs], Fri Mar 28 00:38:09 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.6.6.1: +3 -3 lines
Diff to previous 1.6.6.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync the SMP branch with 3.3

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Tue Oct 29 00:33:23 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync to -current

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 26 16:20:04 2002 UTC (21 years, 9 months ago) by mickey
Branch: MAIN
CVS Tags: UBC_SYNC_B, UBC_SYNC_A, SMP_SYNC_B, SMP_SYNC_A, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

space cleanup; some from grendel@zeitbombe.org

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Mon May 14 22:23:00 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.6: +5 -2 lines
Diff to previous 1.6 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 24 13:44:18 2000 UTC (24 years ago) by ho
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Branch point for: UBC
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

Permit detach of audio devices, such as uaudio. Selected code
from NetBSD/Lennart Augustsson. (niklas@ ok)

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 13 00:00:08 2000 UTC (24 years, 2 months ago) by csapuntz
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)



Move min # of blocks to two to accomodate hackis neomagic driver

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 3 21:00:11 1998 UTC (25 years, 7 months ago) by downsj
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Branch point for: SMP
Changes since 1.5: +6 -6 lines
Diff to previous 1.5 (colored)

Partial sync with NetBSD, adds new trigger methods.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 26 21:03:09 1998 UTC (26 years, 1 month ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.4: +74 -57 lines
Diff to previous 1.4 (colored)

update audio from NetBSD, mostly by Lennart Augustsson <augustss@cs.chalmers.se>

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jul 10 23:06:30 1997 UTC (26 years, 11 months ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.3: +5 -0 lines
Diff to previous 1.3 (colored)

sync with NETBSD 30/3/97 + adapating aria.c

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 2 00:29:21 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

From NetBSD: sync with 960217 sources

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 27 09:43:17 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

From NetBSD: update to 960217 sources

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:52:29 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:52:29 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.