I'm trying out your interesting plugin. It works well on a machine with core i5 2nd gen in auto config mode.
However, I'm running into problems on a small media center with Celeron N2930 connected to my Yahama receiver via HDMI. Auto config doesn't seem to work and I get the following error:
Unable to init Audio client : endpoint creation failed - may be your device config is not correct -> check bitdepth, channel configured on your device
where console output details the following message:
Sorry for the delay, I just saw your question.
May be this is a problem related to your channel configuration. Does it work with the Peter's standard plugin foo_out_wasapi in event mode ? In any case, I will check on my side.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jorgo, may be you need to change bitdepth in foobar outpu format config (see screenshot attached).It must be set to 32 bit. According to your console output above, I guess you set it to 24 bit.
Hi there,
I'm trying out your interesting plugin. It works well on a machine with core i5 2nd gen in auto config mode.
However, I'm running into problems on a small media center with Celeron N2930 connected to my Yahama receiver via HDMI. Auto config doesn't seem to work and I get the following error:
Unable to init Audio client : endpoint creation failed - may be your device config is not correct -> check bitdepth, channel configured on your device
where console output details the following message:
output_wasap2_playback::on_playback_stop - stop_reason_starting_another
output_wasap2_impl::pause - state = 1
output_wasap2_impl::pause - m_renderer->PausePlaybackAsync failed: hr =-2147019873
output_wasap2_impl::flush -
output_wasap2_impl::stop -
output_wasap2_impl::pause - state = 0
output_wasap2_impl::pause - m_renderer->ResumePlaybackAsync failed: hr =-2147019873
Opening track for playback: "05. Heathrow.flac"
output_wasap2_impl::update - rate spec known (first or modified) - reopen audio client
output_wasap2_impl::stop -
Device Format(default).wFormatTag = WAVE_FORMAT_EXTENSIBLE
Device Format(default).nChannels =4
Device Format(default).nSamplesPerSec =48000
Device Format(default).nAvgBytesPerSec =768000
Device Format(default).nBlockAlign =16
Device Format(default).wBitsPerSample =32
Device Format(default).cbSize =22
Device Format(default).Samples.wValidBitsPerSample =24
Device Format(default).Samples.wSamplesPerBlock =24
Device Format(default).dwChannelMask =51
Device Format(set for track).wFormatTag = WAVE_FORMAT_EXTENSIBLE
Device Format(set for track).nChannels =4
Device Format(set for track).nSamplesPerSec =44100
Device Format(set for track).nAvgBytesPerSec =529200
Device Format(set for track).nBlockAlign =12
Device Format(set for track).wBitsPerSample =24
Device Format(set for track).cbSize =22
Device Format(set for track).Samples.wValidBitsPerSample =24
Device Format(set for track).Samples.wSamplesPerBlock =24
Device Format(set for track).dwChannelMask =51
Minimum Endpoint Buffer Size (1/100 ns) = 30000
Minimum Endpoint Buffer Size (sample) = 133
Minimum Endpoint Buffer Size (byte) = 1596
Requested Endpoint Buffer Size (1/100 ns) = 30159
Requested Endpoint Buffer Size (sample) = 133
Requested Endpoint Buffer Size (byte) = 1596
Endpoint Buffer Size alignment (16 bytes) correction necessary
16-bytes Aligned Endpoint Buffer Size (1/100 ns) = 30839
16-bytes Aligned Endpoint Buffer Size (sample) = 136
16-bytes Aligned Endpoint Buffer Size (byte) = 1632
I'm not really sure where to start changing which values. Any help would be appreciated!
Last edit: Jorgo 2015-11-21
Hello Jorgo,
Sorry for the delay, I just saw your question.
May be this is a problem related to your channel configuration. Does it work with the Peter's standard plugin foo_out_wasapi in event mode ? In any case, I will check on my side.
Jorgo, may be you need to change bitdepth in foobar outpu format config (see screenshot attached).It must be set to 32 bit. According to your console output above, I guess you set it to 24 bit.