External attenution control extension for ROM USB audio

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
Post Reply
Hannu
VLSI Staff
Posts: 538
Joined: Mon 2016-05-30 11:54
Location: Finland
Contact:

External attenution control extension for ROM USB audio

Post by Hannu »

Dear VS1010 users,

Here is usbvolda program. It is extension to ROM USB DAC code. With it is possible add external attenuation to DAC.

You can control the extra attenuation with + and -. ? prints the components of current volume and m is a grandmaster mute and u unmutes.

Have fun and as always, bug reports are welcome.
Attachments
usbvolda-2024-06-10.zip
Source code
(25.61 KiB) Downloaded 39 times
usbvolda.dlx
VS1010 program
(2.86 KiB) Downloaded 33 times
README.txt
Documentation
(1.48 KiB) Downloaded 26 times
Hannu
VLSI Staff
Posts: 538
Joined: Mon 2016-05-30 11:54
Location: Finland
Contact:

Re: External attenution control extension for ROM USB audio

Post by Hannu »

The usbvolda has a feature which shouldn't be enabled. Power button reset.

The perfect place to disable this feature is to modify the FixAudioIoctlPatched() function in rom_fixes.c

Code: Select all

        } else {
                ret = AudioIoctl(self,request,arg);
        }
        PERIP(ANA_CF1) |= ANA_CF1_BTNDIS;
        return ret;
}
If your board resets in about 6 seconds you have powerbutton always on and you need this modification.
Post Reply