Changeset 154 for sbliveos2/trunk/sblive/mixer.c
- Timestamp:
- Aug 5, 2000, 2:26:00 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sbliveos2/trunk/sblive/mixer.c
r153 r154 489 489 #ifdef PRIVATE_PCM_VOLUME 490 490 491 static unsigned char LinToLog[100] = { 0, 0, 0, 0, 492 1, 2, 2, 5, 5, 10, 10, 10, 493 16, 19, 20, 22, 24, 25, 27, 27, 494 28, 28, 29, 30, 30, 35, 35, 35, 495 39, 39, 43, 45, 47, 49, 50, 50, 496 60, 60, 70, 72, 72, 74, 74, 74, 497 75, 75, 76, 77, 78, 80, 82, 83, 498 85, 85, 85, 88, 88, 88, 88, 90, 499 90, 93, 93, 93, 95, 95, 95, 95, 500 95, 95, 95, 96, 96, 97, 97, 98, 501 98, 98, 98, 99, 99, 99, 99, 99, 502 99, 99, 99, 99, 100, 100, 100, 100, 503 100, 100, 100, 100, 100, 100, 100, 100}; 504 491 #if 1 492 static unsigned char LinToLog[100] = { 493 0, 0, 0, 0, 1, 2, 2, 5, 5, 10, 494 10, 10, 16, 19, 20, 22, 24, 25, 27, 27, 495 28, 28, 29, 30, 30, 35, 35, 35, 39, 39, 496 43, 44, 45, 47, 48, 49, 50, 51, 52, 53, 497 55, 56, 57, 59, 60, 62, 63, 64, 65, 66, 498 67, 68, 69, 70, 71, 72, 73, 74, 74, 75, 499 76, 77, 78, 79, 79, 80, 81, 82, 83, 84, 500 85, 86, 87, 88, 89, 90, 91, 92, 92, 93, 501 93, 94, 94, 95, 95, 96, 96, 97, 97, 98, 502 98, 99, 99, 99, 99, 100, 100, 100, 100, 100 503 }; 504 #else 505 static unsigned char LinToLog[100] = { 506 0, 0, 0, 0, 1, 2, 2, 5, 5, 10, 507 10, 10, 16, 19, 20, 22, 24, 25, 27, 27, 508 28, 28, 29, 30, 30, 35, 35, 35, 39, 39, 509 43, 45, 47, 49, 50, 50, 60, 60, 70, 72, 510 72, 74, 74, 74, 75, 75, 76, 77, 78, 80, 511 82, 83, 85, 85, 85, 88, 88, 88, 88, 90, 512 90, 93, 93, 93, 95, 95, 95, 95, 95, 95, 513 95, 96, 96, 97, 97, 98, 98, 98, 98, 99, 514 99, 99, 99, 99, 99, 99, 99, 99, 100, 100, 515 100, 100, 100, 100, 100, 100, 100, 100, 100, 100 516 }; 517 #endif 505 518 506 519 /* calc & set attenuation factor for given channel */
Note:
See TracChangeset
for help on using the changeset viewer.