mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +08:00
display audio duration.
This commit is contained in:
parent
6e9f5f7378
commit
6195ab25e3
@ -864,8 +864,9 @@ namespace GARbro.GUI
|
||||
AudioDevice.PlaybackStopped += OnPlaybackStopped;
|
||||
AudioDevice.Play();
|
||||
var fmt = CurrentAudio.WaveFormat;
|
||||
SetResourceText (string.Format ("Playing {0} / {2}bps / {1}Hz", entry.Name,
|
||||
fmt.SampleRate, sound.SourceBitrate / 1000));
|
||||
SetResourceText (string.Format ("Playing {0} / {3} / {2}bps / {1}Hz", entry.Name,
|
||||
fmt.SampleRate, sound.SourceBitrate / 1000,
|
||||
CurrentAudio.TotalTime.ToString ("m':'ss")));
|
||||
}
|
||||
}
|
||||
catch (Exception X)
|
||||
|
Loading…
Reference in New Issue
Block a user