Show
Ignore:
Timestamp:
02/19/10 21:07:32 (2 years ago)
Author:
gbooker
Message:

Moved the setting of the SPDIF device to initiate playback since this is after the controller has a chance to set the pref instead of before.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/PlayerFramework/CommonMediaPlayer/Media Players/DVD Framework/CMPDVDPlayerController.m

    r1149 r1151  
    167167                passthroughValue = kCFBooleanTrue; 
    168168         
    169         CFPreferencesSetAppValue(CFSTR("engageCAC3Device"), passthroughValue, CFSTR("com.cod3r.ac3passthroughdevice")); 
     169        CFStringRef devDomain = CFSTR("com.cod3r.ac3passthroughdevice"); 
     170        CFPreferencesSetAppValue(CFSTR("engageCAC3Device"), passthroughValue, devDomain); 
     171        CFPreferencesAppSynchronize(devDomain); 
    170172} 
    171173