Ignore:
Timestamp:
11/15/06 01:14:23 (18 years ago)
Author:
r2d
Message:
  • added build system
Location:
libmpc/branches/r2d/libwavformat
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/libwavformat/libwaveformat.h

    r68 r137  
    5353} t_wav_input_handler;
    5454
    55 typedef struct 
     55typedef struct
    5656{
    5757        t_wav_input_file_callback m_callback;
     
    7171        t_wav_uint32 m_data_position;
    7272
    73        
     73
    7474
    7575        t_wav_uint8 m_workbuffer[512];
     
    131131
    132132#endif //__LIBWAVEFORMAT_H__
     133
  • libmpc/branches/r2d/libwavformat/output.c

    r68 r137  
    140140} t_riff_header;
    141141
    142 static const t_riff_header g_header_riff = {'R','I','F','F'};
    143 static const t_riff_header g_header_wave = {'W','A','V','E'};
    144 static const t_riff_header g_header_data = {'d','a','t','a'};
    145 static const t_riff_header g_header_fmt  = {'f','m','t',' '};
     142static const t_riff_header g_header_riff = {{'R','I','F','F'}};
     143static const t_riff_header g_header_wave = {{'W','A','V','E'}};
     144static const t_riff_header g_header_data = {{'d','a','t','a'}};
     145static const t_riff_header g_header_fmt  = {{'f','m','t',' '}};
    146146
    147147static t_wav_uint32 waveformat_write(t_wav_output_file * p_file,void const * p_buffer,t_wav_uint32 p_buffer_size)
     
    277277
    278278                delta_written = waveformat_write(p_file,p_file->m_workbuffer,delta * p_file->m_bytes_per_sample) / p_file->m_bytes_per_sample;
    279                
     279
    280280                if (delta_written > 0)
    281281                {
     
    305305
    306306                delta_written = waveformat_write(p_file,p_file->m_workbuffer,delta * p_file->m_bytes_per_sample) / p_file->m_bytes_per_sample;
    307                
     307
    308308                if (delta_written > 0)
    309309                {
Note: See TracChangeset for help on using the changeset viewer.