]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
add more error checking to open of /dev/dsp* and /dev/audio* - if the
authorCameron Grant <cg@FreeBSD.org>
Wed, 23 Jan 2002 04:44:03 +0000 (04:44 +0000)
committerCameron Grant <cg@FreeBSD.org>
Wed, 23 Jan 2002 04:44:03 +0000 (04:44 +0000)
commit095159ecd18c645d4dcd72d0924a9c43b982debf
tree7da40118a6bd47bb278b48d53b117308706bdeb8
parent1c72c53f4ecb3b031debb3166f56f4e7bf729731
add more error checking to open of /dev/dsp* and /dev/audio* - if the
default format for the chosen subdevice cannot be obtained return an error
instead of returning success with an indeteterminate format selected.

note that this should never happen once the feederchain builder works for
recording.
sys/dev/sound/pcm/dsp.c