Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable the option audio "time-stretching audio" #260

Open
fredmo opened this issue Sep 28, 2023 · 1 comment
Open

disable the option audio "time-stretching audio" #260

fredmo opened this issue Sep 28, 2023 · 1 comment

Comments

@fredmo
Copy link

fredmo commented Sep 28, 2023

Hello All,

With the python-vlc, how could the option audio "time-stretching audio" be set to disable?

Thank you.

@fredmo
Copy link
Author

fredmo commented Sep 28, 2023

I tried this GPT code, but it's still playing with time-stretching audio enabled :

// Créer une instance de vlc
player = vlc.Instance("--no-audio-time-stretch")

// Charger le fichier mp3
media = player.media_new("file:///home/user/bob.mp3")

// Créer un objet lecteur média
mp = player.media_player_new()

// Définir le média à lire
mp.set_media(media)

// Lancer la lecture
mp.play()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant