multitask with fread?
multitask with fread?
- Subject: multitask with fread?
- From: "Emmanuel Verlynde" <email@hidden>
- Date: Thu, 15 Jul 2004 17:47:24 +0200
- Organization: Opendisc
I use fread() or AudioFileReadByte() to read data from a file located on a
cdrom
and this calls stop other thread from my application???
It's normal??
*** Thread 1
"Play Buffer 1" when is empty swap to buffer 2 (signal thread2 to fill
buffer1),
"Play Buffer 2" when is empty swap to buffer 1(signal thread2 to fill
buffer2),
"Play Buffer 1"...
Pause if buffer 1 & 2 are empty
*** Thread 2
"Fill empty Buffer signaled" (400ko)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.