[prev in list] [next in list] [prev in thread] [next in thread] 

List:       alsaplayer-devel
Subject:    Re: [Alsaplayer-devel]alsaplayer sometimes forgets to play
From:       Frank Baumgart <godot () uni-paderborn ! de>
Date:       2004-04-23 15:13:31
Message-ID: 4089329B.10006 () uni-paderborn ! de
[Download RAW message or body]

> Is it really not guaranteed that alsaplayer will think it's playing by
> the time ap_add_and_play returns?

Please check with the code, at least I would expect this behaviour.
Otherwise, think of the following scenarios:
You want to play some file
- over http and your modem has to dial up first
- from CD-ROM which has to spin up first

Of course, you would not want the call to block on that.

So, the real drawback is (once again...) that alsaplayer does not sport
a notification mechanism which requires your application to poll.

Patches welcome ;-)

Frank

_______________________________________________
alsaplayer-devel mailing list
alsaplayer-devel@lists.tartarus.org
http://lists.tartarus.org/mailman/listinfo/alsaplayer-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic