1) Release the resource lock by calling hdhomerun_device_tuner_lockkey_release(), then call
hdhomerun_device_selector_choose_and_lock() to find and lock an available tuner.
2) Refresh the existing lock by calling hdhomerun_device_tuner_lockkey_request(). If the
application still holds the resource lock the request function will return success (1). If the lock has
been lost at some point but the tuner is available the request function will reacquire the lock and
return success (1). If the lock as been lost at some point and the tuner is now locked by another
host the request function will return busy (0). In this situation the application should call
hdhomerun_device_tuner_lockkey_release() to release the local lock state and call
hdhomerun_device_selector_choose_and_lock() to find another tuner.
Comentarios a estos manuales