IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

FEAT. RQ.: bypass channel to foobar audio_chunk interface, getting proper DoP in Foobar2K
Jackal29a
post Oct 9 2012, 15:00
Post #1





Group: Members
Posts: 36
Joined: 28-May 11
Member No.: 91053



Would it be possible to add an option in advanced preferences that would add a bypass channel to foobar audio_chunk interface skipping DSP chain and Volume control?

The idea is that this channel should directly deliver unchanged sound data to output device (like WASAPI or ASIO) without going into DSP and Volume Control chain. This way it will be possible to add true DoP mode without needing to resort to ASIO or WASAPI Proxies.

I've no idea about the innards of Foobar so if this is against any TOS or policy I'm sorry and please any admin move it to the bin or delete it. Ditto if it belongs in another sub forum.

Cheers
Go to the top of the page
+Quote Post
 
Start new topic
Replies
Peter
post Oct 19 2012, 11:58
Post #2


foobar2000 developer


Group: Admin
Posts: 3275
Joined: 30-September 01
Member No.: 84



Not sure what you mean "foobar audio_chunk interface", doesn't sound like it's what I refer to by "audio_chunk".

If passing unaltered PCM stream to the device is what you want, you can already do that by setting volume to max, disabling ReplayGain and DSP. What else do you want, a single checkbox to toggle all of volume/RG/DSP with one click? Sounds like it will generate "volume control doesn't work" and "equalizer doesn't work" tech support traffic.
Go to the top of the page
+Quote Post
Jackal29a
post Oct 19 2012, 14:42
Post #3





Group: Members
Posts: 36
Joined: 28-May 11
Member No.: 91053



Thanks Peter but it is not about PCM but rather about DSD (DoP= DSD over PCM -> DoP).

It would seem switching off Volume/RG/DSP is not enough because all kinds of visualizers (VU meter, oscilloscope, etc) will still work and interpret DoP stream as PCM data. What's needed is to add set_data_type(t_data_type data_type) method to the audio_chunk interface. So it can be called like p_chunk.set_data_type(RAW_AUDIO_DATA) for each audio_chunk of DSD sound data to request that this chunk needs to be delvered to output device unchanged and witout any processing by visualizers like VU meter and others.

The setting entry could be well hidden in advances preferences so those not in the know wouldn't mess with. Maybe name it "DoP Bitsreaming enable" or something similar.

Cheers

This post has been edited by Jackal29a: Oct 19 2012, 14:43
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd July 2014 - 21:09