summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/audiodevices/audiodevices.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-01-27 19:31:13 +0100
committerLars Knoll <lars.knoll@qt.io>2021-02-09 14:33:28 +0000
commit89f4db5857ea0c30c52510785f505a9217750db5 (patch)
tree9f8ed97cddf1ae0c21a8a5d829e61ee8401a8fcd /examples/multimedia/audiodevices/audiodevices.h
parentc401a0dc71dc49cd34f8a5dd2fd7320f451e98bf (diff)
Cleanup QAudioFormat and friends
Reduce the amount of available formats, and always use host endianness. Return both sample rate and channel count as a range, not a list of values. Change-Id: I88389b49ace077764fb647f50834236448e55c0e Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/multimedia/audiodevices/audiodevices.h')
-rw-r--r--examples/multimedia/audiodevices/audiodevices.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/multimedia/audiodevices/audiodevices.h b/examples/multimedia/audiodevices/audiodevices.h
index be9b36ff7..31ec479df 100644
--- a/examples/multimedia/audiodevices/audiodevices.h
+++ b/examples/multimedia/audiodevices/audiodevices.h
@@ -82,9 +82,7 @@ private slots:
void deviceChanged(int idx);
void sampleRateChanged(int idx);
void channelChanged(int idx);
- void sampleSizeChanged(int idx);
- void sampleTypeChanged(int idx);
- void endianChanged(int idx);
+ void sampleFormatChanged(int idx);
void test();
void populateTable();