Ignore:
Timestamp:
Mar 24, 2006 8:41:20 PM (18 years ago)
Author:
bennylp
Message:

Added WAVE writer and resample port, and also found out why audio quality is poor with DirectSound?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/wave.h

    r341 r358  
    3333#define PJMEDIA_WAVE_TAG        ('E'<<24|'V'<<16|'A'<<8|'W') 
    3434#define PJMEDIA_FMT_TAG         (' '<<24|'t'<<16|'m'<<8|'f') 
     35#define PJMEDIA_DATA_TAG        ('a'<<24|'t'<<16|'a'<<8|'d') 
    3536 
    3637 
     
    7071 
    7172 
     73/** 
     74 * On big-endian hosts, this function swaps the byte order of the values 
     75 * in the WAVE header fields. On little-endian hosts, this function does  
     76 * nothing. 
     77 * 
     78 * Application SHOULD call this function after reading the WAVE header 
     79 * chunks from a file. 
     80 * 
     81 * @param hdr       The WAVE header. 
     82 */ 
     83PJ_DECL(void) pjmedia_wave_hdr_file_to_host( pjmedia_wave_hdr *hdr ); 
     84 
     85 
     86/** 
     87 * On big-endian hosts, this function swaps the byte order of the values 
     88 * in the WAVE header fields. On little-endian hosts, this function does  
     89 * nothing. 
     90 * 
     91 * Application SHOULD call this function before writing the WAVE header 
     92 * to a file. 
     93 * 
     94 * @param hdr       The WAVE header. 
     95 */ 
     96PJ_DECL(void) pjmedia_wave_hdr_host_to_file( pjmedia_wave_hdr *hdr ); 
     97 
     98 
    7299PJ_END_DECL 
    73100 
Note: See TracChangeset for help on using the changeset viewer.