Skip to content

How to use a different resampler on Windows #1746

Answered by lerenwe
lerenwe asked this question in Q&A
Discussion options

You must be logged in to vote

I worded my sentence poorly, but I undersood what I needed to do.

I figured it our this morning, after adding "libsamplerate" to the thirdparty_libs list in the build python script, I added an entry for libsamplerate in the python/build/libs.py script.

I retrieved the latest release of libsamplerate and used Cmake to integrate it to MPD :

libsamplerate = CmakeProject(
'https://github.com/libsndfile/libsamplerate/releases/download/0.2.2/libsamplerate-0.2.2.tar.xz',
'97c010fc25156c33cddc272c1935afab',
'lib/libsamplerate.a',
    [
        '-DBUILD_SHARED_LIBS=OFF',

        '-DINSTALL_DOCS=OFF',

        '-DINSTALL_CMAKE_PACKAGE_MODULE=OFF',
    ],
)

It worked like a charm, I can finally us…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@lerenwe
Comment options

@MaxKellermann
Comment options

@lerenwe
Comment options

@MaxKellermann
Comment options

Comment options

You must be logged in to vote
3 replies
@MaxKellermann
Comment options

@lerenwe
Comment options

@lerenwe
Comment options

Answer selected by lerenwe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants