[Git][wine/wine][master] 8 commits: mp3dmod: Return S_OK in Allocate/Free Resources.
Alexandre Julliard pushed to branch master at wine / wine Commits: 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/medi... https://learn.microsoft.com/en-us/previous-versions/windows/desktop/api/medi... - - - - - 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-d... - - - - - 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. - - - - - 2 changed files: - dlls/mp3dmod/mp3dmod.c - dlls/mp3dmod/tests/mp3dmod.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/6e6334d4293b235fe11f05c556acf6... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/6e6334d4293b235fe11f05c556acf6... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)