pcm_volume: changed PCM_VOLUME_1 to 1024
1024 is 2^10, and allows gcc to use bit shift operations instead of multiplication / division.
This commit is contained in:
parent
04a2138b33
commit
97b844ec72
|
@ -25,7 +25,7 @@
|
|||
|
||||
enum {
|
||||
/** this value means "100% volume" */
|
||||
PCM_VOLUME_1 = 1000,
|
||||
PCM_VOLUME_1 = 1024,
|
||||
};
|
||||
|
||||
struct audio_format;
|
||||
|
|
Loading…
Reference in New Issue