Have found a solution for missing AVR. Will do some tests tomorrow morning.Can you please play such a 6ch file with a high sample rate in MP1 and post the log?
i need to compare the results.
Have found a solution for missing AVR. Will do some tests tomorrow morning.Can you please play such a 6ch file with a high sample rate in MP1 and post the log?
i need to compare the results.
[2017-02-22 14:13:26,802] [35558 ] [BassPlay ] [DEBUG] - BassLibrary: WASAPI device info: Name="VSX-930 (Intel(R) Display-Audio)", Driver="WASAPI", Channels=8, MinRate=32000, MaxRate=192000, Latency=0ms
[2017-02-22 14:13:26,803] [35559 ] [BassPlay ] [DEBUG] - BassLibrary: BASS: ---------------------------------------------
[2017-02-22 14:13:26,803] [35559 ] [BassPlay ] [DEBUG] - BassLibrary: BASS: Buffer Length: 25344
[2017-02-22 14:13:26,803] [35559 ] [BassPlay ] [DEBUG] - BassLibrary: BASS: Channels: 6
[2017-02-22 14:13:26,804] [35560 ] [BassPlay ] [DEBUG] - BassLibrary: BASS: Frequency: 48000
[2017-02-22 14:13:26,804] [35560 ] [BassPlay ] [DEBUG] - BassLibrary: BASS: Format: BASS_WASAPI_FORMAT_FLOAT
[2017-02-22 14:13:26,804] [35560 ] [BassPlay ] [DEBUG] - BassLibrary: BASS: InitFlags: BASS_WASAPI_AUTOFORMAT, BASS_WASAPI_BUFFER, BASS_WASAPI_EVENT
[2017-02-22 14:13:26,804] [35560 ] [BassPlay ] [DEBUG] - BassLibrary: BASS: Exclusive: False
[2017-02-22 14:13:26,805] [35561 ] [BassPlay ] [DEBUG] - BassLibrary: BASS: ---------------------------------------------
[2017-02-22 14:13:26,805] [35561 ] [BassPlay ] [INFO ] - BassLibrary: BASS: WASAPI Device successfully initialised
[2017-02-22 14:13:26,805] [35561 ] [BassPlay ] [DEBUG] - BassLibrary: BASS: Creating new 6 channel mixer for frequency 48000
[2017-02-22 14:13:26,805] [35561 ] [BassPlay ] [DEBUG] - BassLibrary: Stream type: BASS_CTYPE_STREAM_MIXER
BASS: Format: BASS_WASAPI_FORMAT_24BIT
BASS: Format: BASS_WASAPI_FORMAT_FLOAT
if (BassWasapi.BASS_WASAPI_Init(_bassPlayer.DeviceNumber, stream.ChannelInfo.freq, outputChannels,
initFlags | BASSWASAPIInit.BASS_WASAPI_BUFFER, Convert.ToSingle(Config.BufferingMs / 1000.0), 0f, _wasapiProc, IntPtr.Zero))
.....
bool result = BassWasapi.BASS_WASAPI_Init(_deviceNo, _inputStream.SampleRate, _inputStream.Channels, _flags, 0.5f, 0f, _streamWriteProcDelegate, IntPtr.Zero);
Maybe it is a good idea, if we make the buffer size configureable.In MP2 we have a fixed buffer size of 500ms, whereas in MP1 it is configureable.
That's quite some work.Maybe it is a good idea, if we make the buffer size configureable.
Have configured the same buffer size (221ms) as in MP1, unfortunately the same issue. Logs are attached.I think i found it. it is the Buffer size, which seems to be too big.
In MP2 we have a fixed buffer size of 500ms, whereas in MP1 it is configureable.
With buffer size 500ms playback in MP1 fails completely. Logs are attached.I guess, when you set the buffer size in MP1 to 500ms, you will end up with the same problem as in MP2.
But i think, it makes sense. OK, it isn't a big task to edit the .xml file, but i think for the most cases 500ms is to much.That's quite some work.