|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
UPDATE: I have things working well on OS X 10.5 using the following approach to raise my audio pull pthread to a realtime-like thread: struct sched_param p; p.sched_priority = sched_get_priority_max(SCHED_FIFO); if(pthread_setschedparam(pthread_self(), SCHED_FIFO, &p)) ServerLoger->MakeEntry("Failed to set thread priority."); On OS X 10.4 however, the sent audio is very broken up. The pthread_setschedparam call is not returning an error however, so I don't know what is different in the pthread library between the OS versions. It appears as if 10.4 is just ignoring the thread schedule change. Any ideas? Thanks, Ethan... |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| References: | |
| >Quasi-realtime threads (From: Ethan Funk <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.