mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 06:13:45 -07:00
format
This commit is contained in:
parent
951bf4f99e
commit
e7a5e97bf9
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ void Audio_osWritebackDCache(void* mem, s32 size) {
|
|||
s32 osAiSetFrequency(u32 freq) {
|
||||
// this is based off the math from the original method
|
||||
/*
|
||||
|
||||
|
||||
s32 osAiSetFrequency(u32 frequency) {
|
||||
u8 bitrate;
|
||||
f32 dacRateF = ((f32)osViClock / frequency) + 0.5f;
|
||||
|
@ -174,7 +174,7 @@ s32 osAiSetFrequency(u32 freq) {
|
|||
// osViClock comes from
|
||||
// #define VI_NTSC_CLOCK 48681812 /* Hz = 48.681812 MHz */
|
||||
// s32 osViClock = VI_NTSC_CLOCK;
|
||||
|
||||
|
||||
// frequency was originally 32000
|
||||
|
||||
// given all of that, dacRate is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue