* Jacob Meuser <[email protected]> [081223 15:30]:
On Tue, Dec 23, 2008 at 09:39:31AM -0700, Steven wrote:
* Jacob Meuser <[email protected]> [081223 01:30]:
On Mon, Dec 22, 2008 at 09:32:17PM -0700, Steven wrote:
Hi,
I can't seem to get any sound when I run aucat -l. In /usr/lib I
have libsndio.so.3.2 as my only libsndio.so. I've ran make
DO_AUTEST=1 and didn't get any errors.
eap0 at pci0 dev 14 function 0 "Ensoniq CT5880" rev 0x03: irq 5
ac97: codec id 0x83847608 (SigmaTel STAC9708/11)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
hmmm, another ac97 eap having problems with aucat.
just out of curiousity, can you try the following:
$ aucat -l &
$ audioctl {play,record}.block_size
$ sudo aucat -l &
$ sudo audioctl {play,record}.block_size play.block_size=8832
record.block_size=9600
hmmm ... pretty sure they should match. can you post the complete
audioctl output when aucat is running?
np.
Interesting, now I'm getting matching block sizes.
$ audioctl {play,record}.block_size
play.block_size=11776
record.block_size=11776
(these two ran after OPTS="-b 9600" make DO_AUTEST=1
and checking running process afterward show to hung
aucat servers)
$ audioctl {play,record}.block_size
play.block_size=9600
record.block_size=9600
[1] + Stopped (tty output) sudo aucat -l
$ audioctl {play,record}.block_size
play.block_size=9600
record.block_size=9600
[2] + Stopped (tty output) sudo aucat -l
(Again, after killing hung aucat servers)
$ audioctl {play,record}.block_size
play.block_size=11776
record.block_size=11776
also, there's no need to run these commands as anything other than
your regular user. I'd suggest not running aucat as root. less code
running as root is a "good thing".
No problem with that philosophy, however when I run aucat as myself
I get:
$ aucat -l &
$ unlink: Operation not permitted
Have I got something with improper permissions, or not properly
linked?
$ cd /usr/src/regress/sys/dev/audio_rw
$ OPTS="-b $BLOCKSIZE" make DO_AUTEST=1
BLOCKSIZE is the block_size from above
Out of curiosity, even though the block sizes don't match, I ran the
following:
$ OPTS="-b 8832" make DO_AUTEST=1
can you try again with '-b 9600' and also '-b 16384'?
$ OPTS="-b 9600" make DO_AUTEST=1
./audiotest_rw -o test.pcm -b 9600
./audiotest_rw -o test.pcm -d -b 9600
./audiotest_rw -o test.pcm -p -b 9600
./audiotest_rw -o test.pcm -s -b 9600
./audiotest_rw -o test.pcm -n -b 9600
./audiotest_rw -o test.pcm -p -d -b 9600
./audiotest_rw -o test.pcm -s -d -b 9600
./audiotest_rw -o test.pcm -n -d -b 9600
./audiotest_rw -i master.pcm -b 9600
./audiotest_rw -i master.pcm -d -b 9600
./audiotest_rw -i master.pcm -p -b 9600
./audiotest_rw -i master.pcm -s -b 9600
./audiotest_rw -i master.pcm -n -b 9600
./audiotest_rw -i master.pcm -p -d -b 9600
./audiotest_rw -i master.pcm -s -d -b 9600
./audiotest_rw -i master.pcm -n -d -b 9600
./audiotest_rw -i master.pcm -o test.pcm -b 9600
./audiotest_rw -i master.pcm -o test.pcm -p -b 9600
./audiotest_rw -i master.pcm -o test.pcm -s -b 9600
./audiotest_rw -i master.pcm -o test.pcm -n -b 9600
$ OPTS="-b 16384" make DO_AUTEST=1
./audiotest_rw -o test.pcm -b 16384
./audiotest_rw -o test.pcm -d -b 16384
./audiotest_rw -o test.pcm -p -b 16384
./audiotest_rw -o test.pcm -s -b 16384
./audiotest_rw -o test.pcm -n -b 16384
./audiotest_rw -o test.pcm -p -d -b 16384
./audiotest_rw -o test.pcm -s -d -b 16384
./audiotest_rw -o test.pcm -n -d -b 16384
./audiotest_rw -i master.pcm -b 16384
./audiotest_rw -i master.pcm -d -b 16384
./audiotest_rw -i master.pcm -p -b 16384
./audiotest_rw -i master.pcm -s -b 16384
./audiotest_rw -i master.pcm -n -b 16384
./audiotest_rw -i master.pcm -p -d -b 16384
./audiotest_rw -i master.pcm -s -d -b 16384
./audiotest_rw -i master.pcm -n -d -b 16384
./audiotest_rw -i master.pcm -o test.pcm -b 16384
./audiotest_rw -i master.pcm -o test.pcm -p -b 16384
./audiotest_rw -i master.pcm -o test.pcm -s -b 16384
./audiotest_rw -i master.pcm -o test.pcm -n -b 16384
--
W. Steven Schneider <[email protected]>