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


Default branch: MAIN


Revision 1.4.2.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:21 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.4: +5 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 21 06:35:44 2021 UTC (2 years, 8 months ago) by skrll
Branch: 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, 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
Changes since 1.4: +5 -3 lines
Diff to previous 1.4 (colored)

need <sys/param.h> for COHERENCY_UNIT

Minor KNF along the way.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Apr 6 17:44:29 2021 UTC (3 years ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE
Changes since 1.3: +27 -9 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

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) - annotate - [select for diffs], Sat Apr 3 22:28:43 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.3: +27 -9 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.3.12.1 / (download) - annotate - [select for diffs], Sat Apr 3 21:44:50 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.3: +27 -9 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 20 04:56:52 2021 UTC (3 years ago) by isaki
Branch: 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
Changes since 1.3: +27 -9 lines
Diff to previous 1.3 (colored)

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) - annotate - [select for diffs], Mon Apr 13 08:04:18 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.2.2.2: +95 -43 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 26 06:57:45 2019 UTC (4 years, 9 months ago) by isaki
Branch: 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
Changes since 1.2: +95 -43 lines
Diff to previous 1.2 (colored)

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) - annotate - [select for diffs], Mon Jun 10 22:07:06 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.2.2.1: +149 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Revision 1.2.2.1, Wed May 8 13:40:17 2019 UTC (4 years, 11 months ago) by christos
Branch: phil-wifi
Changes since 1.2: +0 -149 lines
FILE REMOVED

file audiobell.c was added on branch phil-wifi on 2019-06-10 22:07:06 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed May 8 13:40:17 2019 UTC (4 years, 11 months ago) by isaki
Branch: MAIN
CVS Tags: phil-wifi-20190609
Branch point for: phil-wifi
Changes since 1.1: +149 -0 lines
Diff to previous 1.1 (colored)

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) - annotate - [select for diffs], Sat May 4 07:20:09 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.1.2.1: +3 -3 lines
Diff to previous 1.1.2.1 (colored) next main 1.2 (colored)

Move dev/audio_if.h -> dev/audio/audio_if.h

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sat May 4 06:13:47 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.1: +149 -0 lines
Diff to previous 1.1 (colored)

Move dev/audiobell* -> dev/audio/audiobell*.

Revision 1.1, Sat May 4 06:13:47 2019 UTC (4 years, 11 months ago) by isaki
Branch: MAIN
Branch point for: isaki-audio2
FILE REMOVED

file audiobell.c was initially added on branch isaki-audio2.

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.




CVSweb <webmaster@jp.NetBSD.org>