mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Use LU=26 in readwav.f90.
This commit is contained in:
parent
14867a868b
commit
6a2ac44916
@ -53,6 +53,7 @@ contains
|
|||||||
type(riff_descriptor) :: desc
|
type(riff_descriptor) :: desc
|
||||||
character(len=4) :: riff_type
|
character(len=4) :: riff_type
|
||||||
|
|
||||||
|
this%lun=26
|
||||||
open (unit=this%lun, file=filename, access='stream',status='old')
|
open (unit=this%lun, file=filename, access='stream',status='old')
|
||||||
read (unit=this%lun) desc,riff_type
|
read (unit=this%lun) desc,riff_type
|
||||||
inquire (unit=this%lun, pos=filepos)
|
inquire (unit=this%lun, pos=filepos)
|
||||||
@ -67,5 +68,6 @@ contains
|
|||||||
end if
|
end if
|
||||||
filepos = filepos + (desc%size + 1) / 2 * 2 ! pad to even alignment
|
filepos = filepos + (desc%size + 1) / 2 * 2 ! pad to even alignment
|
||||||
end do
|
end do
|
||||||
|
return
|
||||||
end subroutine read
|
end subroutine read
|
||||||
end module readwav
|
end module readwav
|
||||||
|
Loading…
Reference in New Issue
Block a user