![]() My initial thoughts are that my DAC does not like the way I offer the DSD stream or it simply does not support DSD over PCM (without additional drivers), but the manufacturer says otherwise. I also bypassed the mixer by adding the stream directly to the channelplay method and removed the stream decode flag. Result: A lot of noise but also music at a very low sound level. Then I use the mixer stream in the ChannelPlay method to actually start playing the file. And a decode flag because we add the stream to a mixer. HW: HifiMeDIY DAC with a Savitech 9227 receiver and a ESS Sabre 9018 DAC.īasically I just created a DSD stream with sample format rate 176400, added the necessary flags to support DSD over PCM: sample float, DOP flag. ![]() OS: Open Suse 13.1 64 bit running in a vmware virtual machine. LatestErrorCode += " " + () + " " + "could not start BASS_ChannelPLay " + Environment.NewLine Ĭonsole.Write("Started playing" + Environment.NewLine) Ĭonsole.WriteLine("Press button to stop playing") Ĭonsole.Write("Could not start playback") Ĭonsole.Write("error: " + Bass.BASS_ErrorGetCode()) If (Bass.BASS_ChannelPlay(mixerHandle, false)) Var _mixerStallSync = new SYNCPROC(OnMixerStall) //attach the handlerīASSSync.BASS_SYNC_END | BASSSync.BASS_SYNC_MIXTIME,īassMix.BASS_Mixer_StreamAddChannel(mixerHandle, Var pathplusfile = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "dsdfile.dsf") Ĭonsole.Write(string.Format("We are looking for ", ci.freq, ci.chans)) Var flags = BASSFlag.BASS_STREAM_DECODE | BASSFlag.BASS_UNICODE | BASSFlag.BASS_SAMPLE_SOFTWARE | BASSFlag.BASS_SAMPLE_FLOAT įlags = BASSFlag.BASS_STREAM_DECODE | BASSFlag.BASS_SAMPLE_FLOAT | BASSFlag.BASS_DSD_DOP | BASSFlag.BASS_UNICODE | BASSFlag.BASS_SAMPLE_SOFTWARE įlags = BASSFlag.BASS_STREAM_DECODE | BASSFlag.BASS_UNICODE | BASSFlag.BASS_SAMPLE_SOFTWARE | BASSFlag.BASS_DSD_RAW Private static void playDSD(bool useDop=false,bool useRaW=false)Ĭonsole.WriteLine("Attempting to start DSD file.") Code: private static void init(int deviceno,int freq=44100)Ĭonsole.Write(Bass.BASS_GetVersion().ToString()) Ĭonsole.Write("BASS init reported: " + Bass.BASS_ErrorGetCode() + Environment.NewLine) īass.BASS_SetConfig(BASSConfig.BASS_CONFIG_BUFFER, 500) īass.BASS_SetConfig(BASSConfig.BASS_CONFIG_UPDATEPERIOD, 20)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |