Commit 30f3a61a authored by Alexandre Julliard's avatar Alexandre Julliard

faudio: Fix a few printf formats.

parent 54ae2640
...@@ -1096,7 +1096,7 @@ static HRESULT FAudio_WMAMF_ProcessInput( ...@@ -1096,7 +1096,7 @@ static HRESULT FAudio_WMAMF_ProcessInput(
copy_size = min(buffer->AudioBytes - impl->input_pos, impl->input_size); copy_size = min(buffer->AudioBytes - impl->input_pos, impl->input_size);
if (!copy_size) return S_FALSE; if (!copy_size) return S_FALSE;
LOG_INFO(voice->audio, "pushing %x bytes at %x", copy_size, impl->input_pos); LOG_INFO(voice->audio, "pushing %lx bytes at %Ix", copy_size, impl->input_pos);
hr = MFCreateSample(&sample); hr = MFCreateSample(&sample);
FAudio_assert(!FAILED(hr) && "Failed to create sample!"); FAudio_assert(!FAILED(hr) && "Failed to create sample!");
...@@ -1124,7 +1124,7 @@ static HRESULT FAudio_WMAMF_ProcessInput( ...@@ -1124,7 +1124,7 @@ static HRESULT FAudio_WMAMF_ProcessInput(
if (hr == MF_E_NOTACCEPTING) return S_OK; if (hr == MF_E_NOTACCEPTING) return S_OK;
if (FAILED(hr)) if (FAILED(hr))
{ {
LOG_ERROR(voice->audio, "IMFTransform_ProcessInput returned %#x", hr); LOG_ERROR(voice->audio, "IMFTransform_ProcessInput returned %#lx", hr);
return hr; return hr;
} }
...@@ -1151,7 +1151,7 @@ static HRESULT FAudio_WMAMF_ProcessOutput( ...@@ -1151,7 +1151,7 @@ static HRESULT FAudio_WMAMF_ProcessOutput(
if (hr == MF_E_TRANSFORM_NEED_MORE_INPUT) return S_FALSE; if (hr == MF_E_TRANSFORM_NEED_MORE_INPUT) return S_FALSE;
if (FAILED(hr)) if (FAILED(hr))
{ {
LOG_ERROR(voice->audio, "IMFTransform_ProcessInput returned %#x", hr); LOG_ERROR(voice->audio, "IMFTransform_ProcessInput returned %#lx", hr);
return hr; return hr;
} }
...@@ -1183,7 +1183,7 @@ static HRESULT FAudio_WMAMF_ProcessOutput( ...@@ -1183,7 +1183,7 @@ static HRESULT FAudio_WMAMF_ProcessOutput(
} }
FAudio_memcpy(impl->output_buf + impl->output_pos, copy_buf, copy_size); FAudio_memcpy(impl->output_buf + impl->output_pos, copy_buf, copy_size);
impl->output_pos += copy_size; impl->output_pos += copy_size;
LOG_INFO(voice->audio, "pulled %x bytes at %x", copy_size, impl->output_pos); LOG_INFO(voice->audio, "pulled %lx bytes at %Ix", copy_size, impl->output_pos);
hr = IMFMediaBuffer_Unlock(media_buffer); hr = IMFMediaBuffer_Unlock(media_buffer);
FAudio_assert(!FAILED(hr) && "Failed to unlock buffer bytes!"); FAudio_assert(!FAILED(hr) && "Failed to unlock buffer bytes!");
...@@ -1282,7 +1282,7 @@ static void FAudio_INTERNAL_DecodeWMAMF( ...@@ -1282,7 +1282,7 @@ static void FAudio_INTERNAL_DecodeWMAMF(
FAudio_zero(decodeCache + copy_size, samples_size - copy_size); FAudio_zero(decodeCache + copy_size, samples_size - copy_size);
LOG_INFO( LOG_INFO(
voice->audio, voice->audio,
"decoded %x / %x bytes, copied %x / %x bytes", "decoded %Ix / %Ix bytes, copied %Ix / %Ix bytes",
impl->output_pos, impl->output_pos,
impl->output_size, impl->output_size,
copy_size, copy_size,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment