The NetBSD Project

CVS log for src/sys/dev/audio/audiobell.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / audio

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:21 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +5 -3 lines
Sync with HEAD.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jul 21 06:35:44 2021 UTC (3 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -3 lines
need <sys/param.h> for COHERENCY_UNIT

Minor KNF along the way.

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 6 17:44:29 2021 UTC (3 years, 8 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +27 -9 lines
Pull up following revision(s) (requested by isaki in ticket #1241):

	sys/dev/audio/audiobell.c: revision 1.4

Fix and improve the buffer length calculation to avoid zero length
even if blk_ms is small.

This fixes PR kern/56059.

Revision 1.3.10.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:43 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +27 -9 lines
Sync with HEAD.

Revision 1.3.12.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 21:44:50 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +27 -9 lines
Sync with HEAD.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Mar 20 04:56:52 2021 UTC (3 years, 8 months ago) by isaki
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +27 -9 lines
Fix and improve the buffer length calculation to avoid zero length
even if blk_ms is small.
This fixes PR kern/56059.

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:18 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +95 -43 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jun 26 06:57:45 2019 UTC (5 years, 5 months ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex, thorpej-cfargs, netbsd-9
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +95 -43 lines
Improve audiobell (and interfaces with audio).
- Generate pseudo sine wave if possible.  It may improve timbre.
  If it cannot represent a sine wave, it falls back to a triangular
  wave or a rectangular wave.
- Volume adjustment.
- Calculate playback frequency based on mixer frequency.
  Now audiobellopen() initializes playback parameters other than
  sample_rate, and new audiobellsetrate() sets sample_rate.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:06 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +149 -0 lines
Sync with HEAD

Revision 1.2.2.1
Wed May 8 13:40:17 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.2: +0 -149 lines
file audiobell.c was added on branch phil-wifi on 2019-06-10 22:07:06 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed May 8 13:40:17 2019 UTC (5 years, 7 months ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20190609
Branch point for: phil-wifi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +149 -0 lines
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly.  Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism.  The encoding/channels/frequency
  conversions are completely handled in the upper layer.  So the hard-
  ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
  - Obsoletes query_encoding and add query_format instead.
  - Obsoletes set_params and add set_format instead.
  - Remove drain, setfd, mappage.
  - The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c         -> dev/audio/audio.c (rewritten)
- dev/audiovar.h      -> dev/audio/audiovar.h
- dev/audio_dai.h     -> dev/audio/audio_dai.h
- dev/audio_if.h      -> dev/audio/audio_if.h
- dev/audiobell.c     -> dev/audio/audiobell.c
- dev/audiobellvar.h  -> dev/audio/audiobellvar.h
- dev/mulaw.[ch]      -> dev/audio/mulaw.[ch] + dev/audio/alaw.c

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat May 4 07:20:09 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.1.2.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +3 -3 lines
Move dev/audio_if.h -> dev/audio/audio_if.h

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Sat May 4 06:13:47 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +149 -0 lines
Move dev/audiobell* -> dev/audio/audiobell*.

Revision 1.1
Sat May 4 06:13:47 2019 UTC (5 years, 7 months ago) by isaki
Branches: MAIN
Branch point for: isaki-audio2
FILE REMOVED
file audiobell.c was initially added on branch isaki-audio2.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>