summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorTill Mayer <till.mayer@web.de>2019-11-05 19:09:31 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-05 19:50:11 +0100
commitac9907ee6142bec11302b3bd5f18674676372f4f (patch)
tree043fad6e0b428864184cbba1f4a4866b1448ce18 /Libraries
parent94a96499453c68c9362a1362203460fbd3d18563 (diff)
downloadserenity-ac9907ee6142bec11302b3bd5f18674676372f4f.zip
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.
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibAudio/AWavLoader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibAudio/AWavLoader.h b/Libraries/LibAudio/AWavLoader.h
index bd53b2ff15..0b13a5a070 100644
--- a/Libraries/LibAudio/AWavLoader.h
+++ b/Libraries/LibAudio/AWavLoader.h
@@ -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();