Problem using dmix on a embedded system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 

I have that print error when I try to use dmix with aplay.

I try: 

aplay -D plug:dmix somelittlewavfile.wav

Output error (using strace):


SYS_299(0x56a4d5, 0x1, 0x3b0, 0xffffffff, 0x26d00) = 2293760
SYS_300(0x230000, 0, 0x102, 0xbe95b610, 0) = 0
SYS_300(0x230000, 0, 0x101, 0xbe95b610, 0) = 0
SYS_298(0x230000, 0xbe95b64c, 0x2, 0x10, 0) = -1 EFBIG (File too large)

(repeated 10 times)


Does someone know what really mean EFBIG (File too large) since the wav file I
try to open is about 16.7kb. 

And just before SYS_xxx, I have that output (using strace):

read(3, "root:x:0:\naudio:x:17:root\ndaemon"..., 4096) = 206
close(3)

I'm using alsa 1.0.15 on Linux Kernel 2.6.24.

The normal output error of aplay using -D plug:dmix is:

aplay: main:546: audio open error: Operation not permitted

Note that's works if I don't use -D plug:dmix... 

My ulimit output:

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 512
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 512
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


Someone has an idea about what is my problem? Maybe someone has a way to dive
more deeply to really know what is behind EFBIG (File too large) ?


Thank you!

Simon


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux