Commit 97b844ec authored by Max Kellermann's avatar Max Kellermann

pcm_volume: changed PCM_VOLUME_1 to 1024

1024 is 2^10, and allows gcc to use bit shift operations instead of multiplication / division.
parent 04a2138b
......@@ -25,7 +25,7 @@
enum {
/** this value means "100% volume" */
PCM_VOLUME_1 = 1000,
PCM_VOLUME_1 = 1024,
};
struct audio_format;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment