mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibAudio: Add accessor to "real" PCM sample format of loader
This commit is contained in:
parent
cd2e890304
commit
de17cd018e
Notes:
sideshowbarker
2024-07-16 23:34:44 +09:00
Author: https://github.com/kleinesfilmroellchen Commit: https://github.com/SerenityOS/serenity/commit/de17cd018e Pull-request: https://github.com/SerenityOS/serenity/pull/17768 Reviewed-by: https://github.com/gmta Reviewed-by: https://github.com/networkException
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ public:
|
|||
u16 num_channels() const { return m_plugin->num_channels(); }
|
||||
DeprecatedString format_name() const { return m_plugin->format_name(); }
|
||||
u16 bits_per_sample() const { return pcm_bits_per_sample(m_plugin->pcm_format()); }
|
||||
PcmSampleFormat pcm_format() const { return m_plugin->pcm_format(); }
|
||||
Metadata const& metadata() const { return m_plugin->metadata(); }
|
||||
Vector<PictureData> const& pictures() const { return m_plugin->pictures(); };
|
||||
|
||||
|
|
Loading…
Reference in a new issue