[nas] native alsa bottom-end
Jon Trulson
jon at radscan.com
Fri May 12 18:12:10 MDT 2006
On Fri, 12 May 2006, Paul Fox wrote:
> i wrote:
> > ... currently i'm having a very odd problem where i
> > can play sounds via nasd just fine, but can't control the volume.
>
>
> okay, i've done some stracing, and it looks a lot like nasd isn't
> actually _doing_ anything when it gets the command. i've put strace
> output below. i had debug set to 9, so the output's a little messy.
> but i don't see any ioctl calls that represent the "set device 1 gain 50"
> operation i did with auctl. (note: i currently have the daemon
> set to release the device. it doesn't work either way.)
>
> anyone else seen this type of thing?
>
> paul
>
> select(128, [0 1], NULL, NULL, NULL) = 1 (in [0])
> gettimeofday({1147477219, 708034}, NULL) = 0
> accept(0, 0, NULL) = 4
> getpeername(4, {sa_family=AF_INET, sin_port=htons(4682), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
> setsockopt(4, SOL_TCP, TCP_NODELAY, [1], 4) = 0
> fcntl64(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
> select(128, [0 1 4], NULL, NULL, NULL) = 1 (in [4])
> read(4, "l\0\2\0\2\0\0\0\0\0\34\10", 4092) = 12
> writev(4, [{"\1\0\2\0\2\0K\0\1\0\0\0\0\0@\0\377\377?\0\210\23D\254*"..., 308}], 1) = 308
> select(128, [0 1 4], NULL, NULL, NULL) = 1 (in [4])
> read(4, "\3\0\r\0\"\0\0\0\0\0\10\0\1\0\0\0\220\254\217\277\310\244"..., 4096) = 56
> writev(4, [{"\1\0\2\0\0\0\0\0\355\255\4\10()\7\10\4\0\0\0\0\0\0\0\300"..., 32}], 1) = 32
> select(128, [0 1 4], NULL, NULL, NULL) = 1 (in [4])
> read(4, "!\0\1\0", 4096) = 4
> writev(4, [{"\1\0\3\0\0\0\0\0\0\0\0\0()\7\10\4\0\0\0\1\0\0\0\3001\305"..., 32}], 1) = 32
> select(128, [0 1 4], NULL, NULL, NULL) = 1 (in [4])
> read(4, "", 4096) = 0
> close(4) = 0
Looks like it saw the proto and promptly ignored it. Was there an
active flow at the time? I believe that is a requirement before the
device will be opened, if ReleaseDevice is enabled.
--
Jon Trulson mailto:jon at radscan.com
ID: 1A9A2B09, FP: C23F328A721264E7 B6188192EC733962
PGP keys at http://radscan.com/~jon/PGPKeys.txt
#include <std/disclaimer.h>
"I am Nomad." -Nomad
More information about the Nas
mailing list