audio_output_set and audio_output_device_set ruin the audio

This forum is about all development around libVLC.
avi_tal
Blank Cone
Blank Cone
Posts: 19
Joined: 10 Oct 2012 17:49

audio_output_set and audio_output_device_set ruin the audio

Postby avi_tal » 08 Nov 2012 19:20

Dear friends,

When I use LIBVLC in its default configuration, the audio is played correctly to the PC Speaker with no issues.

When I am directing the audio to this exact same device (PC Speakers) by using these 2 functions in sequence:

int err = libvlc_audio_output_set(…);

libvlc_audio_output_device_set(…);

The audio often has artifacts (tick sounds).

Applying a long (2 seconds) delay helps this situation, but of course creates a delay…

The 2 functions stated above perform their functionality (this was verified using a virtual audio device).

How can this be resolved?

Your help is kindly appreciated.

Thanks,

Avi.

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests