History log of /freebsd/sys/dev/sound/usb/uaudio.c (Results 301 – 322 of 322)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f3ed5ebb 09-Sep-2006 Alexander Leidinger <netchild@FreeBSD.org>

Fix the check where we want to use the end of the supported range if the
value is out of the supported range.

Noticed by: Ed Schouten <ed@fxq.nl>
Reviewed by: Kazuhito HONDA <kazuhito@ph.noda.tus.ac

Fix the check where we want to use the end of the supported range if the
value is out of the supported range.

Noticed by: Ed Schouten <ed@fxq.nl>
Reviewed by: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp>

show more ...


# 448ddd74 07-Sep-2006 Scott Long <scottl@FreeBSD.org>

Catch up to USB changes.


Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0
# 9d978cc7 05-Feb-2006 Alexander Leidinger <netchild@FreeBSD.org>

Convert NULL checks into KASSERT (and move them before the first
dereferencing) since a NULL value would be a bug here.

Note: Both affected functions look very similar. A refactoring may
be benefici

Convert NULL checks into KASSERT (and move them before the first
dereferencing) since a NULL value would be a bug here.

Note: Both affected functions look very similar. A refactoring may
be beneficial.

CID: 483, 485
Found with: Coverity Prevent(tm)
Discussed with: ariff
MFC after: 5 days

show more ...


# 293b843c 29-Dec-2005 Alexander Leidinger <netchild@FreeBSD.org>

Fix some kind of "off by one"-error: the min or max sample rate the
device is able to reproduce should be usable too instead of failing
in such a case.

PR: 89269
Submitted by: Don L. Belcher <don@s

Fix some kind of "off by one"-error: the min or max sample rate the
device is able to reproduce should be usable too instead of failing
in such a case.

PR: 89269
Submitted by: Don L. Belcher <don@siad.net>

show more ...


# 1e558b7e 18-Dec-2005 Ariff Abdullah <ariff@FreeBSD.org>

Precision for AFMT_x24_yE and AFMT_x32_yE should be 24 and 32, respectively.

Submitted by: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp>


# f9dff1f9 13-Nov-2005 Alexander Leidinger <netchild@FreeBSD.org>

Add support for 24/32 bit audio formats/conversion.

It may be the case that you may hear some unwanted noise while
playing back with 24/32 bit. This is a problem in the USB system.
Explanation from

Add support for 24/32 bit audio formats/conversion.

It may be the case that you may hear some unwanted noise while
playing back with 24/32 bit. This is a problem in the USB system.
Explanation from Hans Petter Selasky:
---snip---
The current USB sound driver only uses one isochronous
buffer, that is restarted when it is completed. This will lead to a short
period of time, +1ms, where no sound data is sent to the external USB device.
Depending on the load of your computer, this can be as much as 50ms. So the
USB sound driver must use 2 isochronous transfers. At the beginning one will
queue both. Then these are restarted on completion. This will result in a
constant-rate data stream to the external sound device, a minimum sound
buffer equal to the size of the isochronous buffer, and possibly the sound
will reach your ears with less delay. Little delay is a result of constant
data rate. Currently only my USB driver will support that. If one tries that
with the USB driver in *BSD, then it will crash at the first moment one gets
a buffer underrun.
---snip---

Submitted by: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp>
Mono-recording still not tested by: julian

show more ...


Revision tags: release/6.0.0_cvs, release/6.0.0
# c61957b5 18-Sep-2005 Alexander Leidinger <netchild@FreeBSD.org>

Merge NetBSD fixes (except for 1.97 there should be no functional change):
1.94: ansify and KNF (NetBSD KNF).
1.95: Fix DPRINTF (bug from change in 1.94).
1.96: NetBSD specific.
1.97: Fix memory

Merge NetBSD fixes (except for 1.97 there should be no functional change):
1.94: ansify and KNF (NetBSD KNF).
1.95: Fix DPRINTF (bug from change in 1.94).
1.96: NetBSD specific.
1.97: Fix memory leak reported by Ted Unangst as bug #3 on tech-kern.

Obtained from: NetBSD

show more ...


# caad7408 11-Sep-2005 Alexander Leidinger <netchild@FreeBSD.org>

Fix a bug in volume calculation, this sometimes gives a USB audio device an
unexpected value (when the volume is high).

Submitted by: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp>


Revision tags: release/5.4.0_cvs, release/5.4.0
# 7f05203a 27-Apr-2005 Julian Elischer <julian@FreeBSD.org>

Add code from Kazuhito HONDA that allows the user to see
the available modes in /dev/sndstat.
e.g.
pcm1: <USB Audio> at addr ? (0p/1r/0v channels duplex)
mode 1:(input) 1ch, 16/16bit, pcm, 44

