MP3-plugin problems with slow cpu

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

 



Stefan Huelswitt wrote:
> On 24 Jul 2005 Martin Cap <macap20001@xxxxxxxxxxxxx> wrote:
> 
> The code actually is:
> 
> do { 
>    r=read(fd,buffer+fill,MP3FILE_BUFSIZE-fill);
>    } while(r==-1 && errno==EINTR);
> 
> The return code for a unsatisfied read request in non-blocking
> mode is EAGAIN.
> 

Exactly.

> But normaly the plugin uses mmap() to read the file (if you
> haven't disabled this by intent), so that the code part you
> mentioned isn't used at all.

Hu ! I haven't changed anything the first time I compiled and ran the 
plugin and it did not work then. How could this happen ?
I will have to check this first.
Thanks for your help so far and I'll get back to this later this evening.


-- 
---
Regards,
Martin Cap



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux