| Previous | Next |
| MF_E_NO_VIDEO_SAMPLE_AVAILABLE | MF_E_AUDIO_PLAYBACK_DEVICE_IN_USE |
MF_E_NO_AUDIO_PLAYBACK_DEVICE
MF_E_NO_AUDIO_PLAYBACK_DEVICE is an endpoint-selection failure in the playback path. The Media Foundation Streaming Audio Renderer (SAR) always renders through an audio rendering endpoint such as speakers or headphones.
Inspect the endpoint chosen for the SAR
- If the application selects a device explicitly, enumerate rendering endpoints with the MMDevice API, record the
IMMDeviceID, and compare it withMF_AUDIO_RENDERER_ATTRIBUTE_ENDPOINT_ID. - If the application selects by role, record
MF_AUDIO_RENDERER_ATTRIBUTE_ENDPOINT_ROLE. Role assignments can be changed by the user. - If neither endpoint ID nor role is configured, remember that SAR uses the device assigned to the
eConsolerole.
The endpoint ID and endpoint role attributes are mutually exclusive. A stale saved ID, no active render endpoints, and a changed default role are therefore different diagnostic cases. Check the exact renderer attributes and a fresh endpoint enumeration before changing the audio decoder or media type. The renderer cannot output PCM to hardware when no suitable rendering endpoint can be selected.
Microsoft: Streaming Audio Renderer · Microsoft: audio renderer attributes · Microsoft: MFCreateAudioRenderer
Looking for a different code? Search another status or error code.