Changeset 2575:aebbe60e4886 in roaraudio for libroarsndio


Ignore:
Timestamp:
09/06/09 00:33:17 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use const

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarsndio/libroarsndio.c

    r2574 r2575  
    140140 if ( is_midi ) { 
    141141  hdl->info.codec    = ROAR_CODEC_MIDI; 
    142   hdl->info.bits     = 8; 
    143   hdl->info.channels = 16; 
    144   hdl->info.rate     = 96; 
     142  hdl->info.bits     = ROAR_MIDI_BITS; 
     143  hdl->info.channels = ROAR_MIDI_CHANNELS_DEFAULT; 
     144  hdl->info.rate     = ROAR_MIDI_TICKS_PER_BEAT; 
    145145  if ( !sio_start(hdl) ) { 
    146146   sio_close(hdl); 
Note: See TracChangeset for help on using the changeset viewer.