1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +00:00

SoundPlayer: Changed some small cosmetic things

Renamed "Position" to "Elapsed". "channel/channels" automatically
changes now when more than one channel exist. The current file name
is now displayed in the window title.
This commit is contained in:
Till Mayer 2019-11-05 19:09:31 +01:00 committed by Andreas Kling
parent 94a9649945
commit ac9907ee61
4 changed files with 10 additions and 5 deletions

View file

@ -30,6 +30,7 @@ public:
u32 sample_rate() const { return m_sample_rate; }
u16 num_channels() const { return m_num_channels; }
u16 bits_per_sample() const { return m_bits_per_sample; }
RefPtr<CFile> file() const { return m_file; }
private:
bool parse_header();