Add code from Kazuhito HONDA that allows the user to see
the available modes in /dev/sndstat.
e.g.
pcm1: <USB Audio> at addr ? (0p/1r/0v channels duplex)
mode 1:(input) 1ch, 16/16bit, pcm, 44100Hz
mode 2:(input) 1ch, 16/16bit, pcm, 22050Hz
mode 3:(input) 1ch, 16/16bit, pcm, 11025Hz
mode 4:(input) 1ch, 16/16bit, pcm, 8000Hz

show more ...


Revision tags: release/4.11.0_cvs, release/4.11.0
# 098ca2bd 06-Jan-2005 Warner Losh <imp@FreeBSD.org>

Start each of the license/copyright comments with /*-, minor shuffle of lines


# 587161d9 25-Dec-2004 Julian Elischer <julian@FreeBSD.org>

Allow selection of a recording source on USB audio devices.

PR: 75316
Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp>
Obtained from: NetBSD plus changes
MFC after: 2 we

Allow selection of a recording source on USB audio devices.

PR: 75316
Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp>
Obtained from: NetBSD plus changes
MFC after: 2 weeks

show more ...


# 65046f86 25-Dec-2004 Julian Elischer <julian@FreeBSD.org>

Allow recording on at least some USB audio devices.

PR: 75311
Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp>
Obtained from: NetBSD plus changes
MFC after: 2 weeks


# 2baaf9c2 25-Dec-2004 Julian Elischer <julian@FreeBSD.org>

Allow volume control on more channels/inputs

PR: 75276
Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp>
Obtained from: NetBSD with changes
MFC after: 2 weeks


# d28a8145 25-Dec-2004 Julian Elischer <julian@FreeBSD.org>

MFNetBSD:
One of a set of patches submitted by Kazuhito HONDA
to make the usb audio driver a lot more capable.

PR: 75274
Submitted by: Kazuhito HONDA (kazuhito at ph dot noda dot tus dot ac dot j

MFNetBSD:
One of a set of patches submitted by Kazuhito HONDA
to make the usb audio driver a lot more capable.

PR: 75274
Submitted by: Kazuhito HONDA (kazuhito at ph dot noda dot tus dot ac dot jp)
Obtained from: NetBSD (indirectly)
MFC after: 2 weeks

show more ...


# ba7cd7b6 22-Dec-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Don't include vnode.h


Revision tags: release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs
# 760e2cb0 25-Aug-2002 Bruce Evans <bde@FreeBSD.org>

Fixed editing errors in rev.1.4 which manifested as printf format errors
at compile time and probably as panics at runtime.


Revision tags: release/4.6.2_cvs, release/4.6.2
# 3b7efc56 08-Aug-2002 Josef Karthauser <joe@FreeBSD.org>

Use the hw.usb sysctl tree instead of debug.usb.

Requested by: imp


# 528d1a7f 31-Jul-2002 Josef Karthauser <joe@FreeBSD.org>

Replace the FOO_DEBUG definitions with USB_DEBUG, and switch the
debugging levels to off by default. Now that debug levels can be
tweaked by sysctl we don't need to go through hoops to get the
diffe

Replace the FOO_DEBUG definitions with USB_DEBUG, and switch the
debugging levels to off by default. Now that debug levels can be
tweaked by sysctl we don't need to go through hoops to get the
different usb parts to produce debug data.

show more ...


# 6ada40b0 31-Jul-2002 Josef Karthauser <joe@FreeBSD.org>

Make this compile with the debugging options switched on.


# 0e6b1966 31-Jul-2002 Josef Karthauser <joe@FreeBSD.org>

Get bored with hard coded debug level variables and introduce a debug.usb
sysctl tree for tweaking them real-time.

Reviewed by: iedowse


# 7c654165 22-Jul-2002 Peter Wemm <peter@FreeBSD.org>

Make this compile.
uaudio.c:1822: warning: `uaudio_ctl_get' defined but not used


# d807a231 21-Jul-2002 Nick Sayer <nsayer@FreeBSD.org>

Add uaudio -- a USB audio device driver.

This driver actually works slightly better on -stable than on -current
(the system locks on detach on -current), so it should be MFC'd somewhat
sooner.

This

Add uaudio -- a USB audio device driver.

This driver actually works slightly better on -stable than on -current
(the system locks on detach on -current), so it should be MFC'd somewhat
sooner.

This driver currently points out a difficulty in the sound device framework.
The PCM unregister routine is allowed to refuse the detach if the device is
in use. In the case of a USB device, however, this unregistration is much more
mandatory in nature, since the device is *actually* gone when this call is
made. The sound subsystem really should not refuse an unregistration and
should take its own steps to reject further I/O. As a result, if you detach
a USB sound device while it is in use, you can expect a panic shortly
thereafter.

This device cannot currently record audio. Some routines are unwritten as
of yet in uaudio.c to support recording.

This device hangs my -current box on detach. I don't know why. This does
not happen on my -stable machine.

Obtained from: Hiroyuki Aizu
MFC after: 2 weeks

show more ...


1...<<111213