[Please Cc: replies to me, I'm not subscribed to debian-user]

I'm having problems using alsaplayer. For some reason, everything works
perfectly as root, but when I try to run it under a non-root user, it
fails with the following:

Unavailable hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (362 743039)
PERIOD_SIZE: [16 32768]
PERIOD_BYTES: [64 131072]
PERIODS: (0 2048]
BUFFER_TIME: (1451 743039)
BUFFER_SIZE: [64 32768]
BUFFER_BYTES: [256 131072]
TICK_TIME: 10000
failed to configure output device...trying OSS
Unavailable hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (362 743039)
PERIOD_SIZE: [16 32768]
PERIOD_BYTES: [64 131072]
PERIODS: (0 2048]
BUFFER_TIME: (1451 743039)
BUFFER_SIZE: [64 32768]
BUFFER_BYTES: [256 131072]
TICK_TIME: 10000
failed to configure output device...trying OSS
error on set_period_size (0)
error on set_period_size (0)



The thing is, said user already belongs to group 'audio', and I've checked
that /dev/snd/* and /dev/sound/* are all writable by audio. (I use DevFS.)
Furthermore, alsamixer works under said user without any problems, and
even aplay works. I don't understand why alsaplayer doesn't. I think I
must be missing something obvious. Any ideas?

Any help would be greatly appreciated.


T

-- 
The design document is what the program should do. The source code is what
the program actually does. On a good day, they might actually resemble each
other...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to