The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Apr 20 05:38:40 2024 UTC (12 months, 1 week ago) by isaki
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Fix typo in comment.

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

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jul 21 06:35:44 2021 UTC (3 years, 9 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, netbsd-10-base, netbsd-10-1-RELEASE, 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
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -2 lines
need <sys/param.h> for COHERENCY_UNIT

Minor KNF along the way.

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:03 2020 UTC (5 years 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: +2 -9 lines
Merge changes from current as of 20200406

Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:30 2020 UTC (5 years, 3 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +2 -9 lines
Sync with head.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jan 11 04:06:13 2020 UTC (5 years, 3 months ago) by isaki
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -9 lines
Remove old debug #ifdefs.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:06 2019 UTC (5 years, 10 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: +406 -0 lines
Sync with HEAD

Revision 1.2.2.1
Wed May 8 13:40:17 2019 UTC (5 years, 11 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.2: +0 -406 lines
file linear.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, 11 months ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, ad-namecache-base
Branch point for: phil-wifi, ad-namecache
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +406 -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.1: download - view: text, markup, annotated - select for diffs
Sun Apr 21 04:28:59 2019 UTC (6 years ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +406 -0 lines
Reimplement audio subsystem.
http://mail-index.netbsd.org/tech-kern/2019/04/01/msg024944.html
At first step, audio and devices tightly coupled to audio.
 audio.c -> dev/audio.c: completely rewritten.
 mulaw.c -> audio/mulaw.c, audio/alaw.c: improve quality.
 audiovar.h, mulaw.h: should be removed.
 audio/linear.c: efficient new linear-linear converter.
 auconv.[ch]: should be removed but need some functions for now.
 aurateconv, auvolconv: removed (new audio.c handles it).
 audiobell.c: efficient and small new bell driver.
 audiobelldata.h: removed 4KB sine wave data.
 pad/pad.c: catch up audio, but not cloneable for now.

Revision 1.1
Sun Apr 21 04:28:59 2019 UTC (6 years ago) by isaki
Branches: MAIN
Branch point for: isaki-audio2
FILE REMOVED
file linear.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>