ALT Linux Bugzilla
– Attachment 1601 Details for
Bug 9869
libvisual-0.2 or libvisual-0.4
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
amarok-1.4.1-libvisual04.patch
amarok-1.4.1-libvisual04.patch (text/plain), 812 bytes, created by
Zerg
on 2006-08-20 17:32:09 MSD
(
hide
)
Description:
amarok-1.4.1-libvisual04.patch
Filename:
MIME Type:
Creator:
Zerg
Created:
2006-08-20 17:32:09 MSD
Size:
812 bytes
patch
obsolete
>--- amarok-1.4.1/amarok/src/vis/libvisual/libvisual.cpp~ 2006-07-02 23:37:44 +0400 >+++ amarok-1.4.1/amarok/src/vis/libvisual/libvisual.cpp 2006-08-20 16:44:15 +0400 >@@ -301,12 +301,11 @@ namespace LibVisual > static int > upload_callback( VisInput*, VisAudio *audio, void* ) > { >- for( uint i = 0; i < 1024; i+=2 ) >- { >- // amarok provides us with dual channel interleaved PCM >- audio->plugpcm[0][i] = pcm_data[i]; >- audio->plugpcm[1][i] = pcm_data[i+1]; >- } >+ VisBuffer buf; >+ >+ visual_buffer_init( &buf, pcm_data, 1024, 0 ); >+ visual_audio_samplepool_input( audio->samplepool, &buf, VISUAL_AUDIO_SAMPLE_RATE_44100, >+ VISUAL_AUDIO_SAMPLE_FORMAT_S16, VISUAL_AUDIO_SAMPLE_CHANNEL_STEREO ); > > 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9869
:
1574
| 1601