89+ results for 'mp3 source:Github repo:tugazuz/tugazuz.github.com' (0 ms)
Not the results you expected?
pvmp3_mpeg2_get_scale_data.cpp (https://github.com/Jib-BAOSP/platform_external_opencore.git) C++ · 239 lines
21 PacketVideo Corp.
22 MP3 Decoder Library
24 Filename: pvmp3_mpeg2_get_scale_data.cpp
31 int32 gr, granule
32 int32 ch, channel
33 mp3Header *info, mp3 header information
34 uint32 *scalefac_buffer,
35 uint32 *scalefac_IIP_buffer,
117 ----------------------------------------------------------------------------*/
119 void pvmp3_mpeg2_get_scale_data(mp3SideInfo *si,
120 int32 gr,
121 int32 ch,
playlist.h (https://github.com/jdgordon/rockbox.git) C Header · 183 lines
118 struct playlist_track_info
119 {
120 char filename[MAX_PATH]; /* path name of mp3 file */
121 int attr; /* playlist attributes for track */
122 int index; /* index of track in playlist */
137 bool playlist_next_dir(int direction);
138 int playlist_get_resume_info(int *resume_index);
139 int playlist_update_resume_info(const struct mp3entry* id3);
140 int playlist_get_display_index(void);
141 int playlist_amount(void);
GDLInterpreter.cpp.cvs (git://pkgs.fedoraproject.org/gdl) Unknown · 5518 lines
128 case ASSIGN_REPLACE:
129 {
130 ProgNodeP tmp3_AST_in = _t;
131 match(antlr::RefAST(_t),ASSIGN_REPLACE);
132 _t = _t->getNextSibling();
317 case CONTINUE:
318 {
319 ProgNodeP tmp30_AST_in = _t;
320 match(antlr::RefAST(_t),CONTINUE);
321 _t = _t->getNextSibling();
324 case GOTO:
325 {
326 ProgNodeP tmp31_AST_in = _t;
327 match(antlr::RefAST(_t),GOTO);
328 _t = _t->getNextSibling();
ClientTest.php (https://github.com/easy-swoole/wechat.git) PHP · 309 lines
alpha_processing_mips_dsp_r2.c (https://github.com/chromium/chromium.git) C · 228 lines
107 "mul %[temp1], %[temp1], %[temp0] \n\t"
108 "mul %[temp2], %[temp2], %[temp0] \n\t"
109 "mul %[temp3], %[temp3], %[temp0] \n\t"
110 "precrq.ph.w %[temp1], %[temp2], %[temp1] \n\t"
111 "addu %[temp3], %[temp3], %[c_8000000] \n\t"
114 "precrq.qb.ph %[temp1], %[temp3], %[temp1] \n\t"
115 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
116 [temp3]"=&r"(temp3), [alpha]"=&r"(alpha)
117 : [inverse]"r"(inverse), [c_00ffffff]"r"(c_00ffffff),
118 [c_8000000]"r"(c_8000000), [c_8000080]"r"(c_8000080),
161 "1: \n\t"
162 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
163 [temp3]"=&r"(temp3), [offset]"=&r"(offset), [out]"+&r"(out)
164 : [a]"r"(a), [r]"r"(r), [g]"r"(g), [b]"r"(b), [step]"r"(step),
165 [loop_end]"r"(loop_end), [rest]"r"(rest)
Makefile (https://github.com/peliom/tikitv.git) Makefile · 201 lines
taskgroup_task_reduction_codegen.cpp (https://github.com/hfinkel/llvm-project-cxxjit.git) C++ · 233 lines
105 // CHECK-DAG: [[TMP31:%.+]] = bitcast [5 x %struct.S]* [[C]] to i8*
106 // CHECK-DAG: store i8* [[TMP31]], i8** [[TMP30:%[^,]+]],
107 // CHECK-DAG: [[TMP30]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPC:%[^,]+]], i32 0, i32 0
109 // CHECK-DAG: [[TMP32:%.+]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPC]], i32 0, i32 1
110 // CHECK-DAG: store i64 20, i64* [[TMP32]],
111 // CHECK-DAG: [[TMP33:%.+]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPC]], i32 0, i32 2
115 // CHECK-DAG: [[TMP35:%.+]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPC]], i32 0, i32 4
116 // CHECK-DAG: store i8* bitcast (void (i8*, i8*)* @[[CCOMB:.+]] to i8*), i8** [[TMP35]],
117 // CHECK-DAG: [[TMP36:%.+]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPC]], i32 0, i32 5
118 // CHECK-DAG: [[TMP37:%.+]] = bitcast i32* [[TMP36]] to i8*
119 // CHECK-DAG: call void @llvm.memset.p0i8.i64(i8* align 8 [[TMP37]], i8 0, i64 4, i1 false)
120 // CHECK-DAG: [[TMP39:%.+]] = bitcast i16* [[VLA]] to i8*
121 // CHECK-DAG: store i8* [[TMP39]], i8** [[TMP38:%[^,]+]],
122 // CHECK-DAG: [[TMP38]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPVLA:%[^,]+]], i32 0, i32 0
module.audio-video.nsv.php (https://github.com/robertleeplummerjr/bluebox.git) PHP · 224 lines
mainTimeline.pas (https://github.com/PegasusEngine/Pegasus.git) Pascal · 309 lines
twomobfn.c (https://github.com/cogenda/ngspice-gss.git) C · 412 lines
26 double thetaB = info->thetaB[ELEC];
27 double eL, eN, eD, e0, mun;
28 double temp1, temp2, temp3, temp4, temp5;
29 double temp6, temp7, temp8, temp9;
30 double sgnN, sgnL;
106 temp1 = 1.0 / info->vSat[ELEC];
107 temp2 = muSR * temp1;
108 temp3 = eL * temp1;
109 temp4 = eL * temp2;
110 temp5 = 1.0 / ( 1.0 + temp4 * temp4 );
115 temp8 = - 3.0 * temp7 * temp5;
116 dMuHCDEl = - muSR * temp7 * temp2;
117 d2MuHCDMuSR2 = temp8 * temp3;
118 d2MuHCDElDMuSR = temp8 * temp2;
119 break;
mcfuart.h (https://github.com/psyke83/kernel_samsung_europa.git) C Header · 216 lines
33 #define MCFUART_BASE3 0x280 /* Base address of UART3 */
34 #elif defined(CONFIG_M5249) || defined(CONFIG_M5307) || defined(CONFIG_M5407)
35 #if defined(CONFIG_NETtel) || defined(CONFIG_SECUREEDGEMP3)
36 #define MCFUART_BASE1 0x200 /* Base address of UART1 */
37 #define MCFUART_BASE2 0x1c0 /* Base address of UART2 */
sreal.c (https://github.com/gatoatigrado/gccxmlclone.git) C · 544 lines
452 else
453 {
454 unsigned HOST_WIDE_INT tmp1, tmp2, tmp3;
455 if (sreal_compare (a, b) < 0)
456 {
465 tmp1 = a->sig_lo * b->sig_lo;
466 tmp2 = a->sig_lo * b->sig_hi;
467 tmp3 = a->sig_hi * b->sig_lo + (tmp1 >> SREAL_PART_BITS);
469 r->sig_hi = a->sig_hi * b->sig_hi;
470 r->sig_hi += (tmp2 >> SREAL_PART_BITS) + (tmp3 >> SREAL_PART_BITS);
471 tmp2 &= ((uhwi) 1 << SREAL_PART_BITS) - 1;
472 tmp3 &= ((uhwi) 1 << SREAL_PART_BITS) - 1;
settings.py (https://github.com/Ryochan7/YouTubed-2x.git) Python · 386 lines
89 elif self.format == VideoItem.MP4_AVI_FILE:
90 config.set ("settings", "format", "mpeg4")
91 elif self.format == VideoItem.MP3_FILE:
92 config.set ("settings", "format", "mp3")
208 elif value == "mpeg4":
209 self._format = VideoItem.MP4_AVI_FILE
210 elif value == "mp3":
211 self._format = VideoItem.MP3_FILE
twilio_rest.ml (https://github.com/skydeck/twilio-ocaml.git) OCaml · 282 lines
bitstream.o.d (https://github.com/Kyborg2011/SoxPlayer.git) D · 149 lines
1 /home/user/Dropbox/workspace/w/HelloNDK/obj/local/armeabi/objs-debug/mp3lame/bitstream.o: \
2 /home/user/Dropbox/workspace/w/HelloNDK/jni/sox/lame-3.98.4/libmp3lame/bitstream.c \
22 /home/user/android-ndk-r5b/platforms/android-3/arch-arm/usr/include/memory.h \
23 /home/user/android-ndk-r5b/platforms/android-3/arch-arm/usr/include/stdio.h \
24 /home/user/Dropbox/workspace/w/HelloNDK/jni/sox/lame-3.98.4/libmp3lame/../include/lame.h \
25 /home/user/Dropbox/workspace/w/HelloNDK/jni/sox/lame-3.98.4/libmp3lame/machine.h \
26 /home/user/Dropbox/workspace/w/HelloNDK/jni/sox/lame-3.98.4/libmp3lame/version.h \
27 /home/user/android-ndk-r5b/platforms/android-3/arch-arm/usr/include/assert.h \
28 /home/user/android-ndk-r5b/platforms/android-3/arch-arm/usr/include/math.h \
40 /home/user/android-ndk-r5b/platforms/android-3/arch-arm/usr/include/endian.h \
41 /home/user/android-ndk-r5b/platforms/android-3/arch-arm/usr/include/sys/endian.h \
42 /home/user/Dropbox/workspace/w/HelloNDK/jni/sox/lame-3.98.4/libmp3lame/encoder.h \
43 /home/user/Dropbox/workspace/w/HelloNDK/jni/sox/lame-3.98.4/libmp3lame/util.h \
44 /home/user/Dropbox/workspace/w/HelloNDK/jni/sox/lame-3.98.4/libmp3lame/l3side.h \
45 /home/user/Dropbox/workspace/w/HelloNDK/jni/sox/lame-3.98.4/libmp3lame/id3tag.h \
bitstream.o.d (https://github.com/Kyborg2011/SoxPlayer.git) D · 149 lines
1 /home/anton/SoxPlayer/obj/local/armeabi/objs/mp3lame/bitstream.o: \
2 /home/anton/SoxPlayer/jni/sox/lame-3.98.4/libmp3lame/bitstream.c \
22 /home/anton/android-ndk-r5b/platforms/android-3/arch-arm/usr/include/memory.h \
23 /home/anton/android-ndk-r5b/platforms/android-3/arch-arm/usr/include/stdio.h \
24 /home/anton/SoxPlayer/jni/sox/lame-3.98.4/libmp3lame/../include/lame.h \
25 /home/anton/SoxPlayer/jni/sox/lame-3.98.4/libmp3lame/machine.h \
26 /home/anton/SoxPlayer/jni/sox/lame-3.98.4/libmp3lame/version.h \
27 /home/anton/android-ndk-r5b/platforms/android-3/arch-arm/usr/include/assert.h \
28 /home/anton/android-ndk-r5b/platforms/android-3/arch-arm/usr/include/math.h \
40 /home/anton/android-ndk-r5b/platforms/android-3/arch-arm/usr/include/endian.h \
41 /home/anton/android-ndk-r5b/platforms/android-3/arch-arm/usr/include/sys/endian.h \
42 /home/anton/SoxPlayer/jni/sox/lame-3.98.4/libmp3lame/encoder.h \
43 /home/anton/SoxPlayer/jni/sox/lame-3.98.4/libmp3lame/util.h \
44 /home/anton/SoxPlayer/jni/sox/lame-3.98.4/libmp3lame/l3side.h \
45 /home/anton/SoxPlayer/jni/sox/lame-3.98.4/libmp3lame/id3tag.h \
declare.js (https://github.com/Deaygo/Diomedes-playbook.git) JavaScript · 408 lines
package-use.html (https://github.com/dlbeswick/vanilla.git) HTML · 217 lines
84 </TR>
85 <TR BGCOLOR="white" CLASS="TableRowColor">
86 <TD><A HREF="#org.farng.mp3"><B>org.farng.mp3</B></A></TD>
87 <TD>Start with AbstractMP3Tag or MP3File </TD>
98 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
99 <TD COLSPAN=2><FONT SIZE="+2">
100 Classes in <A HREF="../../../../org/farng/mp3/filename/package-summary.html">org.farng.mp3.filename</A> used by <A HREF="../../../../org/farng/mp3/package-summary.html">org.farng.mp3</A></FONT></TD>
101 </TR>
102 <TR BGCOLOR="white" CLASS="TableRowColor">
113 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
114 <TD COLSPAN=2><FONT SIZE="+2">
115 Classes in <A HREF="../../../../org/farng/mp3/filename/package-summary.html">org.farng.mp3.filename</A> used by <A HREF="../../../../org/farng/mp3/filename/package-summary.html">org.farng.mp3.filename</A></FONT></TD>
116 </TR>
117 <TR BGCOLOR="white" CLASS="TableRowColor">
128 </TR>
129 <TR BGCOLOR="white" CLASS="TableRowColor">
130 <TD><B><A HREF="../../../../org/farng/mp3/filename/class-use/FilenameEndWordDelimiter.html#org.farng.mp3.filename"><B>FilenameEndWordDelimiter</B></A></B>
132 <BR>
amd_sfh_hid_desc.c (https://github.com/andikleen/linux-misc.git) C · 224 lines
41 break;
42 case mag_idx: /* Magnetometer */
43 memset(rep_desc, 0, sizeof(comp3_report_descriptor));
44 memcpy(rep_desc, comp3_report_descriptor,
45 sizeof(comp3_report_descriptor));
46 break;
47 case als_idx: /* ambient light sensor */
82 switch (descriptor_name) {
83 case descr_size:
84 return sizeof(comp3_report_descriptor);
85 case input_size:
86 return sizeof(struct magno_input_report);
ContentType.java (https://github.com/integralnd/android_frameworks_base.git) Java · 222 lines
46 public static final String AUDIO_MID = "audio/mid";
47 public static final String AUDIO_MIDI = "audio/midi";
48 public static final String AUDIO_MP3 = "audio/mp3";
49 public static final String AUDIO_MPEG3 = "audio/mpeg3";
50 public static final String AUDIO_MPEG = "audio/mpeg";
53 public static final String AUDIO_X_MID = "audio/x-mid";
54 public static final String AUDIO_X_MIDI = "audio/x-midi";
55 public static final String AUDIO_X_MP3 = "audio/x-mp3";
56 public static final String AUDIO_X_MPEG3 = "audio/x-mpeg3";
57 public static final String AUDIO_X_MPEG = "audio/x-mpeg";
96 sSupportedContentTypes.add(AUDIO_MID);
97 sSupportedContentTypes.add(AUDIO_MIDI);
98 sSupportedContentTypes.add(AUDIO_MP3);
99 sSupportedContentTypes.add(AUDIO_MPEG3);
100 sSupportedContentTypes.add(AUDIO_MPEG);
bta_sdp_api.d (https://github.com/kodera2t/ESP32_OLED_webradio.git) D · 278 lines
2 /Users/kodera2t/esp/esp-idf/components/bt/bluedroid/bta/sdp/bta_sdp_api.c \
3 /Users/kodera2t/esp/esp-idf/components/bt/bluedroid/include/bt_target.h \
4 /Users/kodera2t/esp/ESP32_OLED_MP3_Decoder/build/include/sdkconfig.h \
5 /Users/kodera2t/esp/esp-idf/components/bt/bluedroid/stack/include/bt_types.h \
6 /Users/kodera2t/esp/esp-idf/components/newlib/include/stdint.h \
96 /Users/kodera2t/esp/esp-idf/components/bt/bluedroid/include/bt_target.h:
98 /Users/kodera2t/esp/ESP32_OLED_MP3_Decoder/build/include/sdkconfig.h:
100 /Users/kodera2t/esp/esp-idf/components/bt/bluedroid/stack/include/bt_types.h:
mainwindow.cpp (https://github.com/sapr-bntu/Mediaplayer.git) C++ · 185 lines
37 metaInformationResolver = new Phonon::MediaObject(this);
38 Phonon::createPath(mediaObject, audioOutput);
39 Phonon::MediaSource source("Kalimba.mp3");
40 mediaObject->setCurrentSource(source);
41 seekSlider = new Phonon::SeekSlider(this);
164 {
165 QString fileName = QFileDialog::getOpenFileName(this,
166 tr("Open Image"), "", tr("Musik Files (*.mp3 *.wav *.ogg)"));
167 qDebug()<<fileName;
168 QSqlQuery quer;
Customer.java (https://github.com/kwilkos/cxf.git) Java · 333 lines
CustomPropertyAccess.java (https://github.com/CodingFabian/hibernate-core.git) Java · 135 lines
44 private long timestamp1;
45 private long timestamp2;
46 private long timestamp3;
48 public void configure(Ejb3Configuration cfg) {
76 em.getTransaction().commit();
78 timestamp3 = System.currentTimeMillis();
79 }
104 assert vr.getRevisionDate(vr.getRevisionNumberForDate(new Date(timestamp2)).intValue()+1).getTime() > timestamp2;
106 assert vr.getRevisionDate(vr.getRevisionNumberForDate(new Date(timestamp3))).getTime() <= timestamp3;
107 }
encode.py (https://github.com/PierreAronnax/headphones.git) Python · 136 lines
52 infoMusic=MediaFile(music)
53 if headphones.ENCODER == 'lame':
54 if not any(music.lower().endswith('.' + x) for x in ["mp3", "wav"]):
55 logger.warn('Lame cant encode "%s" format for "%s", use ffmpeg' % (os.path.splitext(music)[1],music))
56 else:
57 if (music.lower().endswith('.mp3') and (infoMusic.bitrate/1000<=headphones.BITRATE)):
58 logger.warn('Music "%s" has bitrate<="%skbit" will not be reencoded' % (music,headphones.BITRATE))
59 else:
67 command(encoder,music,musicTempFiles[i],albumPath)
68 ifencoded=1
69 elif (headphones.ENCODEROUTPUTFORMAT=='mp3' or headphones.ENCODEROUTPUTFORMAT=='m4a'):
70 if (music.lower().endswith('.'+headphones.ENCODEROUTPUTFORMAT) and (infoMusic.bitrate/1000<=headphones.BITRATE)):
71 logger.warn('Music "%s" has bitrate<="%skbit" will not be reencoded' % (music,headphones.BITRATE))
Manip.scala (https://github.com/renaissance-benchmarks/renaissance.git) Scala · 318 lines
93 val tmp1 = ft(z, ite)
94 val tmp2 = foldPreorder(c, tmp1, bv)(ff, ft)
95 val tmp3 = foldPreorder(t, tmp2, bv)(ff, ft)
96 foldPreorder(e, tmp3, bv)(ff, ft)
113 val tmp1 = foldPostorder(c, z, bv)(ff, ft)
114 val tmp2 = foldPostorder(t, tmp1, bv)(ff, ft)
115 val tmp3 = foldPostorder(e, tmp2, bv)(ff, ft)
116 ft(tmp3, ite)
fa_libav.c (https://github.com/bielorkut/showtime.git) C · 237 lines
mp3enc.o.d (https://github.com/Kyborg2011/SoxPlayer.git) D · 278 lines
jagenLayer.m (https://github.com/nokia6102/chicken51.git) Objective C · 143 lines
AlignmentInColumnsConfig.java (https://github.com/machak/intellij-community.git) Java · 101 lines
user_spec.rb (https://github.com/gkeary/sample_app.git) Ruby · 280 lines
210 it "should not include a different user's microposts" do
211 mp3= Factory(:micropost,
212 user: Factory(:user, email: Factory.next(:email)))
213 @user.feed.include?(mp3).should be_false
216 it "should include the microposts of followed users" do
217 followed = Factory(:user, email: Factory.next(:email))
218 mp3 = Factory(:micropost, user: followed)
219 @user.follow!(followed)
220 @user.feed.should include(mp3)
structaudiere_1_1FileFormatDesc.html (https://github.com/Bananattack/audiere.git) HTML · 104 lines
MpegAudioFileFormat.java (https://github.com/simensan/playn.git) Java · 106 lines
2 * MpegAudioFileFormat.
3 *
4 * JavaZOOM : mp3spi@javazoom.net
5 * http://www.javazoom.net
6 *
48 /**
49 * MP3 audio file format parameters.
50 * Some parameters might be unavailable. So availability test is required before reading any parameter.
51 *
60 * <li><b>comment</b> [String], Comment of the stream.
61 * </ul>
62 * <br>MP3 parameters.
63 * <ul>
64 * <li><b>mp3.version.mpeg</b> [String], mpeg version : 1,2 or 2.5
ObjectStringNullTerminated.html (https://github.com/dlbeswick/vanilla.git) HTML · 170 lines
94 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
95 <TD COLSPAN=2><FONT SIZE="+2">
96 Uses of <A HREF="../../../../../org/farng/mp3/object/ObjectStringNullTerminated.html" title="class in org.farng.mp3.object">ObjectStringNullTerminated</A> in <A HREF="../../../../../org/farng/mp3/object/package-summary.html">org.farng.mp3.object</A></FONT></TD>
97 </TR>
98 </TABLE>
102 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
103 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
104 <TD COLSPAN=2>Constructors in <A HREF="../../../../../org/farng/mp3/object/package-summary.html">org.farng.mp3.object</A> with parameters of type <A HREF="../../../../../org/farng/mp3/object/ObjectStringNullTerminated.html" title="class in org.farng.mp3.object">ObjectStringNullTerminated</A></FONT></TD>
105 </TR>
106 <TR BGCOLOR="white" CLASS="TableRowColor">
107 <TD><CODE><B><A HREF="../../../../../org/farng/mp3/object/ObjectStringNullTerminated.html#ObjectStringNullTerminated(org.farng.mp3.object.ObjectStringNullTerminated)">ObjectStringNullTerminated</A></B>(<A HREF="../../../../../org/farng/mp3/object/ObjectStringNullTerminated.html" title="class in org.farng.mp3.object">ObjectStringNullTerminated</A> object)</CODE>
109 <BR>
package-tree.html (https://github.com/dlbeswick/vanilla.git) HTML · 156 lines
86 <UL>
87 <LI TYPE="circle">class java.lang.Object<UL>
88 <LI TYPE="circle">class org.farng.mp3.filename.<A HREF="../../../../org/farng/mp3/filename/AbstractFilenameComposite.html" title="class in org.farng.mp3.filename"><B>AbstractFilenameComposite</B></A><UL>
89 <LI TYPE="circle">class org.farng.mp3.filename.<A HREF="../../../../org/farng/mp3/filename/FilenameDelimiter.html" title="class in org.farng.mp3.filename"><B>FilenameDelimiter</B></A><UL>
90 <LI TYPE="circle">class org.farng.mp3.filename.<A HREF="../../../../org/farng/mp3/filename/FilenameEndWordDelimiter.html" title="class in org.farng.mp3.filename"><B>FilenameEndWordDelimiter</B></A><LI TYPE="circle">class org.farng.mp3.filename.<A HREF="../../../../org/farng/mp3/filename/FilenameParenthesis.html" title="class in org.farng.mp3.filename"><B>FilenameParenthesis</B></A><LI TYPE="circle">class org.farng.mp3.filename.<A HREF="../../../../org/farng/mp3/filename/FilenameStartWordDelimiter.html" title="class in org.farng.mp3.filename"><B>FilenameStartWordDelimiter</B></A></UL>
91 <LI TYPE="circle">class org.farng.mp3.filename.<A HREF="../../../../org/farng/mp3/filename/FilenameToken.html" title="class in org.farng.mp3.filename"><B>FilenameToken</B></A></UL>
92 <LI TYPE="circle">class org.farng.mp3.<A HREF="../../../../org/farng/mp3/AbstractMP3FileItem.html" title="class in org.farng.mp3"><B>AbstractMP3FileItem</B></A><UL>
93 <LI TYPE="circle">class org.farng.mp3.<A HREF="../../../../org/farng/mp3/AbstractMP3Tag.html" title="class in org.farng.mp3"><B>AbstractMP3Tag</B></A><UL>
94 <LI TYPE="circle">class org.farng.mp3.filename.<A HREF="../../../../org/farng/mp3/filename/FilenameTag.html" title="class in org.farng.mp3.filename"><B>FilenameTag</B></A></UL>
95 </UL>
96 <LI TYPE="circle">class org.farng.mp3.filename.<A HREF="../../../../org/farng/mp3/filename/FilenameDelimiterIterator.html" title="class in org.farng.mp3.filename"><B>FilenameDelimiterIterator</B></A> (implements java.util.Iterator)
97 <LI TYPE="circle">class org.farng.mp3.filename.<A HREF="../../../../org/farng/mp3/filename/FilenameParenthesisIterator.html" title="class in org.farng.mp3.filename"><B>FilenameParenthesisIterator</B></A> (implements java.util.Iterator)
98 <LI TYPE="circle">class org.farng.mp3.filename.<A HREF="../../../../org/farng/mp3/filename/FilenameTagBuilder.html" title="class in org.farng.mp3.filename"><B>FilenameTagBuilder</B></A><LI TYPE="circle">class org.farng.mp3.filename.<A HREF="../../../../org/farng/mp3/filename/FilenameTokenIterator.html" title="class in org.farng.mp3.filename"><B>FilenameTokenIterator</B></A> (implements java.util.Iterator)
99 </UL>
100 </UL>
h264bsd_transform.c (https://github.com/mbebenita/Broadway.git) C · 402 lines
97 /* Variables */
99 i32 tmp0, tmp1, tmp2, tmp3;
100 i32 d1, d2, d3;
101 u32 row,col;
108 tmp1 = levelScale[qpMod6[qp]][0] << qpDiv;
109 tmp2 = levelScale[qpMod6[qp]][1] << qpDiv;
110 tmp3 = levelScale[qpMod6[qp]][2] << qpDiv;
112 if (!skip)
123 data[1] = (d1 * tmp2);
124 data[14] = (d2 * tmp2);
125 data[15] = (d3 * tmp3);
127 d1 = data[2];
jogo.py (https://github.com/RodrigoTjader/avanabene.git) Python · 150 lines
BASS_BFX_ECHO3.cpp (https://github.com/jerome-jouvie/NativeBass.git) C++ · 125 lines
16 * BASS is an audio library for use in Windows and Mac OSX software.
17 * Its purpose is to provide developers with the most powerful and
18 * efficient (yet easy to use), sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF,
19 * custom generated, and more via add-ons), MOD music (XM, IT, S3M, MOD, MTM, UMX),
20 * MO3 music (MP3/OGG compressed MODs),
extract-files.sh (https://github.com/elgomes/CyanogenMod_ZTE_Mooncake.git) Shell · 181 lines
80 adb pull /system/lib/libOmxWmaDec.so ../../../vendor/zte/$DEVICE/proprietary/libOmxWmaDec.so
81 adb pull /system/lib/libOmxQcelp13Enc.so ../../../vendor/zte/$DEVICE/proprietary/libOmxQcelp13Enc.so
82 adb pull /system/lib/libOmxMp3Dec.so ../../../vendor/zte/$DEVICE/proprietary/libOmxMp3Dec.so
83 adb pull /system/lib/libOmxMpeg4Dec.so ../../../vendor/zte/$DEVICE/proprietary/libOmxMpeg4Dec.so
84 adb pull /system/lib/libOmxVidEnc.so ../../../vendor/zte/$DEVICE/proprietary/libOmxVidEnc.so
91 adb pull /system/lib/libomx_avcdec_sharedlibrary.so ../../../vendor/zte/$DEVICE/proprietary/libomx_avcdec_sharedlibrary.so
92 adb pull /system/lib/libomx_m4vdec_sharedlibrary.so ../../../vendor/zte/$DEVICE/proprietary/libomx_m4vdec_sharedlibrary.so
93 adb pull /system/lib/libomx_mp3dec_sharedlibrary.so ../../../vendor/zte/$DEVICE/proprietary/libomx_mp3dec_sharedlibrary.so
94 adb pull /system/lib/libomx_sharedlibrary.so ../../../vendor/zte/$DEVICE/proprietary/libomx_sharedlibrary.so
161 vendor/zte/__DEVICE__/proprietary/libOmxWmaDec.so:/system/lib/libOmxWmaDec.so \\
162 vendor/zte/__DEVICE__/proprietary/libOmxQcelp13Enc.so:/system/lib/libOmxQcelp13Enc.so \\
163 vendor/zte/__DEVICE__/proprietary/libOmxMp3Dec.so:/system/lib/libOmxMp3Dec.so \\
164 vendor/zte/__DEVICE__/proprietary/libOmxMpeg4Dec.so:/system/lib/libOmxMpeg4Dec.so \\
165 vendor/zte/__DEVICE__/proprietary/libOmxVidEnc.so:/system/lib/libOmxVidEnc.so \\
remote.php (https://github.com/AzuraCast/AzuraCast.git) PHP · 202 lines
50 'description' => __(
51 'Example: if the remote radio URL is %s, enter <code>%s</code>.',
52 'http://station.example.com:8000/radio.mp3',
53 'http://station.example.com:8000'
54 ),
64 'description' => __(
65 'Specify a mountpoint (i.e. <code>%s</code>) or a Shoutcast SID (i.e. <code>%s</code>) to specify a specific stream to use for statistics or broadcasting.',
66 '/radio.mp3',
67 '2'
68 ),
106 'label' => __('AutoDJ Format'),
107 'choices' => [
108 StationRemote::FORMAT_MP3 => 'MP3',
109 StationRemote::FORMAT_OGG => 'OGG Vorbis',
110 StationRemote::FORMAT_AAC => 'AAC+ (MPEG4 HE-AAC v2)',
main.rb (https://github.com/iraklisrossis/MoSync.git) Ruby · 174 lines
component.js (https://github.com/shanti/olio.git) JavaScript · 165 lines
edit.html.erb (https://github.com/zorigoo/alonetone.git) Ruby HTML · 122 lines
47 <div id="edit_login" class="static_content" style="display:none">
48 Enter your new login. <br/>
49 WARNING: Changing this will break any mp3 players
50 you or anyone else has put on the web, as well as any links anyone has passed around
51 to your music, as well as confuse google about where your music is for a few weeks.<br/>
routes.rb (https://github.com/robustdj/alonetone.git) Ruby · 108 lines
31 map.connect '/latest.:format', :controller => 'assets', :action => 'latest'
33 # latest mp3s uploaded site-wide
34 map.latest '/latest/:latest', :controller => 'assets', :action => 'latest'
54 :controller => 'assets',
55 :action => 'hot_track',
56 :format => 'mp3'
58 map.user_plus ':login/plus', :controller => 'source_files', :action => 'index'
tile_codegen_for_dependent.cpp (https://github.com/KhronosGroup/libclcxx.git) C++ · 193 lines
47 // IR-NEXT: %[[TMP2:.+]] = load i32, i32* %[[START_ADDR]], align 4
48 // IR-NEXT: store i32 %[[TMP2]], i32* %[[DOTCAPTURE_EXPR_]], align 4
49 // IR-NEXT: %[[TMP3:.+]] = load i32, i32* %[[END_ADDR]], align 4
50 // IR-NEXT: store i32 %[[TMP3]], i32* %[[DOTCAPTURE_EXPR_1]], align 4
148 // IR-NEXT: %[[ADD28:.+]] = add i32 %[[TMP27]], %[[MUL27]]
149 // IR-NEXT: store i32 %[[ADD28]], i32* %[[I]], align 4
150 // IR-NEXT: %[[TMP30:.+]] = load i32, i32* %[[START_ADDR]], align 4
151 // IR-NEXT: %[[TMP31:.+]] = load i32, i32* %[[END_ADDR]], align 4
152 // IR-NEXT: %[[TMP32:.+]] = load i32, i32* %[[STEP_ADDR]], align 4
153 // IR-NEXT: %[[TMP33:.+]] = load i32, i32* %[[I]], align 4
154 // IR-NEXT: call void (...) @body(i32 %[[TMP30]], i32 %[[TMP31]], i32 %[[TMP32]], i32 %[[TMP33]])
155 // IR-NEXT: br label %[[FOR_INC:.+]]
156 // IR-EMPTY:
AggregateFilenameInfoFixture.cs (https://github.com/lidarr/Lidarr.git) C# · 206 lines
42 var release = GivenTracks(new List<string>
43 {
44 "Adele - 19 - 101 - Daydreamer.mp3",
45 "Adele - 19 - 102 - Best for Last.mp3",
46 "Adele - 19 - 103 - Chasing Pavements.mp3",
47 "Adele - 19 - 203 - That's It, I Quit, I'm Moving On.mp3"
154 }
156 outp.Add(string.Join(fieldSeparator, components) + ".mp3");
157 }
scenenode.js (https://github.com/Callaghan/c3dl.git) JavaScript · 304 lines
265 var numverts = 0;
266 var temp2 = [],
267 temp3 = [];
268 c3dl.pushMatrix();
269 if (!first)c3dl.multMatrix(this.getTransform());
277 var temp = this.children[i].getPrimitiveSets()[j].getBoundingVolume().getMaxMins();
278 temp2 = c3dl.multiplyMatrixByVector(c3dl.peekMatrix(), [temp[0], temp[2], temp[4]]);
279 temp3 = c3dl.multiplyMatrixByVector(c3dl.peekMatrix(), [temp[1], temp[3], temp[5]]);
280 allverts.push(temp2[0]);
281 allverts.push(temp2[1]);
282 allverts.push(temp2[2]);
283 allverts.push(temp3[0]);
284 allverts.push(temp3[1]);
285 allverts.push(temp3[2]);
286 }
287 }
Mp3Recorder.java (https://github.com/pinguo-sunjianfei/Android-Application-ZJB.git) Java · 233 lines
12 import java.io.IOException;
14 public class Mp3Recorder {
16 private static final String TAG = Mp3Recorder.class.getSimpleName();
19 static {
20 System.loadLibrary("mp3lame");
21 }
25 private static final int FRAME_COUNT = 160;
27 /* Encoded bit rate. MP3 file will be encoded with bit rate 32kbps */
28 private static final int BIT_RATE = 32;
aw_registry_table.c (https://github.com/allwinner-zh/media-codec.git) C · 670 lines
FuseByteCacheTest.kt (https://github.com/kittinunf/Fuse.git) Kotlin · 261 lines
Utils.cs (https://github.com/2881099/FightLandlord.git) C# · 634 lines
86 var gb3 = gb.Where(a => a.count == 3).OrderBy(a => a.key);
87 var gb1 = gb.Where(a => a.count == 1).OrderBy(a => a.key);
88 var tmp3 = new List<int>();
89 int cv = 0;
90 foreach (var g in gb3) {
91 var gpk = g.poker.OrderByDescending(a => a);
92 tmp3.AddRange(gpk);
93 cv = g.key;
94 }
95 var tmp1 = new List<int>();
96 foreach (var g in gb1) tmp1.Add(g.poker.First());
97 var value = tmp3.Concat(tmp1).ToArray();
98 return new HandPokerComplieResult { type = type, compareValue = cv, value = value, text = GetPokerText(value) };
99 }
MainWindow.xaml.cs (https://github.com/jacobjohnston/wpfsvl.git) C# · 207 lines
MySrvTwitterActionTest.java (https://github.com/nguillaumin/nabaztag-server.git) Java · 221 lines
TaglibReadWriteTests.cs (https://github.com/petejohanson/banshee.git) C# · 227 lines
tourparser.test.js (https://github.com/ngageoint/opensphere.git) JavaScript · 280 lines
AtomStandaloneEntryTest.php (https://github.com/Ocramius/zf2.git) PHP · 269 lines
OptOMirror.cc (https://github.com/abbasafsar/cmssw.git) C++ · 210 lines
31 std::cout << "LR: DETAILED REFLECTION IN MIRROR " << name() << std::endl;
32 if (ALIUtils::debug >= 3)
33 ALIUtils::dump3v(centreGlob(), " centre Global ");
35 //---------- Get forward plate and intersect lightray with it
91 if (ALIUtils::debug >= 2) {
92 ALIUtils::dump3v(ipcV, " intersection - plate_centre std::vector ");
93 std::cout << "rotation Axis " << rotationAxis << std::endl;
94 std::cout << " plate normal at intersection point " << inters_normal << std::endl;
user_spec.rb (https://github.com/diegopacheco/rails3-tutorial-sample-app.git) Ruby · 276 lines
190 it "should not include a different user's microposts" do
191 mp3 = Factory(:micropost,:user => Factory(:user,:email => Factory.next(:email)))
192 @user.feed.include?(mp3).should be_false
195 it "should include the microposts of followed users" do
196 followed = Factory(:user, :email => Factory.next(:email))
197 mp3 = Factory(:micropost, :user => followed)
198 @user.follow!(followed)
199 @user.feed.should include(mp3)
jquery_file_tree.css (git://github.com/infinitas/infinitas.git) CSS · 146 lines
116 .jqueryFileTree LI.ext_m4p { background: url(/filemanager/img/jquery_file_tree/music.png) left top no-repeat; }
117 .jqueryFileTree LI.ext_mov { background: url(/filemanager/img/jquery_file_tree/film.png) left top no-repeat; }
118 .jqueryFileTree LI.ext_mp3 { background: url(/filemanager/img/jquery_file_tree/music.png) left top no-repeat; }
119 .jqueryFileTree LI.ext_mp4 { background: url(/filemanager/img/jquery_file_tree/film.png) left top no-repeat; }
120 .jqueryFileTree LI.ext_mpg { background: url(/filemanager/img/jquery_file_tree/film.png) left top no-repeat; }
FlxSound.cs (git://github.com/StAidan/X-flixel.git) C# · 313 lines
ob_mci.cpp (https://github.com/dadymax/BrainBay.git) C++ · 329 lines
82 MCIWndSetTimeFormat(st->m_video ,"ms");
83 MCIWndSetActiveTimer(st->m_video,500);
84 if ((!strstr(st->mcifile,".mp3")) && (!strstr(st->mcifile,".wav")))
85 SetWindowPos(st->m_video,HWND_TOPMOST,st->left,st->top,st->left+prc.right-prc.left,st->top+prc.bottom-prc.top,SWP_SHOWWINDOW);
86 else ShowWindow(st->m_video,FALSE);
212 MCIWndSetTimeFormat(m_video ,"ms");
213 MCIWndSetActiveTimer(m_video,500);
214 if ((!strstr(mcifile,".mp3")) && (!strstr(mcifile,".wav"))) SetWindowPos(m_video,HWND_TOPMOST,left,top,right-left,bottom-top,SWP_SHOWWINDOW);
215 else ShowWindow(m_video,FALSE);
216 }
user_spec.rb (https://github.com/andrewrobbins/sample_app.git) Ruby · 285 lines
178 it "should not include a different user's microposts" do
179 mp3 = Factory(:micropost,
180 :user => Factory(:user, :email => Factory.next(:email)))
181 @user.feed.should_not include(mp3)
184 it "should include the microposts of followed users" do
185 followed = Factory(:user, :email => Factory.next(:email))
186 mp3 = Factory(:micropost, :user => followed)
187 @user.follow!(followed)
188 @user.feed.should include(mp3)
kprobes.h (https://github.com/srikard/linux.git) C Header · 114 lines
regs-clkctrl.h (https://github.com/clearwater/linux-2.6-imx.git) C Header · 275 lines
BMPHoldingPond.java (https://github.com/davebenradford/LoadMapRenderer.git) Java · 231 lines
91 try{
92 double sqrtCattles = Math.sqrt(getCattles());
93 double temp3 = 2.232 * getCattles()+ 11.338 * sqrtCattles;
94 double temp = 3.72 * getCattles()+ _trenching * 7.94 * sqrtCattles + 0.844 * getDistance() +
95 _clay_liner * temp3;
97 double temp2 = (0.5 * 9.5 + 7.47) * temp3;
99 double max = 1.38e-10 * Math.pow(temp,2.0)
105 max *= 1.1483;
107 temp3 = 1.512 * getCattles()+ 9.332 * sqrtCattles;
108 temp = 2.52 * getCattles()+ _trenching * 6.54 * sqrtCattles + 0.844 * getDistance() +
109 _clay_liner * temp3;
MpegLayer3WaveFormatTests.cs (https://github.com/slau/ManagedMediaHelpers.git) C# · 242 lines
19 {
20 private WaveFormatExtensible wfx;
21 [SuppressMessage("Microsoft.StyleCop.CSharp.NamingRules", "SA1305:FieldNamesMustNotUseHungarianNotation", Justification = "mp3 is not hungarian notation and is common parlance")]
22 private MpegLayer3WaveFormat mp3wfx;
34 this.wfx.Size = 12;
36 this.mp3wfx = new MpegLayer3WaveFormat();
37 }
40 public void WaveFormatExtensibleTest()
41 {
42 this.mp3wfx.WaveFormatExtensible = this.wfx;
43 Assert.AreEqual(this.wfx, this.mp3wfx.WaveFormatExtensible);
47 public void WaveFormatExtensibleNullTest()
48 {
49 this.mp3wfx.WaveFormatExtensible = null;
50 Assert.AreEqual(null, this.mp3wfx.WaveFormatExtensible);
msm_qdsp6_audio.h (https://github.com/marc1706/cm-on-wince-htc.git) C Header · 110 lines
65 struct audio_client *q6voice_open(uint32_t flags, uint32_t acdb_id);
67 struct audio_client *q6audio_open_mp3(uint32_t bufsz, uint32_t rate,
68 uint32_t channels, uint32_t acdb_id);
70 int q6audio_close(struct audio_client *ac);
71 int q6voice_close(struct audio_client *ac);
72 int q6audio_mp3_close(struct audio_client *ac);
74 struct audio_client *q6fm_open(void);
Makefile (https://github.com/andygross/omap_dmm_tiler.git) Makefile · 119 lines
test.js (https://github.com/chromium/chromium.git) JavaScript · 140 lines
lighttpd.conf.php (https://github.com/jaz303/plumbing.php.git) PHP · 85 lines
MediaExtractor.cpp (https://github.com/antslava/platform_frameworks_base.git) C++ · 100 lines
21 #include "include/AMRExtractor.h"
22 #include "include/MP3Extractor.h"
23 #include "include/MPEG4Extractor.h"
24 #include "include/WAVExtractor.h"
81 return new MPEG4Extractor(source);
82 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_MPEG)) {
83 return new MP3Extractor(source, meta);
84 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_NB)
85 || !strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_WB)) {
aes_ige.c (https://github.com/bmeck/node.git) C · 301 lines
193 unsigned char tmp[AES_BLOCK_SIZE];
194 unsigned char tmp2[AES_BLOCK_SIZE];
195 unsigned char tmp3[AES_BLOCK_SIZE];
196 unsigned char prev[AES_BLOCK_SIZE];
197 const unsigned char *iv;
273 for (n = 0; n < AES_BLOCK_SIZE; ++n)
274 out[n] ^= iv[n];
275 memcpy(tmp3, tmp2, AES_BLOCK_SIZE);
276 iv = tmp3;
291 for (n = 0; n < AES_BLOCK_SIZE; ++n)
292 out[n] ^= iv[n];
293 memcpy(tmp3, tmp2, AES_BLOCK_SIZE);
294 iv = tmp3;
MessagesSupportedVendorMessageTest.java (https://github.com/r3n/limewire5-ruby.git) Java · 203 lines
94 new MessagesSupportedVendorMessage.SupportedMessageBlock(StringUtils.toAsciiBytes("NEIL"),
95 5, 5);
96 MessagesSupportedVendorMessage.SupportedMessageBlock smp3 =
97 new MessagesSupportedVendorMessage.SupportedMessageBlock(StringUtils.toAsciiBytes("DAWG"),
98 3, 3);
104 smp1.encode(baos);
105 smp2.encode(baos);
106 smp3.encode(baos);
107 smp3.encode(baos);
128 ByteUtils.short2leb((short)3, baos);
129 smp2.encode(baos);
130 smp3.encode(baos);
131 smp1.encode(baos);
147 new MessagesSupportedVendorMessage.SupportedMessageBlock(StringUtils.toAsciiBytes("NEIL"),
148 5, 5);
149 MessagesSupportedVendorMessage.SupportedMessageBlock smp3 =
150 new MessagesSupportedVendorMessage.SupportedMessageBlock(StringUtils.toAsciiBytes("DAWG"),
151 3, 3);
AppConfig.h (https://github.com/drowaudio/drowaudio.git) C Header · 194 lines
text_reader.php (https://github.com/atutor/atalker.git) PHP · 103 lines
33 $file_out = AT_SPEECH_DIR.'/'.$now.'.wav';
34 $file_out_mp3 = AT_SPEECH_DIR.$now.'.mp3';
35 $file_out_ogg = AT_SPEECH_DIR.$now.'.ogg';
36 $file_in = AT_SPEECH_DIR.$now.'.txt';
69 fclose($fp);
71 if($_POST['file_type'] == "mp3"){
72 $command = "text2wave $file_props $file_in -o $file_out -F 48000 -scale ".$_POST['volumn']."";
73 if(shell_exec('lame --longhelp')){
74 $command2 = 'lame --quiet '.$file_out.' '. $file_out_mp3;
75 }else if (shell_exec('bladeenc -h')) {
76 $command2 = 'bladeenc -quiet '.$file_out.' '. $file_out_mp3;
test_pv_player_engine_config_ext.h (https://github.com/Jib-BAOSP/platform_external_opencore.git) C Header · 80 lines
file_util_icu_unittest.cc (https://github.com/snowlesswinter/framework.git) C++ · 84 lines
56 {L"\t bad*file?name/.jpg ", L"bad-file-name-.jpg"},
57 #endif
58 {L"this_file_name is okay!.mp3", L"this_file_name is okay!.mp3"},
59 {L"\u4E00\uAC00.mp3", L"\u4E00\uAC00.mp3"},
60 {L"\u0635\u200C\u0644.mp3", L"\u0635\u200C\u0644.mp3"},
61 {L"\U00010330\U00010331.mp3", L"\U00010330\U00010331.mp3"},
62 // Unassigned codepoints are ok.
63 {L"\u0378\U00040001.mp3", L"\u0378\U00040001.mp3"},
64 // Non-characters are not allowed.
65 {L"bad\uFFFFfile\U0010FFFEname.jpg ", L"bad-file-name.jpg"},
pc87360.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 1715 lines
✨ Summary
This C code implements a Linux kernel module that provides hardware monitoring for PC8736x motherboards. It registers a platform driver to interact with the motherboard’s I/O ports and registers resources for the device. The module initializes and exits when loaded/unloaded, and it detects the presence of a logical device on the motherboard.
This C code implements a Linux kernel module that provides hardware monitoring for PC8736x motherboards. It registers a platform driver to interact with the motherboard’s I/O ports and registers resources for the device. The module initializes and exits when loaded/unloaded, and it detects the presence of a logical device on the motherboard.
865 SENSOR_ATTR(temp1_input, S_IRUGO, show_temp_input, NULL, 0),
866 SENSOR_ATTR(temp2_input, S_IRUGO, show_temp_input, NULL, 1),
867 SENSOR_ATTR(temp3_input, S_IRUGO, show_temp_input, NULL, 2),
868 };
869 static struct sensor_device_attribute temp_status[] = {
870 SENSOR_ATTR(temp1_status, S_IRUGO, show_temp_status, NULL, 0),
871 SENSOR_ATTR(temp2_status, S_IRUGO, show_temp_status, NULL, 1),
872 SENSOR_ATTR(temp3_status, S_IRUGO, show_temp_status, NULL, 2),
873 };
874 static struct sensor_device_attribute temp_min[] = {
877 SENSOR_ATTR(temp2_min, S_IRUGO | S_IWUSR,
878 show_temp_min, set_temp_min, 1),
879 SENSOR_ATTR(temp3_min, S_IRUGO | S_IWUSR,
880 show_temp_min, set_temp_min, 2),
881 };
actionscript.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 830 lines
n8x0_defconfig (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 1105 lines
dictionaries.xml (http://softkeyboard.googlecode.com/svn/) XML · 4 lines
SpeechRecognizerViaFilePocketSphinx.java
(git://github.com/cesine/AndroidPocketSphinx.git)
Java · 52 lines
✨ Summary
This Java class provides access to a speech recognition service using PocketSphinx, allowing users to recognize speech from an MP3 file on their device. It is designed to be used in conjunction with other Android classes and must be instantiated through another method. The class’s methods are intended to be called only from the main application thread.
This Java class provides access to a speech recognition service using PocketSphinx, allowing users to recognize speech from an MP3 file on their device. It is designed to be used in conjunction with other Android classes and must be instantiated through another method. The class’s methods are intended to be called only from the main application thread.
23 /**
24 * This class provides access to the speech recognition service to run on an MP3 file which is present on the device. This service allows access to the
25 * speech recognizer. Do not instantiate this class directly, instead, call
26 * {@link SpeechRecognizerViaFilePocketSphinx#createSpeechRecognizer(Context)}. This class's methods must be
via686a.c
(http://photon-android.googlecode.com/svn/)
C · 910 lines
✨ Summary
This C code implements a Linux kernel module that provides support for the VIA 686A sensor device, which is used to monitor system temperatures and other environmental conditions. The module registers a PCI driver with the kernel, allowing the device to be detected and accessed by the operating system. It also handles various initialization and cleanup tasks, such as setting up platform devices and registering/unregistering the driver.
This C code implements a Linux kernel module that provides support for the VIA 686A sensor device, which is used to monitor system temperatures and other environmental conditions. The module registers a PCI driver with the kernel, allowing the device to be detected and accessed by the operating system. It also handles various initialization and cleanup tasks, such as setting up platform devices and registering/unregistering the driver.
91 #define VIA686A_REG_CONFIG 0x40
92 /* The following register sets temp interrupt mode (bits 1-0 for temp1,
93 3-2 for temp2, 5-4 for temp3). Modes are:
94 00 interrupt stays as long as value is out-of-range
95 01 interrupt is cleared once register is read (default)
549 static SENSOR_DEVICE_ATTR(temp1_alarm, S_IRUGO, show_alarm, NULL, 4);
550 static SENSOR_DEVICE_ATTR(temp2_alarm, S_IRUGO, show_alarm, NULL, 11);
551 static SENSOR_DEVICE_ATTR(temp3_alarm, S_IRUGO, show_alarm, NULL, 15);
552 static SENSOR_DEVICE_ATTR(fan1_alarm, S_IRUGO, show_alarm, NULL, 6);
553 static SENSOR_DEVICE_ATTR(fan2_alarm, S_IRUGO, show_alarm, NULL, 7);
585 &sensor_dev_attr_temp1_input.dev_attr.attr,
586 &sensor_dev_attr_temp2_input.dev_attr.attr,
587 &sensor_dev_attr_temp3_input.dev_attr.attr,
588 &sensor_dev_attr_temp1_max.dev_attr.attr,
589 &sensor_dev_attr_temp2_max.dev_attr.attr,
strings_thirdparty.xml (http://eyes-free.googlecode.com/svn/trunk/) XML · 36 lines
5 <string name="value_amazon_search" msgid="6434927954393699886">"Pretrai."</string>
6 <string name="template_amazon_quantity" msgid="6479878374510151419">"Koli?ina <xliff:g id="COUNT">%1$s</xliff:g>"</string>
7 <string name="template_amazon_mp3_buy_button" msgid="3211627160627972269">"Gumb za kupnju, <xliff:g id="TITLE">%1$s</xliff:g>"</string>
8 <string name="value_camera_magic_take_picture" msgid="3348188942968677220">"Okida?."</string>
9 <string name="value_camera_magic_zoom_slider" msgid="9068720508404801914">"Kliza? zuma."</string>
ModuleListForm.resx (https://hg01.codeplex.com/nbooks) Unknown · 188 lines
178 Ua1WyWKxyJLP5xME2+2WNpsNjcdjIbdYLF49QFeYCGAymRQBtWazWZacTqcgkGWZ1us1LZdLmk6nQgFG
179 y2azAgjJUAYlIEADtVotS3q9/ufhcKDdbkez2UyAh8Mh9Xo98ZQoBvAS8XhckBUKBTIYDE8SuxxDYjKZ
180 iDFAAi+gAAT4BtMQUILOIOWlIq1Wm4IH73iMr/waPRTN53NarVbCTBBcTAMQ3mAnVCrVSKfTfWMP3l83
181 kzfszm63fzcajY+5XE6QgAwG4ol5+yB5zyP/4JqP//wv+Gk+cTwoFIpnADEzKwQ4oNFoPr/ph0KRyWT6
182 wp0SDMxy3L8Z+L+FvwEjkXIpOLODJwAAAABJRU5ErkJggg==
Mp3Mgr.cpp
(https://jetpp.svn.sourceforge.net/svnroot/jetpp)
C++ · 488 lines
✨ Summary
This C++ code is a basic implementation of an MP3 player using the Windows API. It plays, pauses, and stops an MP3 file, checks if the file is still playing, and handles events related to the playback process. The code uses interfaces such as IMediaPosition
and IMediaControl
to interact with the media graph, which manages the playback of audio files.
This C++ code is a basic implementation of an MP3 player using the Windows API. It plays, pauses, and stops an MP3 file, checks if the file is still playing, and handles events related to the playback process. The code uses interfaces such as IMediaPosition
and IMediaControl
to interact with the media graph, which manages the playback of audio files.
47 Mp3Mgr = JE_RAM_ALLOCATE_STRUCT(jeMp3Mgr);
49 memset(Mp3Mgr, 0, sizeof(jeMp3Mgr));
51 // Initialise COM and the application
61 } // Mp3Mgr
63 JETAPI jeBoolean JETCC jeMp3_DestroyManager(jeMp3Mgr **Mp3Mgr)
64 {
65 //destroys the Mp3Manager
80 StopMp3();
81 for(i = 0; i < mp3->num_mp3s; i++)
82 {
83 mp3->files[i].szFileName = NULL;
175 sound data don't ever reside in memory as a static entity at a particular address.
176 As a result, this means that we have to use different kinds of techniques to manage
177 sounds processed by Mp3Mgr. Mp3Mgr accesses and uses the guts of the Windows Media
178 Player to manage streaming audio files, including mp3.
mime_types.xml (https://bitbucket.org/Exodus/viewer/) XML · 231 lines
ParleysContract.java
(http://parleys-android-nextgen.googlecode.com/svn/trunk/)
Java · 163 lines
✨ Summary
This Java code defines a contract for an Android app’s content, including tables for news, spaces, channels, and presentations. It provides constants for URIs, content types, and default sorts, as well as methods to build and parse URIs for each table. The contract is used to manage data storage and retrieval in the app.
This Java code defines a contract for an Android app’s content, including tables for news, spaces, channels, and presentations. It provides constants for URIs, content types, and default sorts, as well as methods to build and parse URIs for each table. The contract is used to manage data storage and retrieval in the app.
cpqphp_pci.c
(http://photon-android.googlecode.com/svn/)
C · 1560 lines
✨ Summary
This C code is part of a PCI (Peripheral Component Interconnect) hot plug management system. It manages resources allocated to a board, such as I/O, memory, and bus resources. The code sorts and combines these resources into a single list, allowing them to be returned to the available pool when the board is removed or replaced. It also destroys the resource lists when the board is no longer needed.
This C code is part of a PCI (Peripheral Component Interconnect) hot plug management system. It manages resources allocated to a board, such as I/O, memory, and bus resources. The code sorts and combines these resources into a single list, allowing them to be returned to the available pool when the board is removed or replaced. It also destroys the resource lists when the board is no longer needed.
55 void __iomem *fp;
56 void __iomem *endp;
57 u8 temp1, temp2, temp3, temp4;
58 int status = 0;
63 temp1 = readb(fp + SIG0);
64 temp2 = readb(fp + SIG1);
65 temp3 = readb(fp + SIG2);
66 temp4 = readb(fp + SIG3);
67 if (temp1 == '$' &&
68 temp2 == 'H' &&
69 temp3 == 'R' &&
70 temp4 == 'T') {
71 status = 1;