OpenBSD CVS

CVS log for src/sys/sys/audioio.h


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Wed Sep 14 06:12:20 2016 UTC (7 years, 8 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, HEAD
Changes since 1.26: +0 -16 lines
Diff to previous 1.26 (colored)

Remove drain(), query_encoding(), mappage() and get_default_params()
methods from all audio drivers and from the audio_if structure as they
are never called.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Aug 31 07:22:43 2016 UTC (7 years, 9 months ago) by ratchov
Branch: MAIN
Changes since 1.25: +3 -91 lines
Diff to previous 1.25 (colored)

Delete unused ioctls and associated macros. Move macros that are still
used internally by low-level drivers from sys/audioio.h to
dev/audio_if.h instead of deleting them.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jun 18 07:59:30 2016 UTC (7 years, 11 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.24: +11 -0 lines
Diff to previous 1.24 (colored)

Add a new AUDIO_GETSTATUS ioctl to get various audio driver variables.
It's intended for use with diagnostic tools (like audioctl) and is of
no use to audio programs.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 16 06:46:39 2016 UTC (8 years, 2 months ago) by ratchov
Branch: MAIN
Changes since 1.23: +24 -0 lines
Diff to previous 1.23 (colored)

Expose new audio ioctls that do one thing only: start and stop DMA,
set and get parameters. This is much simpler.

ok semarie, armani, tweaks from jmc

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jul 28 20:45:02 2015 UTC (8 years, 10 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.22: +9 -1 lines
Diff to previous 1.22 (colored)

Add the AUDIO_GETPOS ioctl() to fetch a snapshot of the 4 counters
returned by AUDIO_GETxOFFS and AUDIO_xERROR ioctls.

ok deraadt

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jun 25 06:43:46 2015 UTC (8 years, 11 months ago) by ratchov
Branch: MAIN
Changes since 1.21: +7 -60 lines
Diff to previous 1.21 (colored)

Reimplement the audio driver in a simpler way, removing unused/unusable
functionality. Same API and ABI except for the removed bits and no
behaviour change for programs using libsndio. With help from armani@
and mpi@, thanks.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jul 15 03:43:12 2010 UTC (13 years, 10 months ago) by jakemsr
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, 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, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.20: +5 -1 lines
Diff to previous 1.20 (colored)

add two new members to structs audio_encoding and audio_prinfo.
for both structs, the new members are 'bps' and 'msb', which
describe the number of bytes per sample and data alignment in the
sample, respectively.  drivers must properly set these fields in
the 'query_encoding', 'set_parameters' and 'get_default_params'
hardware interface methods.

discussed with ratchov, deraadt

Revision 1.20 / (download) - annotate - [select for diffs], Sun Nov 16 23:36:54 2008 UTC (15 years, 6 months ago) by jakemsr
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)


shorten "headphones" to "hp" and "speaker" to "spkr".  avoids mixer
item name truncation in azalia and possibly other devices.

ok ratchov

warning: if you have a mixerctl.conf(5), it probably needs to be
updated.

Revision 1.19 / (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_4_BASE, OPENBSD_4_4
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Wed Oct 3 21:49:13 2007 UTC (16 years, 8 months ago) by jakemsr
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.17: +11 -1 lines
Diff to previous 1.17 (colored)


add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and the
data structure these ioctls use, audio_bufinfo.

these ioctls return information about the play and record buffers
into the audio_bufinfo structure.

these are being added to aid in porting non-native audio applications
and libraries, and to fix issues in our OSS audio emulation.  these
ioctls exist only on OpenBSD and should not be used in code intended
for distribution.

ok ratchov

Revision 1.17 / (download) - annotate - [select for diffs], Mon Sep 17 13:46:11 2007 UTC (16 years, 8 months ago) by jakemsr
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

implement the output_muted member of audio_info_t as found in original
Sun audio.

input from and ok ratchov

Revision 1.16 / (download) - annotate - [select for diffs], Wed Dec 14 13:59:04 2005 UTC (18 years, 6 months ago) by fgsch
Branch: MAIN
CVS Tags: 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
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

some codecs have an external amplifier, and in some hw the bit to powering
it down seems to be inverted, so rather than guessing or workaround this,
add a extamp var so it can be toggled in userland via mixerctl(1).
audio works in hp nx6125 now; tested by todd@, mickey@ ok.

Revision 1.10.6.4 / (download) - annotate - [select for diffs], Thu Feb 19 11:01:32 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.10.6.3: +2 -2 lines
Diff to previous 1.10.6.3 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jan 31 17:00:50 2004 UTC (20 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, 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
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

typo from Jared Yanovich;

Revision 1.10.6.3 / (download) - annotate - [select for diffs], Wed Oct 31 03:30:30 2001 UTC (22 years, 7 months ago) by nate
Branch: SMP
Changes since 1.10.6.2: +7 -1 lines
Diff to previous 1.10.6.2 (colored) to branchpoint 1.10 (colored)

Sync the SMP branch to something just after 3.0

Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 24 16:27:20 2001 UTC (22 years, 7 months ago) by mickey
Branch: MAIN
CVS Tags: UBC_SYNC_B, UBC_SYNC_A, UBC_BASE, UBC, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.13: +7 -1 lines
Diff to previous 1.13 (colored)

add mpeg_l3 encodings (after l1 and l2), define strings for center, depth, lfe

Revision 1.10.6.2 / (download) - annotate - [select for diffs], Wed Jul 4 11:00:12 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.10.6.1: +6 -6 lines
Diff to previous 1.10.6.1 (colored) to branchpoint 1.10 (colored)

Merge in -current from two days ago in the SMP branch.
As usual with merges, they do not indicate progress, so do not hold
your breath for working SMP, and do not mail me and ask about the
state of it.  It has not changed.  There is work ongoing, but very, very
slowly.  The commit is done in parts as to not lock up the tree in too
big chunks at a time.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 22 14:10:59 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored)

KNF

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

merge in approximately 2.9 into SMP branch

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 28 09:45:26 2001 UTC (23 years, 4 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Add a field to mixer_devinto_t that indicates the minimum delta to change
mixer value. A value of 0 indicates that the driver doesn't supply a delta.
The change is backwards compatible. From NetBSD (needed for uaudio(4) update).

Revision 1.11 / (download) - annotate - [select for diffs], Tue Apr 25 23:33:58 2000 UTC (24 years, 1 month ago) by csapuntz
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)



Add AudioNvideo

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 28 17:58:43 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.9: +4 -2 lines
Diff to previous 1.9 (colored)

Add a couple of names from NetBSD

Revision 1.9 / (download) - annotate - [select for diffs], Sun Aug 16 17:01:02 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

change seek to int

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 2 11:01:11 1998 UTC (26 years ago) by provos
Branch: MAIN
Changes since 1.7: +9 -11 lines
Diff to previous 1.7 (colored)

update from NetBSD, #define a few more useful strings. augustss.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Apr 26 21:03:17 1998 UTC (26 years, 1 month ago) by provos
Branch: MAIN
Changes since 1.6: +101 -36 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jul 11 22:24:32 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.5: +3 -3 lines
Diff to previous 1.5 (colored)

cosmetic changes; netbsd

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 21 22:31:28 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

partial sync with netbsd 960418, more to come

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 18 21:40:43 1996 UTC (28 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.3: +10 -2 lines
Diff to previous 1.3 (colored)

Merge of NetBSD 960317

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 3 12:11:22 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

From NetBSD: 960217 merge

Revision 1.2 / (download) - annotate - [select for diffs], Sat Mar 2 22:42:56 1996 UTC (28 years, 3 months ago) by mickey
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

from NetBSD: audio now compiles.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:53:25 1995 UTC (28 years, 7 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:53:25 1995 UTC (28 years, 7 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.