-
94796cd8
by Brendan McGrath at 2025-03-04T16:23:12+01:00
mp3dmod: Return S_OK in Allocate/Free Resources.
MS documentation states:
"If the DMO does not support this method, the method returns S_OK"
https://learn.microsoft.com/en-us/previous-versions/windows/desktop/api/mediaobj/nf-mediaobj-imediaobject-allocatestreamingresources
https://learn.microsoft.com/en-us/previous-versions/windows/desktop/api/mediaobj/nf-mediaobj-imediaobject-freestreamingresources
-
7b6a65bb
by Brendan McGrath at 2025-03-04T16:23:12+01:00
mp3dmod/tests: Add test for 32-bit sample size.
-
362259ab
by Brendan McGrath at 2025-03-04T16:23:12+01:00
mp3dmod: Add support for 32-bit sample size.
-
82aa93ff
by Brendan McGrath at 2025-03-04T16:23:12+01:00
mp3dmod/tests: Test different output sample rates.
-
91056627
by Brendan McGrath at 2025-03-04T16:23:12+01:00
mp3dmod: Return error if requested output format values don't agree.
If the requested output type has a sample rate that doesn't equal
the average bytes per second when multiplied by the block alignment,
then Windows returns E_INVALIDARG.
Block alignment must also be the number of channels multiplied by the
bytes per sample (bytes per sample being the requested bits per sample
divided by 8).
-
42f190c9
by Brendan McGrath at 2025-03-04T16:23:12+01:00
mp3dmod: Only allow 1/2 and 1/4 subsampling.
MS doc says:
"The Windows Media MP3 decoder supports, but does not enumerate, the following output media types.
- An output type that has half the sampling rate of the input type.
- An output type that has one fourth the sampling rate of the input type"
https://learn.microsoft.com/en-us/windows/win32/medfound/windows-media-mp3-decoder
-
c75418cf
by Brendan McGrath at 2025-03-04T16:23:12+01:00
mp3dmod/tests: Add test for nChannels = 0 on input.
-
169116be
by Brendan McGrath at 2025-03-04T16:23:13+01:00
mp3dmod: Ensure nChannels is greater than zero on input.