forked from randyrossi/bmc64
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix audio drift in ntsc/pal composite Closes randyrossi#13
Turns out the Pi's composite out has a vertical refresh rate _slightly_ greater than 50 or 60 hz. This was causing too much audio data to get pushed to the buffer and audio 'drift' occurred over time. I ended up timing the actual vertical refresh rates on composite. This works for PAL or NTSC progressive modes for composite. I haven't tried interlace to see if that makes a difference.
- Loading branch information
1 parent
815c96b
commit 9c1aa0a
Showing
11 changed files
with
112 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
hide_console=1 fast=true canvas_width=384 canvas_height=272 machine_timing=pal | ||
|
||
# Kernel options must appear on a single line separated by spaces. | ||
# | ||
# machine_timing | ||
# | ||
# For 50hz modes (PAL) | ||
# Set to 'pal' or 'pal-hdmi' when using an HDMI display | ||
# Set to 'pal-composite' when using the Pi's composite out | ||
# | ||
# For 60hz modes (NTSC) | ||
# Set to 'ntsc' or 'ntsc-hdmi' when using an HDMI display | ||
# Set to 'ntsc-composite' when using the Pi's composite out | ||
# | ||
# If you try to use pal or pal-hdmi with composite out, you will get | ||
# audio synchronization issues with ReSid. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters