dyoung
c217bc3b1d
If the device does not exist, return ENXIO, as is customary, instead of
...
ENODEV. Ok jmcneill@.
2010-01-18 23:57:14 +00:00
jmcneill
e875bf360e
PR# kern/39899: audio attach with pad(4) segfaults
...
Make sure pad pulls in auconv mulaw support.
2009-09-08 09:47:42 +00:00
jmcneill
839e47bbd7
Catch up to audio(4) device_t/softc split.
2009-09-07 18:23:06 +00:00
ad
0fa70e9b6f
'boot -z' bogons
2009-03-14 11:08:28 +00:00
christos
51a52339c8
fix device is not split warning
2008-09-04 10:42:55 +00:00
drochner
4e69f53b47
remove a KASSERT which is wrong since audio(4)'s device/softc were split
2008-08-06 16:31:15 +00:00
drochner
1f0a423884
use new "defpseudodev" where appropriate, and remove dummy interface
...
attribute definitions which were only to trick config(8)
2008-06-10 12:49:16 +00:00
tsutsui
c9a8620b99
Replace homegrown pad_find_softc() with device_lookup_private().
2008-06-08 18:14:31 +00:00
mlelstv
208ba41bb4
mutex.h is implied by condvar.h
...
param.h is required for xen
2008-06-06 20:51:51 +00:00
jmcneill
e1557cc154
Use 2-clause license.
2008-05-09 03:44:51 +00:00
cube
492d8b0d9e
Split device_t and softc for audio(4), and other related cosmetic changes.
2008-03-04 18:23:44 +00:00
dyoung
91c7d67975
Add methods to detach self and children.
2008-02-22 20:52:14 +00:00
jmcneill
4c1d81b2b5
Merge jmcneill-pm branch.
2007-12-09 20:27:42 +00:00
ad
598ab03ad0
Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written
...
for Solaris.
2007-12-05 07:06:50 +00:00
jmcneill
b6ed7a1236
Implement volume controls for pseudo audio device.
2007-11-11 19:53:38 +00:00
jmcneill
23526fe3a9
Add pseudo audio device driver. With this pseudo-device, audio played back
...
via the standard audio interfaces is redirected back to userland as raw
PCM data on /dev/padN.
One example usage is to stream audio to an AirTunes compatible device using
rtunes (http://www.nazgul.ch/dev_rtunes.html ), ie:
$ rtunes - < /dev/pad0
$ mpg123 -a /dev/sound1 blah.mp3
Another option is to capture audio output from eg. Real Player, by simply
instructing Real Player to output to /dev/sound1, and running:
$ cat /dev/pad0 > blah.pcm
2007-11-11 17:37:45 +00:00