Playback options with SoX and Dmix Plugin

Moderator: flatmax

Post Reply
IrwinAllen13
Posts: 13
Joined: Sun Jul 30, 2017 5:05 am

Playback options with SoX and Dmix Plugin

Post by IrwinAllen13 » Mon Aug 14, 2017 2:24 pm

Hey Everyone,

Anyone know how to route audio through the dmix plugin with SoX?

I am using a flac encode, and would prefer not converting the file to (.wav).

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Playback options with SoX and Dmix Plugin

Post by flatmax » Tue Aug 15, 2017 10:11 am

You should be able to change the sox settings using environment variables.

In your case, you will want to set dmix like so :

Code: Select all

export AUDIODEV=dmix
You may even be able to get away with not setting the environment variable and calling locally like this :

Code: Select all

AUDIODEV=dmix sox ....
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests