Skip to content

Commit

Permalink
fix audio scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
ikorb committed Nov 20, 2018
1 parent eacc609 commit b532bda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HDL/gcvideo_dvi/src/audio_spdif.vhd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
----------------------------------------------------------------------------------
-- GCVideo DVI HDL
-- Copyright (C) 2014-2017, Ingo Korb <[email protected]>
-- Copyright (C) 2014-2018, Ingo Korb <[email protected]>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -114,7 +114,7 @@ architecture Behavioral of audio_spdif is
variable tmp: signed(25 downto 0);
begin
tmp := val * factor;
return tmp(25 downto 10);
return tmp(23 downto 8);
end function;

begin
Expand Down

0 comments on commit b532bda

Please sign in to comment.