• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
multitask with fread?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Cocoa Wantabe - need compression and encryption
  • Next by Date: Re: Add a function to NSTextField like NSComBox's complete
  • Previous by thread: Re: resetting bindings
  • Next by thread: Paragraph width and styled attributed strings
  • Index(es):
    • Date
    • Thread