Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 9b05c3e in mainline


Ignore:
Timestamp:
2011-12-05T14:15:24Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
b499127
Parents:
0580d05
Message:

dplay: Add more parameters to beep sound.

Location:
uspace/app/dplay
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/dplay/beep.c

    r0580d05 r9b05c3e  
    44444444const void *beep = beep16;
    44454445const unsigned channels = 1;
     4446const unsigned rate = 44100;
     4447const unsigned sample_size = 16;
     4448const bool sign = true;
  • uspace/app/dplay/beep.h

    r0580d05 r9b05c3e  
    2828
    2929#include <stdint.h>
     30#include <bool.h>
    3031
    3132extern const void *beep;
    3233extern const size_t beep_size;
    3334extern const unsigned channels;
     35extern const unsigned rate;
     36extern const unsigned sample_size;
     37extern const bool sign;
Note: See TracChangeset for help on using the changeset viewer.