Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 226649 Details for
Bug 313259
app-emulation/emul-linux-x86-soundlibs-20100220-r1: libsndfile: SF_INFO struct ordering incorrect
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
simple test program
libsndfile_test.c (text/plain), 674 bytes, created by
Marc Joliet
on 2010-04-05 16:58:32 UTC
(
hide
)
Description:
simple test program
Filename:
MIME Type:
Creator:
Marc Joliet
Created:
2010-04-05 16:58:32 UTC
Size:
674 bytes
patch
obsolete
>#include <sndfile.h> >#include <stdio.h> >#include <stdlib.h> > >int main() >{ > const char input_file_name[] = "test.aif"; > SNDFILE* input_file = (SNDFILE*)malloc(sizeof(SNDFILE*)); > > SF_INFO file_info; > file_info.format = 0; > > input_file = sf_open(input_file_name, SFM_READ, &file_info); > printf("Frames : %i\n" , file_info.frames); > printf("Samplerate : %i\n" , file_info.samplerate); > printf("Channels : %i\n" , file_info.channels); > printf("Format : %i\n" , file_info.format); > printf("Sections : %i\n" , file_info.sections); > printf("Seekable : %i\n" , file_info.seekable); > > free(input_file); > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 313259
:
226649
|
226651
|
226663