Pierre Lemerle
Pierre Lemerle

Reputation: 1

how to play a wav file in mono mode with python-vlc?

I know how to play a wav file with python_vlc, e.g (here to play an audio stream)

import vlc

instance=vlc.Instance('--input-repeat=-1','--fullscreen')
player=instance.media_player_new()
url="my url"
media=instance.media_new(url)
player.set_media(media)
player.play()

but I didn't find any command to play it in mono mode. Any help appreciated.

I've asked the support of my hardware and searched among stackoverflow questions.

Upvotes: -1

Views: 68

Answers (1)

bbd 666
bbd 666

Reputation: 13

it seems the solution was in alsamixer: type alsamixer select the 'DAC' tab switch it from stereo to mono.

Upvotes: 0

Related Questions